head 1.13; access; symbols; locks; strict; comment @# @; 1.13 date 2000.08.12.12.01.15; author rse; state Exp; branches; next 1.12; 1.12 date 99.11.30.17.11.58; author rse; state Exp; branches; next 1.11; 1.11 date 99.11.30.16.53.14; author rse; state Exp; branches; next 1.10; 1.10 date 99.11.30.16.52.36; author rse; state Exp; branches; next 1.9; 1.9 date 99.11.30.16.44.13; author rse; state Exp; branches; next 1.8; 1.8 date 99.11.30.16.33.59; author rse; state Exp; branches; next 1.7; 1.7 date 99.11.30.16.26.00; author rse; state Exp; branches; next 1.6; 1.6 date 99.11.30.16.12.26; author rse; state Exp; branches; next 1.5; 1.5 date 99.11.30.16.11.13; author rse; state Exp; branches; next 1.4; 1.4 date 99.11.30.16.07.07; author rse; state Exp; branches; next 1.3; 1.3 date 99.11.30.16.06.49; author rse; state Exp; branches; next 1.2; 1.2 date 99.11.30.15.51.51; author rse; state Exp; branches; next 1.1; 1.1 date 99.11.30.15.51.12; author rse; state Exp; branches; next ; desc @@ 1.13 log @- merge in conflicts of upgrade to ADNS 0.9 - upgrade to GNU shtool 1.5.1 - upgrade to GNU libtool 1.3.5 - replace LIST_ stuff with ADNS_LIST_ to avoid conflicts with FreeBSD @ text @## ## Makefile for ADNS inside OSSP ## Copyright (c) 1999 Ralf S. Engelschall, All Rights Reserved. ## SHELL = /bin/sh CC = @@CC@@ CFLAGS = @@CFLAGS@@ -I. LDFLAGS = @@LDFLAGS@@ -L. LIBS = @@LIBS@@ RM = rm -f SHTOOL = ./shtool LIBTOOL = ./libtool prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ libdir = @@libdir@@ includedir = @@includedir@@ mandir = @@mandir@@ datadir = @@datadir@@ LIB=libadns.la LIB_OBJS=\ adns_check.lo \ adns_event.lo \ adns_general.lo \ adns_parse.lo \ adns_poll.lo \ adns_query.lo \ adns_reply.lo \ adns_setup.lo \ adns_transmit.lo \ adns_types.lo \ adns_tvarith.lo TST=adns_test TST_OBJS=adns_test.o .SUFFIXES: .SUFFIXES: .c .o .lo .c.o: $(CC) -c $(CFLAGS) $< .c.lo: $(LIBTOOL) --mode=compile --quiet $(CC) -c $(CFLAGS) $< all: $(LIB) $(TST) $(LIB): $(LIB_OBJS) $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $(LIB) $(LIB_OBJS) \ -rpath $(libdir) -version-info `$(SHTOOL) version -l txt -d libtool VERSION` $(TST): $(TST_OBJS) $(LIB) $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $(TST) $(TST_OBJS) $(LIB) check: @@echo "Run adns_test manually" install: $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(SHTOOL) mkdir -f -p -m 755 $(includedir) $(SHTOOL) mkdir -f -p -m 755 $(libdir) $(SHTOOL) install -c -m 755 adns-config $(bindir)/adns-config $(SHTOOL) install -c -m 644 adns.h $(includedir)/adns.h @@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libadns.la $(libdir)/libadns.la clean: $(RM) -r .libs $(RM) *.la *.lo *.o $(RM) $(LIB) $(LIB_OBJS) $(RM) $(TST) $(TST_OBJS) distclean: clean $(RM) adns-config $(RM) adns_config.h $(RM) config.log config.cache config.status $(RM) libtool $(RM) Makefile dist: distclean @@$(SHTOOL) fixperm -v .; \ V=`$(SHTOOL) version -l txt -d short VERSION`; \ $(SHTOOL) tarball -o ossp-adns-$${V}.tar.gz -d ossp-adns-$${V} -u ossp -g adns \ -e 'CVS,\.cvsignore,\.[ao],^\.' -c 'gzip --best' . update-tools: @@$(RM) shtool ltmain.sh ltconfig config.guess config.sub @@$(MAKE) $(MFLAGS) shtool ltmain.sh ltconfig config.guess config.sub shtool: @@echo "creating: shtool"; \ shtoolize -q -o shtool echo version mkdir install fixperm tarball ltmain.sh: @@F=`libtoolize -n -c -f | grep 'cp.*ltmain.sh' |\ sed -e 's;[^/]*;;' -e 's; .*;;'`; \ echo "creating: ltmain.sh"; cat $$F |\ sed -e 's:/bin/sh; then:/bin/sh || test ".`echo $$nonopt | grep shtool`" != .;then:' \ -e 's:exec \$$SHELL \$$0 --finish:exit 0 #:' >ltmain.sh ltconfig: @@F=`libtoolize -n -c -f | grep 'cp.*ltconfig' | sed -e 's;[^/]*;;' -e 's; .*;;'`; \ echo "creating: ltconfig"; cat $$F >ltconfig config.guess: @@F=`libtoolize -n -c -f | grep 'cp.*config.guess' | sed -e 's;[^/]*;;' -e 's; .*;;'`; \ echo "creating: config.guess"; cat $$F >config.guess config.sub: @@F=`libtoolize -n -c -f | grep 'cp.*config.sub' | sed -e 's;[^/]*;;' -e 's; .*;;'`; \ echo "creating: config.sub"; cat $$F >config.sub @ 1.12 log @Remove inline stuff @ text @d91 1 a91 1 shtoolize -q -o shtool echo version scpp mkdir install fixperm tarball @ 1.11 log @*** empty log message *** @ text @d34 2 a35 1 adns_types.lo @ 1.10 log @*** empty log message *** @ text @d81 1 a81 1 V=0.6; \ @ 1.9 log @*** empty log message *** @ text @a5 2 ADNS_VERSION = @@ADNS_VERSION@@ d49 2 a50 1 $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $(LIB) $(LIB_OBJS) @ 1.8 log @Add adns-config @ text @d10 2 a11 2 CFLAGS = @@CFLAGS@@ LDFLAGS = @@LDFLAGS@@ d74 1 @ 1.7 log @*** empty log message *** @ text @d6 1 a6 8 SHELL = /bin/sh CC = @@CC@@ CFLAGS = @@CFLAGS@@ LDFLAGS = @@LDFLAGS@@ LIBS = @@LIBS@@ RM = rm -f SHTOOL = ./shtool LIBTOOL = ./libtool d8 16 a23 7 prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ libdir = @@libdir@@ includedir = @@includedir@@ mandir = @@mandir@@ datadir = @@datadir@@ @ 1.6 log @*** empty log message *** @ text @d6 16 a21 8 SHELL = /bin/sh CC = @@CC@@ CFLAGS = @@CFLAGS@@ LDFLAGS = @@LDFLAGS@@ LIBS = @@LIBS@@ RM = rm -f SHTOOL = ./shtool LIBTOOL = ./libtool d56 8 @ 1.5 log @*** empty log message *** @ text @d51 1 @ 1.4 log @*** empty log message *** @ text @d16 1 a16 2 OBJS=\ d28 3 d38 7 a44 1 all: $(LIB) d46 2 a47 2 $(LIB): $(OBJS) $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o $(LIB) $(OBJS) d51 2 a52 2 $(RM) $(OBJS) $(RM) $(LIB) @ 1.3 log @Switch to use GNU libtool @ text @d42 1 a42 1 $(RM) -f .libs @ 1.2 log @*** empty log message *** @ text @d1 4 d6 1 a10 2 AR = @@AR@@ RANLIB = @@RANLIB@@ d15 1 a15 1 LIB=libadns.a d18 10 a27 10 adns_check.o \ adns_event.o \ adns_general.o \ adns_parse.o \ adns_poll.o \ adns_query.o \ adns_reply.o \ adns_setup.o \ adns_transmit.o \ adns_types.o d29 2 d33 2 d39 1 a39 3 $(RM) $(LIB) $(AR) rc $(LIB) $(OBJS) $(RANLIB) $(LIB) d42 1 d46 1 a46 3 distclean: $(RM) $(OBJS) $(RM) $(LIB) d49 1 d58 21 @ 1.1 log @Adjust sources for OSSP source tree layout @ text @d15 10 a24 10 adns_check.o \ adns_event.o \ adns_general.o \ adns_parse.o \ adns_poll.o \ adns_query.o \ adns_reply.o \ adns_setup.o \ adns_transmit.o \ adns_types.o @