Annotation of OpenXM/src/util/Makefile.in, Revision 1.14
1.14 ! takayama 1: # $OpenXM: OpenXM/src/util/Makefile.in,v 1.13 2017/03/10 01:32:50 takayama Exp $
1.2 takayama 2: #OpenXM_ROOT=../../../OpenXM
1.3 ohara 3: prefix=@prefix@
4: exec_prefix=@exec_prefix@
5: bindir=@bindir@
6: libdir=@libdir@
7: includedir=@includedir@
1.1 takayama 8:
9: CC=@CC@
1.14 ! takayama 10: CFLAGS=@CFLAGS@ -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE
1.1 takayama 11: RANLIB=@RANLIB@
12:
1.8 ohara 13: INSTALL = install -c
14:
1.13 takayama 15: BIN = oxweave oxreplace oxgentexi oxgreph oxhtmlhelp oxlistlocalf oxlistusage
1.12 takayama 16: LIB = libox_pathfinder.a mysig.o
1.8 ohara 17:
18: all : all-bin all-lib
19:
20: all-bin: ${BIN}
21: all-lib: ${LIB}
1.1 takayama 22:
1.3 ohara 23: oxweave : oxweave.o
24: ${CC} -o $@ oxweave.o
25:
26: oxreplace : oxreplace.o
27: ${CC} -o $@ oxreplace.o
28:
1.4 takayama 29: oxgentexi : oxgentexi.o
30: ${CC} -o $@ oxgentexi.o
31:
1.5 takayama 32: oxgreph : oxgreph.o
33: ${CC} -o $@ oxgreph.o
34:
1.7 takayama 35: oxhtmlhelp : oxhtmlhelp.o
36: ${CC} -o $@ oxhtmlhelp.o
1.11 takayama 37: oxlistlocalf : oxlistlocalf.o
38: ${CC} -o $@ oxlistlocalf.o
1.13 takayama 39: oxlistlocalf.o: oxlistlocalf.h oxlistlocalf.c
40:
41: oxlistusage : oxlistusage.o
42: ${CC} -o $@ oxlistusage.o
43: oxlistusage.o: oxlistlocalf.h oxlistusage.c
1.7 takayama 44:
1.1 takayama 45: libox_pathfinder.a : ox_pathfinder.o
46: ar ru libox_pathfinder.a ox_pathfinder.o
47: ${RANLIB} libox_pathfinder.a
48:
1.3 ohara 49: ox_pathfinder.o : ox_pathfinder.h
50:
1.12 takayama 51: mysig.o : mysig.c mysig.h
52:
1.3 ohara 53: test: ox_pathfinder.o test.o
54: ${CC} -o $@ test.o ox_pathfinder.o -L${libdir} -lgc
1.1 takayama 55:
1.8 ohara 56: install-bin: all-bin
57: @if [ ! -f ./.install_bin_done ] ; then \
58: echo "Installing" ${BIN} "oxfetch.sh md5.sh" ; \
1.9 takayama 59: ${INSTALL} lndir.sh oxfetch.sh md5.sh oxsetupdotf.sh ${bindir} ; \
1.8 ohara 60: ${INSTALL} -s ${BIN} ${bindir} ; \
61: ${INSTALL} -s oxweave ${prefix}/src/kxx ; \
62: touch ./.install_bin_done ; \
1.1 takayama 63: fi
64:
1.8 ohara 65: install-lib: all-lib
66: @if [ ! -f ./.install_lib_done ] ; then \
1.12 takayama 67: echo "Installing libox_pathfinder.a, ox_pathfinder.h mysig.o mysig.h" ; \
1.8 ohara 68: ${INSTALL} libox_pathfinder.a ${libdir} ; \
69: ${INSTALL} ox_pathfinder.h ${includedir} ; \
1.12 takayama 70: ${INSTALL} mysig.o ${libdir} ; \
71: ${INSTALL} mysig.h ${includedir} ; \
1.8 ohara 72: touch ./.install_lib_done ; \
73: fi
74:
75: install: install-bin install-lib
76:
1.1 takayama 77: clean:
1.10 takayama 78: rm -f .install_*_done *.o ${BIN} ${LIB} test .configure_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>