Merge pull request #1268 from ailin-nemui/nostdinc

configure automake with nostdinc

(cherry picked from commit 95f131da2d741f4ad13c2c045253dc2b80b03f40)
This commit is contained in:
ailin-nemui 2021-02-03 17:46:11 +01:00 committed by Ailin Nemui
parent c72ff03d9c
commit ef124d7378
23 changed files with 24 additions and 1 deletions

View File

@ -5,7 +5,7 @@ AC_PREREQ(2.50)
AC_CONFIG_HEADERS([irssi-config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.9 no-define foreign subdir-objects])
AM_INIT_AUTOMAKE([1.9 no-define foreign subdir-objects nostdinc])
AM_SILENT_RULES([yes])

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libcore.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
$(GLIB_CFLAGS) \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libfe_common_core.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src -I$(top_srcdir)/src/core/ \
$(GLIB_CFLAGS) \
-DHELPDIR=\""$(datadir)/irssi/help"\" \

View File

@ -3,6 +3,7 @@ SUBDIRS = dcc notifylist
noinst_LIBRARIES = libfe_common_irc.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libfe_irc_dcc.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libfe_irc_notifylist.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -6,6 +6,7 @@ bin_PROGRAMS = irssi-fuzz server-fuzz
CCLD=$(CXX) $(CXXFLAGS)
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -4,6 +4,7 @@ bin_PROGRAMS = theme-load-fuzz
CCLD=$(CXX) $(CXXFLAGS)
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -4,6 +4,7 @@ bin_PROGRAMS = event-get-params-fuzz
CCLD=$(CXX) $(CXXFLAGS)
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -1,6 +1,7 @@
bin_PROGRAMS = botti
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -1,6 +1,7 @@
bin_PROGRAMS = irssi
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/fe-common/core/ \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_core.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
-DSYSCONFDIR=\""$(sysconfdir)"\" \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_dcc.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_flood.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirc_notifylist.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -2,6 +2,7 @@ moduledir = $(libdir)/irssi/modules
module_LTLIBRARIES = libirc_proxy.la
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -1,6 +1,7 @@
noinst_LIBRARIES = libirssi_config.a
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
$(GLIB_CFLAGS)

View File

@ -8,6 +8,7 @@ EXTRA_LTLIBRARIES = \
libotr_core_static.la
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/irc/core/ \

View File

@ -15,6 +15,8 @@ perl-core.lo: irssi-core.pl.h
perl-signals.lo: perl-signals-list.h
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
-I$(top_srcdir)/src/fe-common/core \

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=fe-common/core
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
$(GLIB_CFLAGS)

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=fe-text
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
-I$(top_srcdir)/src/fe-common/core \

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=irc/core
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
-DSYSCONFDIR=\""$(sysconfdir)"\" \

View File

@ -3,6 +3,7 @@ include $(top_srcdir)/utils/glib-tap.mk
PACKAGE_STRING=irc/flood
AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
-DSYSCONFDIR=\""$(sysconfdir)"\" \