1 lib_LTLIBRARIES = libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la
3 bin_PROGRAMS = tzplatform-get
5 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_SOURCES = \
29 tzplatform_config.sym \
42 tzplatform_variables.h \
46 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_CFLAGS = -fPIC
48 BUILT_SOURCES=tzplatform-tool $(SRC_FROMTOOL)
50 CLEANFILES=tzplatform-tool $(SRC_FROMTOOL)
52 tzplatform-tool: $(SRC_TOOL)
55 tizen-platform.conf: /etc/tizen-platform.meta tzplatform-tool
56 ./tzplatform-tool pretty $< >$@
58 tzplatform_variables.h: tizen-platform.conf tzplatform-tool
59 ./tzplatform-tool h $< >$@
61 hash.inc: tizen-platform.conf tzplatform-tool
62 ./tzplatform-tool c $< >$@
64 signup.inc: tizen-platform.conf tzplatform-tool
65 ./tzplatform-tool signup $< >$@
67 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS = -version-info $(LIBTZPLATFORM_CONFIG_SO_VERSION)
68 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -Wl,--version-script=tzplatform_config.sym
69 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -Wl,-O3
70 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -lpthread
72 libtzplatform_config_includedir = $(includedir)/
73 nobase_libtzplatform_config_include_HEADERS = tzplatform_variables.h tzplatform_config.h
75 dist_sysconf_DATA=tizen-platform.conf
77 macros.tizen-platform: tizen-platform.conf tzplatform-tool
78 ./tzplatform-tool rpm $< | grep -v TZ_USER_ > $@
80 tzplatform_config_sysconfdir= $(sysconfdir)/rpm
81 dist_tzplatform_config_sysconf_DATA=macros.tizen-platform
83 tzplatform_get_SOURCES = tzplatform_get.c
84 tzplatform_get_LDADD = libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la
85 tzplatform_get_CFLAGS = -fPIE
86 tzplatform_get_LDFLAGS = -pie