X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf%2Funit%2Fgenerate-unit-conf%2FMakefile;h=51cb9c8101957ef3bf4a0fe235437e937e719174;hb=44b1bdc8081f4968e70313463059e1ce77806ce2;hp=562f025e84d3be139f6947fd7ea4cdde0b0e1d47;hpb=6caade489f8bd15dccdde6c69452d920ead2201e;p=src%2Fapp-framework-main.git diff --git a/conf/unit/generate-unit-conf/Makefile b/conf/unit/generate-unit-conf/Makefile index 562f025..51cb9c8 100644 --- a/conf/unit/generate-unit-conf/Makefile +++ b/conf/unit/generate-unit-conf/Makefile @@ -2,24 +2,19 @@ MAIN = afm-unit -FILES = $(MAIN) binder.inc provided-api.inc provided-binding.inc service.inc Makefile +FILES = $(MAIN) $(shell ls *.inc) Makefile DIR = .. -#AFM_CONFIG_DIR ?= /etc/afm -AFM_CONFIG_DIR ?= "@afm_confdir@" - -C = -DAFM_CONFIG_DIR=$(AFM_CONFIG_DIR) - D = -DAGL_DEVEL all: $(DIR)/afm-unit.conf.in $(DIR)/afm-unit-debug.conf.in $(DIR)/afm-unit.conf.in: $(FILES) @echo generating $@ - @m4 $C $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@ + @m4 $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@ $(DIR)/afm-unit-debug.conf.in: $(FILES) @echo generating $@ - @m4 $C $D $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@ + @m4 $D $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@