prepare useful things for policy request parsing.
[apps/pfixtools.git] / Makefile
index bd9fb10..558ab07 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,8 @@ include mk/cflags.mk
 PROGRAMS = postlicyd
 
 postlicyd_SOURCES = \
-               policy.h        \
-               policy.c        \
+               str.h buffer.h policy.h        \
+               str.c buffer.c policy.c        \
                postlicyd.c
 
 postlicyd_LIBADD = -ludns
@@ -50,6 +50,10 @@ clean:
 
 distclean: clean
 
+tags: .tags
+.tags: $(shell git ls-files | egrep '\.[hc]$$')
+       ctags -o $@ $^
+
 headers: HEADACHEOPTS=-c mk/headache.cfg -h COPYING
 headers:
        @which headache > /dev/null || \