Annotation of OpenXM/src/util/Makefile.in, Revision 1.2
1.2 ! takayama 1: # $OpenXM: OpenXM/src/util/Makefile.in,v 1.1 2004/06/14 09:07:32 takayama Exp $
! 2: #OpenXM_ROOT=../../../OpenXM
! 3: OpenXM_ROOT=@prefix@
1.1 takayama 4: OpenXM_bin=$(OpenXM_ROOT)/bin
5: OpenXM_lib=$(OpenXM_ROOT)/lib
6: OpenXM_include=$(OpenXM_ROOT)/include
7:
8: CC=@CC@
9: RANLIB=@RANLIB@
10:
11: all : oxweave oxreplace libox_pathfinder.a
12:
13: oxweave : oxweave.c
14: ${CC} -D_BSD_SOURCE -o oxweave -g oxweave.c
15: rm -f .install_done
16: oxreplace : oxreplace.c
17: ${CC} -D_BSD_SOURCE -o oxreplace -g oxreplace.c
18: rm -f .install_done
19: libox_pathfinder.a : ox_pathfinder.o
20: ar ru libox_pathfinder.a ox_pathfinder.o
21: ${RANLIB} libox_pathfinder.a
22: rm -f .install_done
23: ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h
24: ${CC} -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.c
25:
26: test: ox_pathfinder.o test.c
27: ${CC} -o test -D_BSD_SOURCE -D_POSIX_C_SOURCE test.c ox_pathfinder.o -L${OpenXM_lib} -lgc
28:
29: install: all
30: @if [ ! -f ./.install_done ] ; then \
31: echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \
32: install -c -s oxweave oxreplace ${OpenXM_bin} ; \
33: install -c -s oxweave ${OpenXM_ROOT}/src/kxx ; \
34: cp -f libox_pathfinder.a ${OpenXM_lib} ; \
35: cp -f ox_pathfinder.h ${OpenXM_include} ; \
36: install -c lndir.sh ${OpenXM_bin} ; \
37: install -c oxfetch.sh ${OpenXM_bin} ; \
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>