Annotation of OpenXM/src/util/Makefile.in, Revision 1.3
1.3 ! ohara 1: # $OpenXM: OpenXM/src/util/Makefile.in,v 1.2 2004/06/23 22:49:17 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:
13: all : oxweave oxreplace libox_pathfinder.a
14:
1.3 ! ohara 15: oxweave : oxweave.o
! 16: ${CC} -o $@ oxweave.o
! 17:
! 18: oxreplace : oxreplace.o
! 19: ${CC} -o $@ oxreplace.o
! 20:
1.1 takayama 21: libox_pathfinder.a : ox_pathfinder.o
22: ar ru libox_pathfinder.a ox_pathfinder.o
23: ${RANLIB} libox_pathfinder.a
24:
1.3 ! ohara 25: ox_pathfinder.o : ox_pathfinder.h
! 26:
! 27: test: ox_pathfinder.o test.o
! 28: ${CC} -o $@ test.o ox_pathfinder.o -L${libdir} -lgc
1.1 takayama 29:
30: install: all
31: @if [ ! -f ./.install_done ] ; then \
32: echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \
1.3 ! ohara 33: install -c lndir.sh oxfetch.sh ${bindir} ; \
! 34: install -c -s oxweave oxreplace ${bindir} ; \
! 35: install -c -s oxweave ${prefix}/src/kxx ; \
! 36: install -c libox_pathfinder.a ${libdir} ; \
! 37: install -c ox_pathfinder.h ${includedir} ; \
1.1 takayama 38: touch ./.install_done ; \
39: fi
40:
41: clean:
42: rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a test
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>