Annotation of OpenXM/src/util/Makefile.in, Revision 1.8
1.8 ! ohara 1: # $OpenXM: OpenXM/src/util/Makefile.in,v 1.7 2009/02/22 08:16:43 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:
! 15: BIN = oxweave oxreplace oxgentexi oxgreph oxhtmlhelp
! 16: LIB = libox_pathfinder.a
! 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
37:
1.1 takayama 38: libox_pathfinder.a : ox_pathfinder.o
39: ar ru libox_pathfinder.a ox_pathfinder.o
40: ${RANLIB} libox_pathfinder.a
41:
1.3 ohara 42: ox_pathfinder.o : ox_pathfinder.h
43:
44: test: ox_pathfinder.o test.o
45: ${CC} -o $@ test.o ox_pathfinder.o -L${libdir} -lgc
1.1 takayama 46:
1.8 ! ohara 47: install-bin: all-bin
! 48: @if [ ! -f ./.install_bin_done ] ; then \
! 49: echo "Installing" ${BIN} "oxfetch.sh md5.sh" ; \
! 50: ${INSTALL} lndir.sh oxfetch.sh md5.sh ${bindir} ; \
! 51: ${INSTALL} -s ${BIN} ${bindir} ; \
! 52: ${INSTALL} -s oxweave ${prefix}/src/kxx ; \
! 53: touch ./.install_bin_done ; \
1.1 takayama 54: fi
55:
1.8 ! ohara 56: install-lib: all-lib
! 57: @if [ ! -f ./.install_lib_done ] ; then \
! 58: echo "Installing libox_pathfinder.a, ox_pathfinder.h" ; \
! 59: ${INSTALL} libox_pathfinder.a ${libdir} ; \
! 60: ${INSTALL} ox_pathfinder.h ${includedir} ; \
! 61: touch ./.install_lib_done ; \
! 62: fi
! 63:
! 64: install: install-bin install-lib
! 65:
1.1 takayama 66: clean:
1.8 ! ohara 67: rm -f .install_*_done *.o ${BIN} ${LIB} test
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>