summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2007-10-10 21:50:04 -0500
committerMichael E Brown <michael_e_brown@dell.com>2007-10-10 21:50:04 -0500
commit08b3f399639a422b6fa0d3f3cbe005d13e2115fc (patch)
tree1ee6e5c46e65c2e85b5841070da6c154a5e32845 /Makefile.in
parentcb2d7eec2bef65b30744fcf8b0f324f20914e602 (diff)
downloadmock-08b3f399639a422b6fa0d3f3cbe005d13e2115fc.tar.gz
mock-08b3f399639a422b6fa0d3f3cbe005d13e2115fc.tar.xz
mock-08b3f399639a422b6fa0d3f3cbe005d13e2115fc.zip
fixup CFLAGS for -Wall and -Werror, fix include paths.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in26
1 files changed, 8 insertions, 18 deletions
diff --git a/Makefile.in b/Makefile.in
index e73c474..f960144 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -69,12 +69,10 @@ libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)
src_libselinux_mock_la_LIBADD =
am__dirstamp = $(am__leading_dot)dirstamp
-am_src_libselinux_mock_la_OBJECTS = \
- src/src_libselinux_mock_la-selinux-mock.lo
+am_src_libselinux_mock_la_OBJECTS = src/selinux-mock.lo
src_libselinux_mock_la_OBJECTS = $(am_src_libselinux_mock_la_OBJECTS)
src_libselinux_mock_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
- $(LIBTOOLFLAGS) --mode=link $(CCLD) \
- $(src_libselinux_mock_la_CFLAGS) $(CFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(src_libselinux_mock_la_LDFLAGS) $(LDFLAGS) -o $@
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
@@ -254,10 +252,10 @@ CLEANFILES = mock-*.tar.gz mock-*.tar.bz2 mock-*.rpm _buildtemp \
version $(EXTRA_PROGRAMS)
DISTCLEANFILES = *~
EXTRA_DIST = docs buildsys-build.spec
-AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src -DSYSCONFDIR="$(sysconfdir)" -DLIBEXECDIR="$(libexecdir)" -DLIBDIR="$(libdir)"
+AM_CFLAGS = -Wall -I$(top_srcdir)/src -DSYSCONFDIR="$(sysconfdir)" -DLIBEXECDIR="$(libexecdir)" -DLIBDIR="$(libdir)" -Werror
lib_LTLIBRARIES = src/libselinux-mock.la
src_libselinux_mock_la_LDFLAGS = -version-info $(MOCK_LIBTOOL_CURRENT):$(MOCK_LIBTOOL_REVISION):$(MOCK_LIBTOOL_AGE)
-src_libselinux_mock_la_CFLAGS =
+#src_libselinux_mock_la_CFLAGS =
src_libselinux_mock_la_SOURCES = src/selinux-mock.c
src_mock_SOURCES = src/mock.c
src_mock_LDFLAGS =
@@ -356,8 +354,7 @@ src/$(am__dirstamp):
src/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) src/$(DEPDIR)
@: > src/$(DEPDIR)/$(am__dirstamp)
-src/src_libselinux_mock_la-selinux-mock.lo: src/$(am__dirstamp) \
- src/$(DEPDIR)/$(am__dirstamp)
+src/selinux-mock.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
src/libselinux-mock.la: $(src_libselinux_mock_la_OBJECTS) $(src_libselinux_mock_la_DEPENDENCIES) src/$(am__dirstamp)
$(src_libselinux_mock_la_LINK) -rpath $(libdir) $(src_libselinux_mock_la_OBJECTS) $(src_libselinux_mock_la_LIBADD) $(LIBS)
install-binPROGRAMS: $(bin_PROGRAMS)
@@ -415,14 +412,14 @@ uninstall-dist_libexecSCRIPTS:
mostlyclean-compile:
-rm -f *.$(OBJEXT)
-rm -f src/mock.$(OBJEXT)
- -rm -f src/src_libselinux_mock_la-selinux-mock.$(OBJEXT)
- -rm -f src/src_libselinux_mock_la-selinux-mock.lo
+ -rm -f src/selinux-mock.$(OBJEXT)
+ -rm -f src/selinux-mock.lo
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/mock.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_libselinux_mock_la-selinux-mock.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/selinux-mock.Plo@am__quote@
.c.o:
@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@@ -448,13 +445,6 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
-src/src_libselinux_mock_la-selinux-mock.lo: src/selinux-mock.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_libselinux_mock_la_CFLAGS) $(CFLAGS) -MT src/src_libselinux_mock_la-selinux-mock.lo -MD -MP -MF src/$(DEPDIR)/src_libselinux_mock_la-selinux-mock.Tpo -c -o src/src_libselinux_mock_la-selinux-mock.lo `test -f 'src/selinux-mock.c' || echo '$(srcdir)/'`src/selinux-mock.c
-@am__fastdepCC_TRUE@ mv -f src/$(DEPDIR)/src_libselinux_mock_la-selinux-mock.Tpo src/$(DEPDIR)/src_libselinux_mock_la-selinux-mock.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/selinux-mock.c' object='src/src_libselinux_mock_la-selinux-mock.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_libselinux_mock_la_CFLAGS) $(CFLAGS) -c -o src/src_libselinux_mock_la-selinux-mock.lo `test -f 'src/selinux-mock.c' || echo '$(srcdir)/'`src/selinux-mock.c
-
mostlyclean-libtool:
-rm -f *.lo