-CFLAGS += --std=gnu99 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 $(shell pkg-config --cflags lua5.1)
-
-PROGRAMS = postlicyd
-
-GENERATED = tokens.h tokens.c
-
-postlicyd_SOURCES = \
- str.h buffer.h daemon.h postfix.h \
- str.c buffer.c daemon.c postfix.c \
- postlicyd.c $(GENERATED)
-
-postlicyd_LIBADD = -lpthread $(shell pkg-config --libs lua5.1)
+CLEAN_TARGETS = $(addprefix clean-,$(SUBDIRS))
+DISTCLEAN_TARGETS = $(addprefix distclean-,$(SUBDIRS))
+INSTALL_TARGETS = $(addprefix install-,$(SUBDIRS))