* debian.rules: now creates *.architecture.deb
[findutils.git] / xargs / Makefile.in
blob4d57ef65586de721fd1765f8bbc512e94375355f
1 # Makefile.in generated automatically by automake from Makefile.am.
2 # Copyright (C) 1994 Free Software Foundation, Inc.
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.
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.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
18 SHELL = /bin/sh
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23 prefix = @prefix@
24 exec_prefix = @exec_prefix@
26 bindir = $(exec_prefix)/bin
27 sbindir = $(exec_prefix)/sbin
28 libexecdir = $(exec_prefix)/libexec
29 datadir = $(prefix)/share
30 sysconfdir = $(prefix)/etc
31 sharedstatedir = $(prefix)/com
32 localstatedir = $(prefix)/var
33 libdir = $(exec_prefix)/lib
34 infodir = $(prefix)/info
35 mandir = $(prefix)/man
36 includedir = $(prefix)/include
37 oldincludedir = /usr/include
39 INSTALL = @INSTALL@
40 INSTALL_PROGRAM = @INSTALL_PROGRAM@
41 INSTALL_DATA = @INSTALL_DATA@
42 transform = @program_transform_name@
44 ALL = ${PROGRAMS} ${LIBPROGRAMS} ${SCRIPTS} ${LIBSCRIPTS} ${LIBFILES}
45 CC = @CC@
46 LEX = @LEX@
47 YACC = @YACC@
48 ANSI2KNR = ./ansi2knr
50 DEFS = @DEFS@
51 CPPFLAGS = @CPPFLAGS@
52 CFLAGS = @CFLAGS@
53 LDFLAGS = @LDFLAGS@
54 LIBS = @LIBS@
56 xargs_SOURCES = xargs.c
57 xargs_OBJECTS = xargs.o
58 NROFF = nroff
60 SOURCES = xargs.c
61 DIST_CONF = Makefile.am Makefile.in
62 DIST_FILES = $(DIST_CONF) $(SOURCES) $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER)
64 PROGRAMS = xargs
65 MANS = xargs.1
66 INCLUDES = -I.. -I$(top_srcdir)/lib
67 LDADD = ../find/version.o ../lib/libfind.a
68 CONFIG_HEADER = ../config.h
70 all:: ${ALL}
72 .c.o:
73 $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $<
75 $(xargs_OBJECTS): ../config.h
76 install:: install-programs
78 install-programs: $(PROGRAMS) $(SCRIPTS)
79 $(top_srcdir)/mkinstalldirs $(bindir)
80 for p in $(PROGRAMS) $(SCRIPTS); do \
81 $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
82 done
84 uninstall:: uninstall-programs
86 uninstall-programs:
87 for p in $(PROGRAMS) $(SCRIPTS); do \
88 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
89 done
91 xargs: $(xargs_OBJECTS)
92 $(CC) -o $@ $(xargs_OBJECTS) $(LDADD) $(LDFLAGS) $(LIBS)
94 install:: install-man
96 install-man:
97 for man in $(MANS); do \
98 sect=`echo $$man|sed 's%.*\.\([0-9][a-z]*\)$$%\1%'`; \
99 inst=`basename $$man $$sect|sed '$(transform)'`$$sect; \
100 mdir=$(mandir)/man$$sect; \
101 $(top_srcdir)/mkinstalldirs $$mdir; \
102 echo installing $$man as $$mdir/$$inst; \
103 $(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
104 cdir=$(mandir)/cat$$sect; \
105 if test -d $$cdir; then \
106 echo formatting $$man as $$cdir/$$inst; \
107 $(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
108 fi; \
109 done
111 uninstall:: uninstall-man
113 uninstall-man:
114 for man in $(MANS); do \
115 sect=`echo $$man|sed 's%.*\(\.[0-9][a-z]*\)$$%\1%'; \
116 inst=`basename $$man $sect|sed '$(transform)'`.$$sect; \
117 mdir=$(mandir)/man$$sect; \
118 cdir=$(mandir)/cat$$sect; \
119 rm -f $$mdir/$$inst $$cdir/$$inst; \
120 done
122 mostlyclean:
123 rm -f *.o core
125 clean: mostlyclean
126 rm -f $(PROGRAMS) $(LIBPROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES)
128 distclean: clean
129 rm -f Makefile *.tab.c $(DISTCLEANFILES)
130 rm -f config.cache config.log config.status ${CONFIG_HEADER} stamp-h
132 realclean: distclean
133 rm -f TAGS $(INFOS)
135 dist: $(DIST_FILES) $(DIST_DIRS)
136 -mkdir ../`cat ../distname`/$(subdir)
137 @for file in $(DIST_FILES); do \
138 echo linking $$file; \
139 ln $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file || \
140 { echo copying $$file instead; cp -p $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file;}; \
141 done
143 check dvi info install uninstall::
145 tags:: TAGS
147 TAGS::
148 cd $(srcdir); etags $(SOURCES)
150 # Tell versions [3.59,3.63) of GNU make to not export all variables.
151 # Otherwise a system limit (for SysV at least) may be exceeded.
152 .NOEXPORT:
154 $(PROGRAMS): ../find/version.o ../lib/libfind.a
156 xargs.o: ../lib/wait.h