Annotation of OpenXM/src/phc/Makefile, Revision 1.9
1.9 ! takayama 1: # $OpenXM: OpenXM/src/phc/Makefile,v 1.8 2014/03/29 19:50:31 ohara Exp $
1.1 maekawa 2:
1.7 maekawa 3: OPENXM_CONTRIB=../../../OpenXM_contrib
1.9 ! takayama 4: OpenXM_HOME=../../../OpenXM
1.3 maekawa 5: PROG=phc6
6:
7: SRCS=phc6.c
8:
1.8 ohara 9: #CC=gcc
1.3 maekawa 10: BINDIR=../../bin
11:
12: all: $(PROG)
13: install: all
1.7 maekawa 14: if [ "`uname`" = "OSF1" ]; then \
1.6 noro 15: installbsd -c -s $(PROG) $(BINDIR)/$(PROG) ; \
16: else \
17: install -c -s $(PROG) $(BINDIR)/$(PROG) ; \
18: fi
1.9 ! takayama 19: install-for-debug:
! 20: rm -f ${OpenXM_HOME}/bin/phc6
! 21: (cd ${OpenXM_HOME}/bin ; ln -s ../src/phc/phc6 .)
1.3 maekawa 22: clean:
1.4 maekawa 23: rm -f $(PROG)
1.5 maekawa 24:
25: distclean:
26: rm -f $(BINDIR)/$(PROG)
1.3 maekawa 27:
1.9 ! takayama 28: # -g for lldb
1.3 maekawa 29: $(PROG): $(SRCS)
1.9 ! takayama 30: $(CC) -o $(PROG) -g -I${OpenXM_HOME}/include $(SRCS) -L${OpenXM_HOME}/lib -lgc
1.7 maekawa 31:
32: phcpack:
33: (cd ${OPENXM_CONTRIB}/PHC/Objects/ ; make phc)
34: gzip -c -9 /tmp/phc | uuencode phc.gz > ${BINDIR}/fbsd-phcv2p.gz.uuencoded
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>