summaryrefslogtreecommitdiffstats
path: root/am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-06-14 19:05:07 +0200
committerWerner Koch <wk@gnupg.org>2007-06-14 19:05:07 +0200
commit0cfbfd6186c7b28a355069ebb89b9739908318c6 (patch)
treea1e2990f266ca151fc47f06d41f40bca743eea76 /am
parentSyntax fix - should build now - however not tested. (diff)
downloadgnupg2-0cfbfd6186c7b28a355069ebb89b9739908318c6.tar.xz
gnupg2-0cfbfd6186c7b28a355069ebb89b9739908318c6.zip
A whole bunch of changes to allow building for Windows.
See the ChangeLogs for details.
Diffstat (limited to 'am')
-rw-r--r--am/cmacros.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/am/cmacros.am b/am/cmacros.am
index 7b449e2c0..47538ac19 100644
--- a/am/cmacros.am
+++ b/am/cmacros.am
@@ -30,6 +30,10 @@ AM_CPPFLAGS += -DGNUPG_BINDIR="\"$(bindir)\"" \
-DGNUPG_SYSCONFDIR="\"$(sysconfdir)/@PACKAGE@\""
endif
+
+# If a specific protect tool program has been defined, pass its name
+# to cc. Note that these macros should not be used directly but via
+# the gnupg_module_name function.
if GNUPG_AGENT_PGM
AM_CPPFLAGS += -DGNUPG_DEFAULT_AGENT="\"@GNUPG_AGENT_PGM@\""
endif
@@ -45,3 +49,9 @@ endif
if GNUPG_PROTECT_TOOL_PGM
AM_CPPFLAGS += -DGNUPG_DEFAULT_PROTECT_TOOL="\"@GNUPG_PROTECT_TOOL_PGM@\""
endif
+
+
+# Convenience macros
+libcommon = ../common/libcommon.a
+libcommonpth = ../common/libcommonpth.a
+