]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Added dependencies so "make attrs" will automagically make radattr
authorAlan T. DeKok <aland@freeradius.org>
Mon, 23 May 2011 09:32:44 +0000 (11:32 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 23 May 2011 09:32:44 +0000 (11:32 +0200)
src/tests/Makefile

index 581cda2fea2bc5f95bdf0b869400600dccecf17c..54744d6006d235e3b0dc582544b8c1d8f96070b4 100644 (file)
@@ -108,5 +108,11 @@ leap:
 
 ATTRS  := rfc.txt errors.txt extended.txt lucent.txt wimax.txt
 
-attrs: ${ATTRS}
+attrs: ${ATTRS} ../main/radattr
        ../main/radattr -d ../../share rfc.txt
+
+${LIBRADIUS}: $(wildcard ../include/*.h) $(wildcard ../lib/*.c)
+       ${MAKE} -C ../lib all
+
+../main/radattr: ${LIBRADIUS} ../main/radattr.c
+       ${MAKE} -C ../main radattr