summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Side-by-side diff
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 47a1382..c3dac14 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,8 +1,8 @@
# This file is part of Smap.
-# Copyright (C) 2010, 2014 Sergey Poznyakoff
+# Copyright (C) 2010, 2014, 2019 Sergey Poznyakoff
#
# Smap is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
@@ -40,13 +40,15 @@ SUFFIXES=.opt .c
.opt.c:
m4 -s $(top_srcdir)/src/getopt.m4 $< | sed '1d' > $@
BUILT_SOURCES=cmdline.c smapccmd.c smapd.conf
EXTRA_DIST=cmdline.opt cmdline.c smapccmd.opt smapccmd.c smapd.cfin getopt.m4
AM_CPPFLAGS =\
- -I$(top_srcdir)/include @LTDLINCL@\
+ -I$(top_srcdir)/include\
+ -I$(top_builddir)/include\
+ @LTDLINCL@\
-DSYSCONFDIR=\"$(sysconfdir)\"\
-DSMAP_MODDIR=\"$(SMAP_MODDIR)\"
CLEANFILES = smapd.conf
cmdline.c: cmdline.opt getopt.m4
smapccmd.c: smapccmd.opt getopt.m4

Return to:

Send suggestions and report system problems to the System administrator.