[BACK]Return to Makefile.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / util

File: [local] / OpenXM / src / util / Makefile.in (download)

Revision 1.6, Fri Oct 13 11:51:25 2006 UTC (17 years, 7 months ago) by ohara
Branch: MAIN
CVS Tags: DEB_REL_1_2_3-9
Changes since 1.5: +3 -3 lines

md5.sh is a wrapper script of FreeBSD md5 or GNU md5sum.
Now oxfetch.sh uses md5.sh.

# $OpenXM: OpenXM/src/util/Makefile.in,v 1.6 2006/10/13 11:51:25 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 oxgentexi oxgreph libox_pathfinder.a

oxweave : oxweave.o
	${CC} -o $@ oxweave.o

oxreplace : oxreplace.o
	${CC} -o $@ oxreplace.o

oxgentexi : oxgentexi.o
	${CC} -o $@ oxgentexi.o

oxgreph : oxgreph.o
	${CC} -o $@ oxgreph.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, oxgentexi, oxgreph, 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 ${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 oxgentexi libox_pathfinder.a test oxgreph