From c89ed39fc853fbdbb2c506f10389e22ec5218d7d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Apr 2019 16:26:13 -0400 Subject: Makefile.am: Define OPKG_CERT, USIGN_EMBEDDED, and USIGN --- 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 -- cgit v0.9.1