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