]> Dogcows Code - chaz/tar/blobdiff - lib/Makefile.am
build: new configure option --enable-gcc-warnings
[chaz/tar] / lib / Makefile.am
index a484fcd1d182d4182692bfa927404db30f0f93b2..08e7fd7998445dc4c0ff4c79dda356cc00ed8c6f 100644 (file)
@@ -27,6 +27,7 @@ rmt-command.h : Makefile
 BUILT_SOURCES = rmt-command.h
 CLEANFILES = rmt-command.h rmt-command.h-t
 AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu
+AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
 
 noinst_HEADERS = system.h system-ioctl.h rmt.h paxlib.h stdopen.h xattr-at.h
 libtar_a_SOURCES = \
@@ -44,8 +45,8 @@ attr/xattr.h: attr-xattr.in.h $(top_builddir)/config.status
        $(AM_V_at)$(MKDIR_P) attr
        $(AM_V_GEN)rm -f $@-t $@ && \
         cp $(srcdir)/attr-xattr.in.h attr/xattr.h
-
-MOSTLYCLEANFILES = attr/xattr.h attr/xattr.h
 endif
 
+MOSTLYCLEANFILES = attr/xattr.h
+
 EXTRA_DIST = attr-xattr.in.h
This page took 0.020561 seconds and 4 git commands to generate.