Clarify AM_CPPFLAGS.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2016-01-08 17:05:40 +03:00
parent be158faca6
commit c4258d453b
10 changed files with 18 additions and 13 deletions

View File

@ -52,7 +52,7 @@ if CHARSET
libmc_la_SOURCES += charsets.c charsets.h
endif
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(PCRE_CPPFLAGS)
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
libmc_la_LIBADD = \
event/libmcevent.la \

View File

@ -7,4 +7,4 @@ libmcevent_la_SOURCES = \
manage.c \
raise.c
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CPPFLAGS)
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)

View File

@ -9,4 +9,4 @@ libmcskin_la_SOURCES = \
lines.c \
internal.h
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CPPFLAGS)
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)

View File

@ -22,4 +22,4 @@ libmcwidget_la_SOURCES = \
widget-common.c widget-common.h \
wtools.c wtools.h
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CPPFLAGS)
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)

View File

@ -26,7 +26,7 @@ SUBDIRS += consaver
AM_CPPFLAGS += -DSAVERDIR=\""$(pkglibexecdir)"\"
endif
AM_CPPFLAGS += -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CPPFLAGS)
AM_CPPFLAGS += -I$(top_srcdir) $(GLIB_CFLAGS)
localedir = $(datadir)/locale
pkglibexecdir = $(libexecdir)/@PACKAGE@

View File

@ -6,4 +6,4 @@ libsubshell_la_SOURCES = \
proxyfunc.c \
subshell.h
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CPPFLAGS)
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)

View File

@ -1,5 +1,5 @@
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(LIBSSH_CFLAGS)
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(LIBSSH_CFLAGS) $(PCRE_CPPFLAGS)
noinst_LTLIBRARIES = libvfs-sftpfs.la

View File

@ -4,9 +4,10 @@ AM_CPPFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/lib/search \
@CHECK_CFLAGS@
@CHECK_CFLAGS@ \
@PCRE_CPPFLAGS@
LIBS = @CHECK_LIBS@ $(top_builddir)/lib/libmc.la
LIBS = @CHECK_LIBS@ $(top_builddir)/lib/libmc.la @PCRE_LIBS@
TESTS = \
glob_prepare_replace_str \

View File

@ -4,13 +4,15 @@ AM_CPPFLAGS = \
-DTEST_SHARE_DIR=\"$(abs_srcdir)\" \
$(GLIB_CFLAGS) \
-I$(top_srcdir) \
@CHECK_CFLAGS@
@CHECK_CFLAGS@ \
@PCRE_CPPFLAGS@
AM_LDFLAGS = @TESTS_LDFLAGS@
LIBS=@CHECK_LIBS@ \
$(top_builddir)/src/libinternal.la \
$(top_builddir)/lib/libmc.la
$(top_builddir)/lib/libmc.la \
@PCRE_LIBS@
if ENABLE_VFS_SMB
# this is a hack for linking with own samba library in simple way

View File

@ -5,13 +5,15 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/lib/vfs \
-DTEST_SHARE_DIR=\"$(abs_srcdir)\" \
@CHECK_CFLAGS@
@CHECK_CFLAGS@ \
@PCRE_CPPFLAGS@
AM_LDFLAGS = @TESTS_LDFLAGS@
LIBS=@CHECK_LIBS@ \
$(top_builddir)/src/libinternal.la \
$(top_builddir)/lib/libmc.la
$(top_builddir)/lib/libmc.la \
@PCRE_LIBS@
if ENABLE_VFS_SMB
# this is a hack for linking with own samba library in simple way