]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Make it build using old Make && new jlibtool
authorAlan T. DeKok <aland@freeradius.org>
Wed, 5 Sep 2012 14:44:05 +0000 (16:44 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 5 Sep 2012 16:13:57 +0000 (18:13 +0200)
Makefile

index a53f2d50cda0dba8f1c73779065aa1d83065f79d..ce04c4b2cda74c1be45ec72df4aef9ca7de597a7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,16 @@ all:
 clean:
        @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
        @rm -f *~
+
+ifeq "scripts/jlibtool" "$(JLIBTOOL)"
+all: scripts/jlibtool
+
+scripts/jlibtool: scripts/jlibtool.c
+       $(CC) $^ -o $@
+
+LIBTOOL := $(top_srcdir)/scripts/jlibtool
+endif
+
 endif
 
 .PHONY: tests