Annotation of OpenXM/src/util/Makefile.in, Revision 1.12
1.12 ! takayama 1: # $OpenXM: OpenXM/src/util/Makefile.in,v 1.11 2014/03/25 07:08:25 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.3 ohara 10: CFLAGS=@CFLAGS@ -D_BSD_SOURCE -D_POSIX_C_SOURCE
1.1 takayama 11: RANLIB=@RANLIB@
12:
1.8 ohara 13: INSTALL = install -c
14:
1.11 takayama 15: BIN = oxweave oxreplace oxgentexi oxgreph oxhtmlhelp oxlistlocalf
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
39: oxlistlocalf.o: oxlistlocalf.h
1.7 takayama 40:
1.1 takayama 41: libox_pathfinder.a : ox_pathfinder.o
42: ar ru libox_pathfinder.a ox_pathfinder.o
43: ${RANLIB} libox_pathfinder.a
44:
1.3 ohara 45: ox_pathfinder.o : ox_pathfinder.h
46:
1.12 ! takayama 47: mysig.o : mysig.c mysig.h
! 48:
1.3 ohara 49: test: ox_pathfinder.o test.o
50: ${CC} -o $@ test.o ox_pathfinder.o -L${libdir} -lgc
1.1 takayama 51:
1.8 ohara 52: install-bin: all-bin
53: @if [ ! -f ./.install_bin_done ] ; then \
54: echo "Installing" ${BIN} "oxfetch.sh md5.sh" ; \
1.9 takayama 55: ${INSTALL} lndir.sh oxfetch.sh md5.sh oxsetupdotf.sh ${bindir} ; \
1.8 ohara 56: ${INSTALL} -s ${BIN} ${bindir} ; \
57: ${INSTALL} -s oxweave ${prefix}/src/kxx ; \
58: touch ./.install_bin_done ; \
1.1 takayama 59: fi
60:
1.8 ohara 61: install-lib: all-lib
62: @if [ ! -f ./.install_lib_done ] ; then \
1.12 ! takayama 63: echo "Installing libox_pathfinder.a, ox_pathfinder.h mysig.o mysig.h" ; \
1.8 ohara 64: ${INSTALL} libox_pathfinder.a ${libdir} ; \
65: ${INSTALL} ox_pathfinder.h ${includedir} ; \
1.12 ! takayama 66: ${INSTALL} mysig.o ${libdir} ; \
! 67: ${INSTALL} mysig.h ${includedir} ; \
1.8 ohara 68: touch ./.install_lib_done ; \
69: fi
70:
71: install: install-bin install-lib
72:
1.1 takayama 73: clean:
1.10 takayama 74: rm -f .install_*_done *.o ${BIN} ${LIB} test .configure_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>