1# This file is part of GNU cpio
2# Copyright (C) 2003-2004, 2007, 2009-2010, 2014-2015, 2017 Free
3# Software Foundation, Inc.
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3, or (at your option)
8# any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18# 02110-1301 USA.
19
20AM_CPPFLAGS=-I. -I.. -I$(top_srcdir)/gnu -I$(top_builddir)/gnu  -I$(top_srcdir)/lib -I$(top_builddir)/lib
21
22bin_PROGRAMS=cpio $(CPIO_MT)
23if CPIO_MT_COND
24  CPIO_MT=mt
25endif
26
27EXTRA_PROGRAMS=mt
28
29cpio_SOURCES = \
30 copyin.c\
31 copyout.c\
32 copypass.c\
33 defer.c\
34 dstring.c\
35 global.c\
36 fatal.c\
37 main.c\
38 tar.c\
39 util.c\
40 filemode.c\
41 idcache.c\
42 makepath.c\
43 userspec.c
44
45noinst_HEADERS =\
46 cpio.h\
47 cpiohdr.h\
48 tar.h\
49 tarhdr.h\
50 defer.h\
51 dstring.h\
52 extern.h\
53 filetypes.h\
54 safe-stat.h
55
56LDADD=../lib/libpax.a ../gnu/libgnu.a @INTLLIBS@
57
58