[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.4, Mon Apr 4 12:38:32 2005 UTC (19 years, 1 month ago) by takayama
Branch: MAIN
CVS Tags: KNOPPIX_2006
Changes since 1.3: +8 -5 lines

Added new options
  --title, --author
begin: key|
  input passed to texinfo
end:
key is used to sort items.

# $OpenXM: OpenXM/src/util/Makefile.in,v 1.4 2005/04/04 12:38:32 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 libox_pathfinder.a

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

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

oxgentexi : oxgentexi.o
	${CC} -o $@ oxgentexi.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 libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \
	install -c lndir.sh oxfetch.sh ${bindir} ; \
	install -c -s oxweave oxreplace oxgentexi ${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