diff options
author | Gilles Chehade <gilles@poolp.org> | 2020-01-09 00:05:25 +0100 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2020-01-09 00:05:25 +0100 |
commit | 6a8010e943d215b72fca3a0e2aa68acb3b45e31f (patch) | |
tree | dea6b07ed27103e4f55b58278d2e6c8be8fda77c /mk | |
parent | Merge branch 'master' into portable (diff) | |
download | OpenSMTPD-6a8010e943d215b72fca3a0e2aa68acb3b45e31f.tar.xz OpenSMTPD-6a8010e943d215b72fca3a0e2aa68acb3b45e31f.zip |
work in progress
Diffstat (limited to 'mk')
-rw-r--r-- | mk/smtpctl/Makefile.am | 4 | ||||
-rw-r--r-- | mk/smtpd/Makefile.am | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mk/smtpctl/Makefile.am b/mk/smtpctl/Makefile.am index 8b14b6bd..6564742b 100644 --- a/mk/smtpctl/Makefile.am +++ b/mk/smtpctl/Makefile.am @@ -69,6 +69,10 @@ PATHSUBS= -e 's|/var/run/smtpd.sock|$(sockdir)/smtpd.sock|g' \ FIXPATHSCMD= $(SED) $(PATHSUBS) +if NEED_LIBASR +AM_CPPFLAGS+= -I$(top_srcdir)/openbsd-compat/libasr +LIBCOMPAT+= $(top_builddir)/openbsd-compat/libasr/libasr.a +endif $(MANPAGES): $(MANPAGES_IN) manpage=$(smtpd_srcdir)/`echo $@ | sed 's/\.out$$//'`; \ diff --git a/mk/smtpd/Makefile.am b/mk/smtpd/Makefile.am index 1bbaba6d..99be86e6 100644 --- a/mk/smtpd/Makefile.am +++ b/mk/smtpd/Makefile.am @@ -100,6 +100,10 @@ AM_CPPFLAGS += -I$(top_srcdir)/openbsd-compat/paths_h endif LIBCOMPAT= $(top_builddir)/openbsd-compat/libopenbsd.a +if NEED_LIBASR +AM_CPPFLAGS+= -I$(top_srcdir)/openbsd-compat/libasr +LIBCOMPAT+= $(top_builddir)/openbsd-compat/libasr/libasr.a +endif LDADD= $(LIBCOMPAT) $(DB_LIB) $(ASR_LIB) |