VPATH stuff works
[gnupg.git] / tools / Makefile.in
1 # Makefile.in generated automatically by automake 1.0 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
6
7
8 SHELL = /bin/sh
9
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
28
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32
33 top_builddir = ..
34
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39 transform = @program_transform_name@
40
41 INCLUDES = -I$(top_srcdir)/include
42
43 noinst_PROGRAMS = mpicalc bftest
44
45 mpicalc_SOURCES = mpicalc.c
46
47 bftest_SOURCES = bftest.c
48
49 LDADD = -L ../cipher -L ../mpi -L ../util -L ../cipher  \
50         -lmpi -lutil -lmpi -lutil -lcipher
51 mkinstalldirs = $(top_srcdir)/scripts/mkinstalldirs
52 CONFIG_HEADER = ../config.h
53 PROGRAMS = $(noinst_PROGRAMS)
54
55
56 CC = @CC@
57 LEX = @LEX@
58 YACC = @YACC@
59
60 DEFS = @DEFS@ -I. -I$(srcdir) -I..
61 CPPFLAGS = @CPPFLAGS@
62 CFLAGS = @CFLAGS@
63 LDFLAGS = @LDFLAGS@
64 LIBS = @LIBS@
65
66 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
67 LINK = $(CC) $(LDFLAGS) -o $@
68 mpicalc_OBJECTS = mpicalc.o
69 EXTRA_mpicalc_SOURCES =
70 mpicalc_LDADD = $(LDADD)
71 bftest_OBJECTS = bftest.o
72 EXTRA_bftest_SOURCES =
73 bftest_LDADD = $(LDADD)
74 DIST_COMMON = Makefile.am Makefile.in
75
76
77 PACKAGE = @PACKAGE@
78 VERSION = @VERSION@
79
80 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
81         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
82 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
83         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
84
85 TAR = tar
86 DEP_FILES = $(srcdir)/.deps/bftest.P $(srcdir)/.deps/mpicalc.P
87 SOURCES = $(mpicalc_SOURCES) $(bftest_SOURCES)
88 OBJECTS = $(mpicalc_OBJECTS) $(bftest_OBJECTS)
89
90 default: all
91
92
93 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
94         cd $(top_srcdir) && automake $(subdir)/Makefile
95
96 Makefile: $(top_builddir)/config.status Makefile.in
97         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
98
99 mostlyclean-noinstPROGRAMS:
100
101 clean-noinstPROGRAMS:
102         rm -f $(noinst_PROGRAMS)
103
104 distclean-noinstPROGRAMS:
105
106 maintainer-clean-noinstPROGRAMS:
107
108 .c.o:
109         $(COMPILE) $<
110
111 mostlyclean-compile:
112         rm -f *.o core
113
114 clean-compile:
115
116 distclean-compile:
117         rm -f *.tab.c
118
119 maintainer-clean-compile:
120 $(mpicalc_OBJECTS): ../config.h
121
122 mpicalc: $(mpicalc_OBJECTS) $(mpicalc_DEPENDENCIES)
123         $(LINK) $(mpicalc_OBJECTS) $(mpicalc_LDADD) $(LIBS)
124 $(bftest_OBJECTS): ../config.h
125
126 bftest: $(bftest_OBJECTS) $(bftest_DEPENDENCIES)
127         $(LINK) $(bftest_OBJECTS) $(bftest_LDADD) $(LIBS)
128
129 ID: $(HEADERS) $(SOURCES)
130         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
131
132 tags: TAGS
133
134 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
135         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
136
137 mostlyclean-tags:
138
139 clean-tags:
140
141 distclean-tags:
142         rm -f TAGS ID
143
144 maintainer-clean-tags:
145
146 subdir = tools
147 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
148 distdir: $(DEP_DISTFILES)
149         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
150           test -f $(distdir)/$$file \
151           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
152           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
153         done
154
155 # This fragment is probably only useful for maintainers.  It relies on
156 # GNU make and gcc.  It is only included in the generated Makefile.in
157 # if `automake' is not passed the `--include-deps' flag.
158
159 MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
160
161 -include $(srcdir)/.deps/.P
162 $(srcdir)/.deps/.P: $(BUILT_SOURCES)
163         cd $(srcdir) && test -d .deps || mkdir .deps
164         echo > $@
165
166 -include $(DEP_FILES)
167 $(DEP_FILES): $(srcdir)/.deps/.P
168
169 $(srcdir)/.deps/%.P: $(srcdir)/%.c
170         @echo "mkdeps $< > $@"
171         @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
172           $(MKDEP) $< | sed "$$re" > $@-tmp
173         @if test -n "$o"; then                  \
174           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
175           rm $@-tmp;                            \
176         else                                    \
177           mv $@-tmp $@;                         \
178         fi
179
180 # End of maintainer-only section
181 info:
182
183 dvi:
184
185 check: all
186
187 installcheck:
188
189 install-exec: 
190
191 install-data: 
192
193 install: install-exec install-data all
194         @:
195
196 uninstall: 
197
198 all: $(PROGRAMS) Makefile
199
200 install-strip:
201         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
202 installdirs:
203
204
205 mostlyclean-generic:
206         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
207
208 clean-generic:
209         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
210
211 distclean-generic:
212         rm -f Makefile $(DISTCLEANFILES)
213         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
214
215 maintainer-clean-generic:
216         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
217         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
218 mostlyclean:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
219                 mostlyclean-tags mostlyclean-generic
220
221 clean:  clean-noinstPROGRAMS clean-compile clean-tags clean-generic \
222                 mostlyclean 
223
224 distclean:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
225                 distclean-generic clean 
226         rm -f config.status
227
228 maintainer-clean:  maintainer-clean-noinstPROGRAMS \
229                 maintainer-clean-compile maintainer-clean-tags \
230                 maintainer-clean-generic distclean 
231         @echo "This command is intended for maintainers to use;"
232         @echo "it deletes files that may require special tools to rebuild."
233
234 .PHONY: default mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
235 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
236 mostlyclean-compile distclean-compile clean-compile \
237 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
238 clean-tags maintainer-clean-tags distdir info dvi check installcheck \
239 install-exec install-data install uninstall all installdirs \
240 mostlyclean-generic distclean-generic clean-generic \
241 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
242
243
244 $(PROGRAMS): ../mpi/libmpi.a ../cipher/libcipher.a
245 .SUFFIXES:
246 .SUFFIXES: .c .o
247
248 # Tell versions [3.59,3.63) of GNU make to not export all variables.
249 # Otherwise a system limit (for SysV at least) may be exceeded.
250 .NOEXPORT: