aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2013-11-05 10:42:00 +0100
committerGilles Chehade <gilles@poolp.org>2013-11-05 10:42:00 +0100
commit6be53b60b838cb49c51ef4a390c5d64df2b8d5db (patch)
tree0f2018ef4ee4c558d16faec222cd06d994e91a07 /contrib
parentallow --with-pic / --without-pic (diff)
downloadOpenSMTPD-6be53b60b838cb49c51ef4a390c5d64df2b8d5db.tar.xz
OpenSMTPD-6be53b60b838cb49c51ef4a390c5d64df2b8d5db.zip
cleanup warnings
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libexec/encrypt/Makefile.am11
-rw-r--r--contrib/libexec/mail.local/Makefile.am8
2 files changed, 11 insertions, 8 deletions
diff --git a/contrib/libexec/encrypt/Makefile.am b/contrib/libexec/encrypt/Makefile.am
index d20e11ef..c1d8e1cb 100644
--- a/contrib/libexec/encrypt/Makefile.am
+++ b/contrib/libexec/encrypt/Makefile.am
@@ -1,12 +1,13 @@
-pkglibexec_PROGRAMS = encrypt
+pkglibexec_PROGRAMS = encrypt
-encrypt_SOURCES = encrypt.c $(top_srcdir)/smtpd/log.c
+encrypt_SOURCES = encrypt.c
+encrypt_SOURCES += $(top_srcdir)/smtpd/log.c
-INCLUDES = -I$(top_srcdir)/openbsd-compat
+AM_CPPFLAGS = -I$(top_srcdir)/openbsd-compat
-LIBCOMPAT = $(top_builddir)/openbsd-compat/libopenbsd-compat.a
+LIBCOMPAT = $(top_builddir)/openbsd-compat/libopenbsd-compat.a
-LDADD = $(LIBCOMPAT)
+LDADD = $(LIBCOMPAT)
uninstall-hook:
rmdir $(DESTDIR)$(pkglibexecdir) 2> /dev/null || /bin/true
diff --git a/contrib/libexec/mail.local/Makefile.am b/contrib/libexec/mail.local/Makefile.am
index 8b70e45c..d15f59ec 100644
--- a/contrib/libexec/mail.local/Makefile.am
+++ b/contrib/libexec/mail.local/Makefile.am
@@ -1,10 +1,12 @@
pkglibexec_PROGRAMS = mail.local
-mail_local_SOURCES = mail.local.c locking.c $(top_srcdir)/smtpd/log.c
+mail_local_SOURCES = mail.local.c
+mail_local_SOURCES += locking.c
+mail_local_SOURCES += $(top_srcdir)/smtpd/log.c
EXTRA_DIST = mail.local.h pathnames.h
-INCLUDES = -I$(top_srcdir)/openbsd-compat
+AM_CPPFLAGS = -I$(top_srcdir)/openbsd-compat
LIBCOMPAT = $(top_builddir)/openbsd-compat/libopenbsd-compat.a
@@ -14,7 +16,7 @@ LDADD = $(LIBCOMPAT)
# EAI_NODATA defined
# {v,}asprintf
# setres{g,u}id
-CFLAGS += -D_GNU_SOURCE
+#CFLAGS += -D_GNU_SOURCE
uninstall-hook:
rmdir $(DESTDIR)$(pkglibexecdir) 2> /dev/null || /bin/true