From 91d9bcf074d993e5679dd298c0dfd23c2489f66d Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Tue, 4 Feb 2014 14:10:14 +0100 Subject: [PATCH] Makefiles are now compatible with Sun Make. Solaris port works. --- Makefile.in | 3 ++- src/Makefile.in | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 22cfc154..a51113d3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -28,7 +28,7 @@ uninstall: cd src && $(MAKE) $@ cd doc && $(MAKE) $@ -doc: +doc: FORCE cd doc && $(MAKE) $@ example: @@ -104,3 +104,4 @@ configure.status: configure ./config.status --recheck .PHONY: all distclean clean default doc test +FORCE: diff --git a/src/Makefile.in b/src/Makefile.in index e2bb952a..34e232e2 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -35,8 +35,8 @@ LDFLAGS=@LDFLAGS@ @LIBS@ EXTENSION_LIBEVENT_OBJ=@EXTENSION_LIBEVENT_OBJ@ GETDNS_OBJ=sync.lo context.lo list.lo dict.lo convert.lo general.lo \ hostname.lo service.lo request-internal.lo validate_dnssec.lo \ - util-internal.lo getdns_error.lo rr-dict.lo validation-chain.lo -GETDNS_OBJ+=$(EXTENSION_LIBEVENT_OBJ) + util-internal.lo getdns_error.lo rr-dict.lo validation-chain.lo \ + $(EXTENSION_LIBEVENT_OBJ) .SUFFIXES: .c .o .a .lo .h @@ -66,10 +66,10 @@ uninstall: libgetdns.la: $(GETDNS_OBJ) $(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) -o $@ $(GETDNS_OBJ) $(LDFLAGS) -rpath $(libdir) -version-info $(libversion) -no-undefined -test: +test: FORCE cd test && $(MAKE) $@ -example: +example: FORCE cd example && $(MAKE) $@ clean: @@ -113,4 +113,5 @@ Makefile: Makefile.in ../config.status configure.status: configure cd .. && ./config.status --recheck -.PHONY: clean test +.PHONY: clean test example +FORCE: