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 \
31 tzplatform_config_private.h \
32 tzplatform_config_public.h \
44 tzplatform_variables.h \
48 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_CFLAGS = -fPIC
50 BUILT_SOURCES=tzplatform-tool $(SRC_FROMTOOL)
52 CLEANFILES=tzplatform-tool $(SRC_FROMTOOL)
54 tzplatform-tool: $(SRC_TOOL)
57 tizen-platform.conf: /etc/tizen-platform.meta tzplatform-tool
58 ./tzplatform-tool pretty $< >$@
60 tzplatform_variables.h: tizen-platform.conf tzplatform-tool
61 ./tzplatform-tool h $< >$@
63 hash.inc: tizen-platform.conf tzplatform-tool
64 ./tzplatform-tool c $< >$@
66 signup.inc: tizen-platform.conf tzplatform-tool
67 ./tzplatform-tool signup $< >$@
69 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS = -version-info $(LIBTZPLATFORM_CONFIG_SO_VERSION)
70 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -Wl,--version-script=tzplatform_config.sym
71 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -Wl,-O3
72 libtzplatform_config_@LIBTZPLATFORM_CONFIG_VERSION@_la_LDFLAGS += -lpthread
74 libtzplatform_config_includedir = $(includedir)/
75 nobase_libtzplatform_config_include_HEADERS = tzplatform_variables.h tzplatform_config.h tzplatform_config_private.h tzplatform_config_public.h
77 dist_sysconf_DATA=tizen-platform.conf
79 macros.tizen-platform: tizen-platform.conf tzplatform-tool
80 ./tzplatform-tool rpm $< | grep -v TZ_USER_ > $@
82 tzplatform_config_sysconfdir= $(sysconfdir)/rpm
83 dist_tzplatform_config_sysconf_DATA=macros.tizen-platform
85 tzplatform_get_SOURCES = tzplatform_get.c
86 tzplatform_get_LDADD = libtzplatform-config-@LIBTZPLATFORM_CONFIG_VERSION@.la
87 tzplatform_get_CFLAGS = -fPIE
88 tzplatform_get_LDFLAGS = -pie