=================================================================== RCS file: /home/cvs/OpenXM/src/util/Makefile.in,v retrieving revision 1.7 retrieving revision 1.12 diff -u -p -r1.7 -r1.12 --- OpenXM/src/util/Makefile.in 2009/02/22 08:16:43 1.7 +++ OpenXM/src/util/Makefile.in 2016/03/31 05:27:33 1.12 @@ -1,4 +1,4 @@ -# $OpenXM: OpenXM/src/util/Makefile.in,v 1.6 2006/10/13 11:51:25 ohara Exp $ +# $OpenXM: OpenXM/src/util/Makefile.in,v 1.11 2014/03/25 07:08:25 takayama Exp $ #OpenXM_ROOT=../../../OpenXM prefix=@prefix@ exec_prefix=@exec_prefix@ @@ -10,8 +10,16 @@ CC=@CC@ CFLAGS=@CFLAGS@ -D_BSD_SOURCE -D_POSIX_C_SOURCE RANLIB=@RANLIB@ -all : oxweave oxreplace oxgentexi oxgreph libox_pathfinder.a oxhtmlhelp +INSTALL = install -c +BIN = oxweave oxreplace oxgentexi oxgreph oxhtmlhelp oxlistlocalf +LIB = libox_pathfinder.a mysig.o + +all : all-bin all-lib + +all-bin: ${BIN} +all-lib: ${LIB} + oxweave : oxweave.o ${CC} -o $@ oxweave.o @@ -26,6 +34,9 @@ oxgreph : oxgreph.o oxhtmlhelp : oxhtmlhelp.o ${CC} -o $@ oxhtmlhelp.o +oxlistlocalf : oxlistlocalf.o + ${CC} -o $@ oxlistlocalf.o +oxlistlocalf.o: oxlistlocalf.h libox_pathfinder.a : ox_pathfinder.o ar ru libox_pathfinder.a ox_pathfinder.o @@ -33,19 +44,31 @@ libox_pathfinder.a : ox_pathfinder.o ox_pathfinder.o : ox_pathfinder.h +mysig.o : mysig.c mysig.h + test: ox_pathfinder.o test.o ${CC} -o $@ test.o ox_pathfinder.o -L${libdir} -lgc -install: all - @if [ ! -f ./.install_done ] ; then \ - echo "Installing oxweave, oxreplace, oxgentexi, oxgreph, oxhtmlhelp libox_pathfinder.a, ox_pathfinder.h oxfetch.sh md5.sh" ; \ - install -c lndir.sh oxfetch.sh md5.sh ${bindir} ; \ - install -c -s oxweave oxreplace oxgentexi oxgreph oxhtmlhelp ${bindir} ; \ - install -c -s oxweave ${prefix}/src/kxx ; \ - install -c libox_pathfinder.a ${libdir} ; \ - install -c ox_pathfinder.h ${includedir} ; \ - touch ./.install_done ; \ +install-bin: all-bin + @if [ ! -f ./.install_bin_done ] ; then \ + echo "Installing" ${BIN} "oxfetch.sh md5.sh" ; \ + ${INSTALL} lndir.sh oxfetch.sh md5.sh oxsetupdotf.sh ${bindir} ; \ + ${INSTALL} -s ${BIN} ${bindir} ; \ + ${INSTALL} -s oxweave ${prefix}/src/kxx ; \ + touch ./.install_bin_done ; \ fi +install-lib: all-lib + @if [ ! -f ./.install_lib_done ] ; then \ + echo "Installing libox_pathfinder.a, ox_pathfinder.h mysig.o mysig.h" ; \ + ${INSTALL} libox_pathfinder.a ${libdir} ; \ + ${INSTALL} ox_pathfinder.h ${includedir} ; \ + ${INSTALL} mysig.o ${libdir} ; \ + ${INSTALL} mysig.h ${includedir} ; \ + touch ./.install_lib_done ; \ + fi + +install: install-bin install-lib + clean: - rm -f .install_done *.o oxweave oxreplace oxgentexi libox_pathfinder.a test oxgreph + rm -f .install_*_done *.o ${BIN} ${LIB} test .configure_done