]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/Makefile.am
automake: don't use INCLUDES, it's AM_CPPFLAGS nowadays
[ngircd.git] / src / ngircd / Makefile.am
index e96d14bee835d7a73246bc1a709b13eb5f4792e8..b40913500c614e95c26dd0be4679f816ebdef651 100644 (file)
@@ -11,7 +11,7 @@
 
 AUTOMAKE_OPTIONS = ../portab/ansi2knr
 
-INCLUDES = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
+AM_CPPFLAGS = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
 
 LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN \
  -varuse -retvalother -emptyret -unrecog
@@ -24,6 +24,7 @@ ngircd_SOURCES = \
        channel.c \
        class.c \
        client.c \
+       client-cap.c \
        conf.c \
        conn.c \
        conn-func.c \
@@ -32,6 +33,7 @@ ngircd_SOURCES = \
        hash.c \
        io.c \
        irc.c \
+       irc-cap.c \
        irc-channel.c \
        irc-info.c \
        irc-login.c \
@@ -62,6 +64,7 @@ noinst_HEADERS = \
        channel.h \
        class.h \
        client.h \
+       client-cap.h \
        conf.h \
        conf-ssl.h \
        conn.h \
@@ -72,6 +75,7 @@ noinst_HEADERS = \
        hash.h \
        io.h \
        irc.h \
+       irc-cap.h \
        irc-channel.h \
        irc-info.h \
        irc-login.h \
@@ -116,7 +120,7 @@ lint:
        for f in *.c; do \
         echo "checking $$f ..."; \
         splint $$f $(LINTARGS) -I$(srcdir) -I$(srcdir)/.. \
-         $(INCLUDES) $(AM_CFLAGS) >lint.out 2>&1; \
+         $(AM_CPPFLAGS) $(AM_CFLAGS) >lint.out 2>&1; \
         grep "no warnings" lint.out > /dev/null 2>&1; \
         if [ $$? -ne 0 ]; then \
          waswarning=1; \