fix makefile, also drop libudns, we will likely use libanl
authorPierre Habouzit <madcoder@debian.org>
Thu, 26 Apr 2007 15:16:25 +0000 (17:16 +0200)
committerPierre Habouzit <madcoder@debian.org>
Thu, 26 Apr 2007 15:16:25 +0000 (17:16 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Makefile

index bf0c2e5..19b5920 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ postlicyd_SOURCES = \
                str.c buffer.c job.c postfix.c         \
                postlicyd.c
 
-postlicyd_LIBADD = -ludns
+postlicyd_LIBADD = -lanl
 
 # RULES ###################################################################{{{
 
@@ -71,6 +71,6 @@ headers:
 $(PROGRAMS): $$(patsubst %.c,.%.o,$$($$@_SOURCES)) Makefile
        $(CC) -o $@ $(CFLAGS) $(filter %.o,$^) $(LDFLAGS) $($@_LIBADD) $(filter %.a,$^)
 
--include $(foreach p,$(PROGRAMS),$(patsubst %.c,.%.d,$(filter %.c,$p_SOURCES)))
+-include $(foreach p,$(PROGRAMS),$(patsubst %.c,.%.d,$(filter %.c,$($p_SOURCES))))
 
 ###########################################################################}}}