summaryrefslogtreecommitdiff
path: root/bpfc
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-30 14:15:58 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-30 14:15:58 +0200
commitae55f524c92aadfae2a94947002c978d80320f32 (patch)
tree61c6ad518c3b818e57f1f85858bec963c99810ad /bpfc
parent27842082e09359b3b7f5eed59ab21a0a06c5b1d2 (diff)
build: reduce Extra contents to bare minimum
Improve the build system, so that configuration files are installed per tool basis. Also, introduce post_install targets, so that config files can be altered in some way, e.g. done by trafgen. Moreover, move custom targets from Extra to tool-specific Makefiles. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'bpfc')
-rw-r--r--bpfc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/bpfc/Makefile b/bpfc/Makefile
index 483980d..5c8b8c9 100644
--- a/bpfc/Makefile
+++ b/bpfc/Makefile
@@ -12,3 +12,8 @@ bpfc-lex = bpf_lexer.yy.o
bpfc-yaac = bpf_parser.tab.o
bpfc-eflags = -I..
+
+bpfc-confs =
+
+bpfc_clean_custom:
+ $(Q)$(call RM,$(BUILD_DIR)/*.h $(BUILD_DIR)/*.c)