version 1.3, 2004/12/14 17:39:20 |
version 1.10, 2013/11/06 00:28:09 |
|
|
# $OpenXM: OpenXM/src/util/Makefile.in,v 1.2 2004/06/23 22:49:17 takayama Exp $ |
# $OpenXM: OpenXM/src/util/Makefile.in,v 1.9 2009/02/24 10:21:52 takayama Exp $ |
#OpenXM_ROOT=../../../OpenXM |
#OpenXM_ROOT=../../../OpenXM |
prefix=@prefix@ |
prefix=@prefix@ |
exec_prefix=@exec_prefix@ |
exec_prefix=@exec_prefix@ |
|
|
CFLAGS=@CFLAGS@ -D_BSD_SOURCE -D_POSIX_C_SOURCE |
CFLAGS=@CFLAGS@ -D_BSD_SOURCE -D_POSIX_C_SOURCE |
RANLIB=@RANLIB@ |
RANLIB=@RANLIB@ |
|
|
all : oxweave oxreplace libox_pathfinder.a |
INSTALL = install -c |
|
|
|
BIN = oxweave oxreplace oxgentexi oxgreph oxhtmlhelp |
|
LIB = libox_pathfinder.a |
|
|
|
all : all-bin all-lib |
|
|
|
all-bin: ${BIN} |
|
all-lib: ${LIB} |
|
|
oxweave : oxweave.o |
oxweave : oxweave.o |
${CC} -o $@ oxweave.o |
${CC} -o $@ oxweave.o |
|
|
oxreplace : oxreplace.o |
oxreplace : oxreplace.o |
${CC} -o $@ oxreplace.o |
${CC} -o $@ oxreplace.o |
|
|
|
oxgentexi : oxgentexi.o |
|
${CC} -o $@ oxgentexi.o |
|
|
|
oxgreph : oxgreph.o |
|
${CC} -o $@ oxgreph.o |
|
|
|
oxhtmlhelp : oxhtmlhelp.o |
|
${CC} -o $@ oxhtmlhelp.o |
|
|
libox_pathfinder.a : ox_pathfinder.o |
libox_pathfinder.a : ox_pathfinder.o |
ar ru libox_pathfinder.a ox_pathfinder.o |
ar ru libox_pathfinder.a ox_pathfinder.o |
${RANLIB} libox_pathfinder.a |
${RANLIB} libox_pathfinder.a |
Line 27 ox_pathfinder.o : ox_pathfinder.h |
|
Line 44 ox_pathfinder.o : ox_pathfinder.h |
|
test: ox_pathfinder.o test.o |
test: ox_pathfinder.o test.o |
${CC} -o $@ test.o ox_pathfinder.o -L${libdir} -lgc |
${CC} -o $@ test.o ox_pathfinder.o -L${libdir} -lgc |
|
|
install: all |
install-bin: all-bin |
@if [ ! -f ./.install_done ] ; then \ |
@if [ ! -f ./.install_bin_done ] ; then \ |
echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \ |
echo "Installing" ${BIN} "oxfetch.sh md5.sh" ; \ |
install -c lndir.sh oxfetch.sh ${bindir} ; \ |
${INSTALL} lndir.sh oxfetch.sh md5.sh oxsetupdotf.sh ${bindir} ; \ |
install -c -s oxweave oxreplace ${bindir} ; \ |
${INSTALL} -s ${BIN} ${bindir} ; \ |
install -c -s oxweave ${prefix}/src/kxx ; \ |
${INSTALL} -s oxweave ${prefix}/src/kxx ; \ |
install -c libox_pathfinder.a ${libdir} ; \ |
touch ./.install_bin_done ; \ |
install -c ox_pathfinder.h ${includedir} ; \ |
|
touch ./.install_done ; \ |
|
fi |
fi |
|
|
|
install-lib: all-lib |
|
@if [ ! -f ./.install_lib_done ] ; then \ |
|
echo "Installing libox_pathfinder.a, ox_pathfinder.h" ; \ |
|
${INSTALL} libox_pathfinder.a ${libdir} ; \ |
|
${INSTALL} ox_pathfinder.h ${includedir} ; \ |
|
touch ./.install_lib_done ; \ |
|
fi |
|
|
|
install: install-bin install-lib |
|
|
clean: |
clean: |
rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a test |
rm -f .install_*_done *.o ${BIN} ${LIB} test .configure_done |