[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.7, Sun Feb 22 08:16:43 2009 UTC (15 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.6: +7 -4 lines

Preliminary version of oxhtmlhelp, which shows help files.

# $OpenXM: OpenXM/src/util/Makefile.in,v 1.7 2009/02/22 08:16:43 takayama 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 oxhtmlhelp

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

oxhtmlhelp : oxhtmlhelp.o
	${CC} -o $@ oxhtmlhelp.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, 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 ; \
	fi

clean:
	rm -f .install_done *.o oxweave oxreplace oxgentexi libox_pathfinder.a test oxgreph