Debian Codegraph @

src/Makefile.am

raw
1 # Makefile for GNU tar sources.
2
3 # Copyright 1994-2023 Free Software Foundation, Inc.
4
5 # This file is part of GNU tar.
6
7 # GNU tar is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11
12 # GNU tar is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 bin_PROGRAMS = tar
21
22 noinst_HEADERS = arith.h common.h tar.h xattrs.h
23 tar_SOURCES = \
24 buffer.c\
25 checkpoint.c\
26 compare.c\
27 create.c\
28 delete.c\
29 exit.c\
30 exclist.c\
31 extract.c\
32 xheader.c\
33 incremen.c\
34 list.c\
35 map.c\
36 misc.c\
37 names.c\
38 sparse.c\
39 suffix.c\
40 system.c\
41 tar.c\
42 transform.c\
43 unlink.c\
44 update.c\
45 utf8.c\
46 warning.c\
47 xattrs.c
48
49 AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu -I$(top_srcdir)/lib -I../lib
50 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
51
52 tar_LDADD = $(LIBS) ../lib/libtar.a ../gnu/libgnu.a\
53 $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)\
54 $(LIB_GETRANDOM) $(LIB_HARD_LOCALE) $(FILE_HAS_ACL_LIB) $(LIB_MBRTOWC)\
55 $(LIB_SELINUX) $(LIB_SETLOCALE_NULL)