]> Dogcows Code - chaz/tar/blob - lib/Makefile.am
maint: update copyrights for 2013 and as per current GNU standards
[chaz/tar] / lib / Makefile.am
1 # Makefile for GNU tar library. -*- Makefile -*-
2
3 # Copyright 1994-1997, 1999-2001, 2003-2007, 2009-2010, 2013 Free
4 # Software Foundation, Inc.
5
6 # This file is part of GNU tar.
7
8 # GNU tar is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
12
13 # GNU tar is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 noinst_LIBRARIES=libtar.a
22 rmt-command.h : Makefile
23 $(AM_V_GEN)rm -f $@-t $@
24 $(AM_V_at)echo "#ifndef DEFAULT_RMT_COMMAND" >> $@-t
25 $(AM_V_at)echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo rmt | sed '$(transform)'`$(EXEEXT)\"" >> $@-t
26 $(AM_V_at)echo "#endif" >> $@-t
27 $(AM_V_at)mv $@-t $@
28 BUILT_SOURCES = rmt-command.h
29 CLEANFILES = rmt-command.h rmt-command.h-t
30 AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu
31 AM_CFLAGS = $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS)
32
33 noinst_HEADERS = system.h system-ioctl.h rmt.h paxlib.h stdopen.h xattr-at.h
34 libtar_a_SOURCES = \
35 paxerror.c paxexit-status.c paxlib.h paxnames.c \
36 prepargs.c prepargs.h \
37 rtapelib.c \
38 rmt.h \
39 stdopen.c stdopen.h \
40 system.h system-ioctl.h \
41 xattr-at.c
42
43 if !TAR_COND_XATTR_H
44 BUILT_SOURCES += attr/xattr.h
45 attr/xattr.h: attr-xattr.in.h $(top_builddir)/config.status
46 $(AM_V_at)$(MKDIR_P) attr
47 $(AM_V_GEN)rm -f $@-t $@ && \
48 cp $(srcdir)/attr-xattr.in.h attr/xattr.h
49 endif
50
51 MOSTLYCLEANFILES = attr/xattr.h
52
53 EXTRA_DIST = attr-xattr.in.h
This page took 0.037664 seconds and 5 git commands to generate.