mirror of https://github.com/getdnsapi/getdns.git
Makefiles are now compatible with Sun Make. Solaris port works.
This commit is contained in:
parent
fb8001cdc2
commit
91d9bcf074
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue