]> Dogcows Code - chaz/tar/blob - src/Makefile.am
GNU tar 1.12
[chaz/tar] / src / Makefile.am
1 # Makefile for GNU tar sources.
2 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
3
4 # This program 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 2, or (at your option)
7 # any later version.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17 # 02111-1307, USA.
18
19 AUTOMAKE_OPTIONS = gnits ansi2knr
20 bin_PROGRAMS = tar
21 libexec_PROGRAMS = @RMT@
22 EXTRA_PROGRAMS = rmt
23
24 noinst_HEADERS = arith.h common.h rmt.h system.h tar.h
25 rmt_SOURCES = rmt.c
26 tar_SOURCES = arith.c buffer.c compare.c create.c delete.c extract.c \
27 incremen.c list.c mangle.c misc.c names.c open3.c rtapelib.c tar.c update.c
28
29 INCLUDES = -I../intl -I$(top_srcdir)/lib
30 LDADD = ../lib/libtar.a @INTLLIBS@
31 localedir = $(prefix)/@DATADIRNAME@/locale
32
33 tar.o: tar.c
34 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/tar.c
35
36 tar._o: tar._c
37 @rm -f _tar.c
38 @ln tar._c _tar.c
39 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _tar.c
40 @mv _tar.o $@
41 @rm _tar.c
42
43 rmt.o: rmt.c
44 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/rmt.c
45
46 rmt._o: rmt._c
47 @rm -f _rmt.c
48 @ln rmt._c _rmt.c
49 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _rmt.c
50 @mv _rmt.o $@
51 @rm _rmt.c
This page took 0.03862 seconds and 5 git commands to generate.