Makefile.am 1.4 KB

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