mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Clarify usage of AM_CPPFLAGS.
Use AM_CPPFLAGS not AM_CFLAGS for includes. GLIB_CFLAGS are CPPFLAGS, actually. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d557ade7f6
commit
a8030670b7
@ -7,4 +7,4 @@ libmcconfig_la_SOURCES = \
|
||||
set.c \
|
||||
paths.c
|
||||
|
||||
AM_CFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)
|
||||
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)
|
||||
|
@ -8,4 +8,4 @@ libmcstrutil_la_SOURCES = \
|
||||
strutilutf8.c \
|
||||
strverscmp.c
|
||||
|
||||
AM_CFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
@ -22,11 +22,11 @@ TTY_SRC = \
|
||||
|
||||
libmctty_la_SOURCES = $(TTY_SRC) $(TTY_SCREEN_SRC)
|
||||
|
||||
AM_CFLAGS = -I$(top_srcdir)
|
||||
AM_CPPFLAGS = -I$(top_srcdir)
|
||||
|
||||
if HAVE_GMODULE
|
||||
AM_CFLAGS += $(GMODULE_CFLAGS)
|
||||
AM_CPPFLAGS += $(GMODULE_CFLAGS)
|
||||
else
|
||||
AM_CFLAGS += $(GLIB_CFLAGS)
|
||||
AM_CPPFLAGS += $(GLIB_CFLAGS)
|
||||
endif
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
noinst_LTLIBRARIES = libmcvfs.la
|
||||
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libmcvfs_la_SOURCES = \
|
||||
direntry.c \
|
||||
|
@ -4,4 +4,4 @@ pkglibexec_PROGRAMS = cons.saver
|
||||
|
||||
cons_saver_SOURCES = cons.saver.c
|
||||
|
||||
AM_CFLAGS= -I$(top_srcdir)
|
||||
AM_CPPFLAGS = -I$(top_srcdir)
|
||||
|
@ -1,6 +1,6 @@
|
||||
noinst_LTLIBRARIES = libmc-vfs.la
|
||||
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
libmc_vfs_la_SOURCES = plugins_init.c plugins_init.h
|
||||
|
||||
SUBDIRS = local
|
||||
|
@ -1,4 +1,5 @@
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-cpio.la
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
SUBDIRS = helpers
|
||||
DIST_SUBDIRS = helpers
|
||||
|
||||
AM_CPPFLAGS = -DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\"
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
AM_CPPFLAGS = \
|
||||
-DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\" \
|
||||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-extfs.la
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
SUBDIRS = helpers
|
||||
DIST_SUBDIRS = helpers
|
||||
|
||||
AM_CPPFLAGS = -DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\"
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
AM_CPPFLAGS = \
|
||||
-DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\" \
|
||||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-fish.la
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-ftpfs.la
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-local.la
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-sfs.la
|
||||
|
||||
|
@ -2,8 +2,10 @@ DIST_SUBDIRS =
|
||||
|
||||
SUBDIRS = helpers
|
||||
|
||||
AM_CPPFLAGS = -DCONFIGDIR=\""@smbconfigdir@"\"
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
AM_CPPFLAGS = \
|
||||
-DCONFIGDIR=\""@smbconfigdir@"\" \
|
||||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-smbfs.la
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-tar.la
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
noinst_LTLIBRARIES = libvfs-undelfs.la
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
SUBDIRS = . mcconfig search vfs
|
||||
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) @CHECK_CFLAGS@
|
||||
LIBS=@CHECK_LIBS@ $(top_builddir)/lib/libmc.la
|
||||
AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) @CHECK_CFLAGS@
|
||||
|
||||
LIBS = @CHECK_LIBS@ $(top_builddir)/lib/libmc.la
|
||||
|
||||
TESTS = \
|
||||
library_independ \
|
||||
|
@ -1,6 +1,9 @@
|
||||
|
||||
AM_CPPFLAGS = -DWORKDIR=\"$(abs_builddir)\"
|
||||
AM_CFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) @CHECK_CFLAGS@
|
||||
AM_CPPFLAGS = \
|
||||
-DWORKDIR=\"$(abs_builddir)\" \
|
||||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
@CHECK_CFLAGS@
|
||||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
|
@ -1,5 +1,11 @@
|
||||
AM_CFLAGS = -I$(top_srcdir)/lib/search $(GLIB_CFLAGS) -I$(top_srcdir) @CHECK_CFLAGS@
|
||||
LIBS=@CHECK_LIBS@ $(top_builddir)/lib/libmc.la
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/lib/search \
|
||||
@CHECK_CFLAGS@
|
||||
|
||||
LIBS = @CHECK_LIBS@ $(top_builddir)/lib/libmc.la
|
||||
|
||||
TESTS = \
|
||||
regex_replace_esc_seq \
|
||||
|
@ -1,6 +1,10 @@
|
||||
|
||||
AM_CPPFLAGS = -DTEST_SHARE_DIR=\"$(abs_srcdir)\"
|
||||
AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib/vfs $(GLIB_CFLAGS) @CHECK_CFLAGS@
|
||||
AM_CPPFLAGS = \
|
||||
-DTEST_SHARE_DIR=\"$(abs_srcdir)\" \
|
||||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/lib/vfs \
|
||||
@CHECK_CFLAGS@
|
||||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
|
@ -1,4 +1,9 @@
|
||||
AM_CFLAGS = -I$(top_srcdir)/lib/vfs $(GLIB_CFLAGS) -I$(top_srcdir) @CHECK_CFLAGS@
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/lib/vfs \
|
||||
@CHECK_CFLAGS@
|
||||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user