]> Dogcows Code - chaz/tar/blob - lib/Makefile.am
3cbd0608d496486a8a0455cf01433867c07a9459
[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 = \
34 paxlib.h\
35 rmt.h\
36 stdopen.h\
37 system.h\
38 system-ioctl.h\
39 wordsplit.h\
40 xattr-at.h
41
42 libtar_a_SOURCES = \
43 paxerror.c paxexit-status.c paxlib.h paxnames.c \
44 prepargs.c prepargs.h \
45 rtapelib.c \
46 rmt.h \
47 stdopen.c stdopen.h \
48 system.h system-ioctl.h \
49 wordsplit.c\
50 xattr-at.c
51
52 if !TAR_COND_XATTR_H
53 BUILT_SOURCES += attr/xattr.h
54 attr/xattr.h: attr-xattr.in.h $(top_builddir)/config.status
55 $(AM_V_at)$(MKDIR_P) attr
56 $(AM_V_GEN)rm -f $@-t $@ && \
57 cp $(srcdir)/attr-xattr.in.h attr/xattr.h
58 endif
59
60 MOSTLYCLEANFILES = attr/xattr.h
61
62 EXTRA_DIST = attr-xattr.in.h
This page took 0.034027 seconds and 3 git commands to generate.