* acinclude.m4 (GNUPG_PTH_VERSION_CHECK): Accidently used
[gnupg.git] / sm / Makefile.am
index 6345573..d4f9725 100644 (file)
 
 ## Process this file with automake to produce Makefile.in
 
-localedir = $(datadir)/locale
-INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
 
 bin_PROGRAMS = gpgsm
 
-AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/intl \
-              $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(KSBA_CFLAGS)
+AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(KSBA_CFLAGS)
+
+AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/intl 
+include $(top_srcdir)/am/cmacros.am
+
 
 gpgsm_SOURCES = \
        gpgsm.c gpgsm.h \
@@ -50,6 +51,9 @@ gpgsm_SOURCES = \
        certreqgen.c 
 
 
-gpgsm_LDADD = ../jnlib/libjnlib.a ../kbx/libkeybox.a ../common/libcommon.a \
-               $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(KSBA_LIBS) -lgpg-error \
-               @INTLLIBS@
+gpgsm_LDADD = ../jnlib/libjnlib.a ../kbx/libkeybox.a   \
+              ../common/libcommon.a \
+              $(LIBGCRYPT_LIBS)  $(KSBA_LIBS) $(LIBASSUAN_LIBS) -lgpg-error \
+             $(LIBINTL) $(PTH_LIBS)
+
+