]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
renamed compiletest to linktest
authorJelte Jansen <jeltejan@NLnetLabs.nl>
Wed, 15 Mar 2006 08:14:09 +0000 (08:14 +0000)
committerJelte Jansen <jeltejan@NLnetLabs.nl>
Wed, 15 Mar 2006 08:14:09 +0000 (08:14 +0000)
replaced -lldns with $(LDFLAGS) for correct linking with any optional libraries like ssl

Makefile.in
linktest.c [moved from compiletest.c with 100% similarity]

index fcae7bc0608e5a7029cbe5a6145edd17edc40e05..9e64af6a0b17248afba534708fe7a5233c1076c0 100644 (file)
@@ -76,11 +76,11 @@ LINK_LIB    = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -release $(VERSION)
 .PHONY: install-h uninstall-h install-lib uninstall-lib 
 .PHONY: confdrill tools-drill
 
-all:           lib compiletest
+all:           lib linktest
 
-compiletest:
-               gcc $(srcdir)/compiletest.c -Iinclude .libs/libldns.a -lldns -o compiletest
-               rm compiletest
+linktest:
+               gcc $(srcdir)/linktest.c -Iinclude .libs/libldns.a $(LDFLAGS) -o linktest
+               rm linktest
 
 ./drill/Makefile:
                ( $(INSTALL) -d drill ; cd drill ; ../$(srcdir)/drill/configure --prefix=$(prefix) --bindir=$(bindir) --mandir=$(mandir) LDFLAGS="-L../.libs" CPPFLAGS="-I.. -I../..")
similarity index 100%
rename from compiletest.c
rename to linktest.c