Skip to content

Commit

Permalink
Merge pull request #17 from wking/includes-to-am-cppflags
Browse files Browse the repository at this point in the history
*/Makefile.am: Replace INCLUDES with AM_CPPFLAGS
  • Loading branch information
hallyn committed Dec 7, 2016
2 parents d7ce943 + c073976 commit 9e93c98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libmisc/Makefile.am
@@ -1,7 +1,7 @@

EXTRA_DIST = .indent.pro xgetXXbyYY.c

INCLUDES = -I$(top_srcdir)/lib
AM_CPPFLAGS = -I$(top_srcdir)/lib

noinst_LIBRARIES = libmisc.a

Expand Down
6 changes: 3 additions & 3 deletions src/Makefile.am
Expand Up @@ -7,9 +7,10 @@ usbindir = ${prefix}/sbin
suidperms = 4755
sgidperms = 2755

INCLUDES = \
AM_CPPFLAGS = \
-I${top_srcdir}/lib \
-I$(top_srcdir)/libmisc
-I$(top_srcdir)/libmisc \
-DLOCALEDIR=\"$(datadir)/locale\"

# XXX why are login and su in /bin anyway (other than for
# historical reasons)?
Expand Down Expand Up @@ -69,7 +70,6 @@ LDADD = $(INTLLIBS) \
$(LIBTCB) \
$(top_builddir)/libmisc/libmisc.a \
$(top_builddir)/lib/libshadow.la
AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\"

if ACCT_TOOLS_SETUID
LIBPAM_SUID = $(LIBPAM)
Expand Down

0 comments on commit 9e93c98

Please sign in to comment.