summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7e666da..2840306 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,7 +45,17 @@ prokit_SOURCES =
prokit_SHPPFLAGS = \
-DPKGDATADIR="$(pkgdatadir)" \
-DLOCALEDIR="$(localedir)" \
- -DTEXTDOMAIN="$(TEXTDOMAIN)"
+ -DTEXTDOMAIN="$(TEXTDOMAIN)" \
+ -DOPKG_CERT="$(pkglibexecdir)/opkg-cert"
+if EMBEDDED_USIGN
+pro_archman_SHPPFLAGS += \
+ -DUSIGN_EMBEDDED=true \
+ -DUSIGN="$(pkglibexecdir)/usign$(EXEEXT)"
+else
+pro_archman_SHPPFLAGS += \
+ -DUSIGN_EMBEDDED=false \
+ -DUSIGN="$(USIGN)"
+endif
prokit_LDADD = $(prokit_SOURCES:.sh=.sho)
EXTRA_prokit_DEPENDENCIES = config.sh