1 lib_LTLIBRARIES = libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la
3 bin_PROGRAMS = tzplatform-get
5 SRC_FROMWRAPPER_STATIC= \
10 SRC_FROMWRAPPER_SHARED= \
31 tzplatform_config.sym \
34 SRC_FROMWRAPPER=$(SRC_FROMWRAPPER_SHARED) $(SRC_FROMWRAPPER_STATIC)
45 tzplatform_variables.h \
49 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_CFLAGS = -fPIC
51 BUILT_SOURCES=tzplatform-tool $(SRC_FROMTOOL)
53 CLEANFILES=tzplatform-tool $(SRC_FROMTOOL)
55 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_SOURCES = \
59 tzplatform-tool: $(SRC_TOOL)
62 tizen-platform.conf: /etc/tizen-platform.meta tzplatform-tool
63 ./tzplatform-tool pretty $< >$@
65 tzplatform_variables.h: tizen-platform.conf tzplatform-tool
66 ./tzplatform-tool h $< >$@
68 hash.inc: tizen-platform.conf tzplatform-tool
69 ./tzplatform-tool c $< >$@
71 signup.inc: tizen-platform.conf tzplatform-tool
72 ./tzplatform-tool signup $< >$@
74 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS = -version-info $(LIBTZPLATFORM_CONFIG_SO_VERSION)
75 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -Wl,--version-script=tzplatform_config.sym
76 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -Wl,-O3
77 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -lpthread
79 libtzplatform_config_includedir = $(includedir)/
80 nobase_libtzplatform_config_include_HEADERS = tzplatform_variables.h tzplatform_config.h
82 dist_sysconf_DATA=tizen-platform.conf
84 macros.tizen-platform: tizen-platform.conf tzplatform-tool
85 ./tzplatform-tool rpm $< | grep -v TZ_USER_ > $@
87 tzplatform_config_sysconfdir= $(sysconfdir)/rpm
88 dist_tzplatform_config_sysconf_DATA=macros.tizen-platform
90 tzplatform_get_SOURCES = tzplatform_get.c
91 tzplatform_get_LDADD = libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la