From ae55f524c92aadfae2a94947002c978d80320f32 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 30 Jul 2013 14:15:58 +0200 Subject: 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 --- Extra | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'Extra') diff --git a/Extra b/Extra index 27a3c55..12d4a2a 100644 --- a/Extra +++ b/Extra @@ -2,19 +2,3 @@ curvetun: LDFLAGS += -L ${CONFIG_NACL_LIB_DIR} mausezahn: CFLAGS = $(mausezahn-eflags) - -bpfc_clean_custom: - $(Q)$(call RM,$(BUILD_DIR)/*.h $(BUILD_DIR)/*.c) - -trafgen_clean_custom: - $(Q)$(call RM,$(BUILD_DIR)/*.h $(BUILD_DIR)/*.c) - -netsniff-ng_install_custom flowtop_install_custom: - $(Q)$(foreach file,$(NCONF_FILES),$(call INST,$(file),$(ETCDIRE));) - -trafgen_install_custom: - $(Q)$(call INST,trafgen_stddef.h,$(ETCDIRE)) - $(Q)mv $(ETCDIRE)/trafgen_stddef.h $(ETCDIRE)/stddef.h - -astraceroute_install_custom: - $(Q)$(call INST,geoip.conf,$(ETCDIRE)) -- cgit v1.2.3-54-g00ecf