File: [local] / OpenXM / src / util / Makefile.in (download)
Revision 1.3, Tue Dec 14 17:39:20 2004 UTC (19 years, 9 months ago) by ohara
Branch: MAIN
CVS Tags: RELEASE_1_2_3 Changes since 1.2: +22 -22
lines
Macro names replaced.
|
# $OpenXM: OpenXM/src/util/Makefile.in,v 1.3 2004/12/14 17:39:20 ohara Exp $
#OpenXM_ROOT=../../../OpenXM
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
libdir=@libdir@
includedir=@includedir@
CC=@CC@
CFLAGS=@CFLAGS@ -D_BSD_SOURCE -D_POSIX_C_SOURCE
RANLIB=@RANLIB@
all : oxweave oxreplace libox_pathfinder.a
oxweave : oxweave.o
${CC} -o $@ oxweave.o
oxreplace : oxreplace.o
${CC} -o $@ oxreplace.o
libox_pathfinder.a : ox_pathfinder.o
ar ru libox_pathfinder.a ox_pathfinder.o
${RANLIB} libox_pathfinder.a
ox_pathfinder.o : ox_pathfinder.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, libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \
install -c lndir.sh oxfetch.sh ${bindir} ; \
install -c -s oxweave oxreplace ${bindir} ; \
install -c -s oxweave ${prefix}/src/kxx ; \
install -c libox_pathfinder.a ${libdir} ; \
install -c ox_pathfinder.h ${includedir} ; \
touch ./.install_done ; \
fi
clean:
rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a test