19 wgtpkg-permissions.c \
38 AM_CFLAGS = -Wall -Wno-pointer-sign
39 AM_CFLAGS += -ffunction-sections -fdata-sections
42 fwk_confdir = $(sysconfdir)/$(fwk_name)
43 fwk_datadir = $(datadir)/$(fwk_name)
44 fwk_appdir = $(fwk_datadir)/applications
45 fwk_icondir = $(fwk_datadir)/icons
47 fwk_prefix_permission = $(fwk_prefix)perm:
48 fwk_prefix_plugin = $(fwk_prefix)plugin:
49 fwk_user_appdir = app-data
50 wgtpkg_trusted_cert_dir = $(fwk_confdir)/certs
52 AM_CFLAGS += -DFWK_CONFIG_DIR=\"$(fwk_confdir)\"
53 AM_CFLAGS += -DFWK_PREFIX_PERMISSION=\"$(fwk_prefix_permission)\"
54 AM_CFLAGS += -DFWK_PREFIX_PLUGIN=\"$(fwk_prefix_plugin)\"
55 AM_CFLAGS += -DFWK_ICON_DIR=\"$(fwk_icondir)\"
56 AM_CFLAGS += -DFWK_APP_DIR=\"$(fwk_appdir)\"
57 AM_CFLAGS += -DFWK_USER_APP_DIR=\"$(fwk_user_appdir)\"
59 AM_CFLAGS += -DWGTPKG_TRUSTED_CERT_DIR=\"$(wgtpkg_trusted_cert_dir)\"
61 AM_LDFLAGS = -Wl,--gc-sections
79 # remove (or comment) following line to really use simulated components
80 AM_CFLAGS += -Isimulation
83 wgtpkg_sign_SOURCES = wgtpkg-sign.c ${WGTPKGSRCS} ${OTHERSRCS}
85 wgtpkg_pack_SOURCES = wgtpkg-pack.c ${WGTPKGSRCS} ${OTHERSRCS}
87 wgtpkg_installer_SOURCES = wgtpkg-installer.c ${WGTPKGSRCS} ${WGTSRCS} ${SECWRP} ${OTHERSRCS}
89 wgtpkg_info_SOURCES = wgtpkg-info.c ${WGTPKGSRCS} ${WGTSRCS} ${OTHERSRCS}
91 af_usrd_SOURCES = af-usrd.c ${APPFWK} ${WGTSRCS} ${OTHERSRCS} ${SECWRP}