]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blob - Makefile.omk
Update transaction API
[frescor/frsh-include.git] / Makefile.omk
1 include_HEADERS := $(notdir $(wildcard $(SOURCES_DIR)/*.h))
2
3 ifeq ($(CONFIG_FRSH_FORB),y)
4 UNWANTED_HEADERS += frsh_opaque_types.h
5 endif
6 UNWANTED_HEADERS += frsh_configuration_parameters.h
7 include_HEADERS := $(filter-out $(UNWANTED_HEADERS),$(include_HEADERS))
8
9 default_CONFIG := $(shell grep '^\#define FRSH' $(SOURCES_DIR)/frsh_configuration_parameters.h|sed -e 's/\#define \([^ ]*\) *\(.*\)/\1=\2/' -e 's/ //g' -e 's|//.*||' -e 's|/\*.*\*/||g')
10
11 config_include_HEADERS = frsh_configuration_parameters.h
12 frsh_configuration_parameters_DEFINES := $(shell echo '$(default_CONFIG)' | sed -e 's/\([^=]*\)=[^ ]*/\1/g')