changed configuration stuff, replaced some Makefile.am by distfiles.
[gnupg.git] / g10 / 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 EXTRA_DIST = OPTIONS
43
44 bin_PROGRAMS = g10
45
46 g10_SOURCES = g10.c             \
47               build-packet.c    \
48               compress.c        \
49               encode.c          \
50               encr-data.c       \
51               filter.h          \
52               free-packet.c     \
53               getkey.c          \
54               keydb.h           \
55               ringedit.c        \
56               kbnode.c          \
57               keygen.c          \
58               main.h            \
59               mainproc.c        \
60               armor.c           \
61               mdfilter.c        \
62               textfilter.c      \
63               cipher.c          \
64               options.h         \
65               openfile.c        \
66               keyid.c           \
67               packet.h          \
68               parse-packet.c    \
69               passphrase.c      \
70               plaintext.c       \
71               pubkey-enc.c      \
72               seckey-cert.c     \
73               seskey.c          \
74               sign.c            \
75               comment.c         \
76               sig-check.c
77
78 LDADD = -L ../cipher -L ../mpi -L ../util -lcipher -lmpi -lutil
79 mkinstalldirs = $(top_srcdir)/scripts/mkinstalldirs
80 CONFIG_HEADER = ../config.h
81 PROGRAMS = $(bin_PROGRAMS)
82
83
84 CC = @CC@
85 LEX = @LEX@
86 YACC = @YACC@
87
88 DEFS = @DEFS@ -I. -I$(srcdir) -I..
89 CPPFLAGS = @CPPFLAGS@
90 CFLAGS = @CFLAGS@
91 LDFLAGS = @LDFLAGS@
92 LIBS = @LIBS@
93
94 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
95 LINK = $(CC) $(LDFLAGS) -o $@
96 g10_OBJECTS = g10.o build-packet.o compress.o encode.o encr-data.o \
97 free-packet.o getkey.o ringedit.o kbnode.o keygen.o mainproc.o armor.o \
98 mdfilter.o textfilter.o cipher.o openfile.o keyid.o parse-packet.o \
99 passphrase.o plaintext.o pubkey-enc.o seckey-cert.o seskey.o sign.o \
100 comment.o sig-check.o
101 EXTRA_g10_SOURCES =
102 g10_LDADD = $(LDADD)
103 DIST_COMMON = Makefile.am Makefile.in
104
105
106 PACKAGE = @PACKAGE@
107 VERSION = @VERSION@
108
109 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
110         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
111 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
112         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
113
114 TAR = tar
115 DEP_FILES = $(srcdir)/.deps/armor.P $(srcdir)/.deps/build-packet.P \
116 $(srcdir)/.deps/cipher.P $(srcdir)/.deps/comment.P \
117 $(srcdir)/.deps/compress.P $(srcdir)/.deps/encode.P \
118 $(srcdir)/.deps/encr-data.P $(srcdir)/.deps/free-packet.P \
119 $(srcdir)/.deps/g10.P $(srcdir)/.deps/getkey.P $(srcdir)/.deps/kbnode.P \
120 $(srcdir)/.deps/keygen.P $(srcdir)/.deps/keyid.P \
121 $(srcdir)/.deps/mainproc.P $(srcdir)/.deps/mdfilter.P \
122 $(srcdir)/.deps/openfile.P $(srcdir)/.deps/parse-packet.P \
123 $(srcdir)/.deps/passphrase.P $(srcdir)/.deps/plaintext.P \
124 $(srcdir)/.deps/pubkey-enc.P $(srcdir)/.deps/ringedit.P \
125 $(srcdir)/.deps/seckey-cert.P $(srcdir)/.deps/seskey.P \
126 $(srcdir)/.deps/sig-check.P $(srcdir)/.deps/sign.P \
127 $(srcdir)/.deps/textfilter.P
128 SOURCES = $(g10_SOURCES)
129 OBJECTS = $(g10_OBJECTS)
130
131 default: all
132
133
134 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
135         cd $(top_srcdir) && automake $(subdir)/Makefile
136
137 Makefile: $(top_builddir)/config.status Makefile.in
138         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
139
140 mostlyclean-binPROGRAMS:
141
142 clean-binPROGRAMS:
143         rm -f $(bin_PROGRAMS)
144
145 distclean-binPROGRAMS:
146
147 maintainer-clean-binPROGRAMS:
148
149 install-binPROGRAMS: $(bin_PROGRAMS)
150         $(mkinstalldirs) $(bindir)
151         list="$(bin_PROGRAMS)"; for p in $$list; do \
152           if test -f $$p; then \
153             $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
154           else :; fi; \
155         done
156
157 uninstall-binPROGRAMS:
158         list="$(bin_PROGRAMS)"; for p in $$list; do \
159           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
160         done
161
162 .c.o:
163         $(COMPILE) $<
164
165 mostlyclean-compile:
166         rm -f *.o core
167
168 clean-compile:
169
170 distclean-compile:
171         rm -f *.tab.c
172
173 maintainer-clean-compile:
174 $(g10_OBJECTS): ../config.h
175
176 g10: $(g10_OBJECTS) $(g10_DEPENDENCIES)
177         $(LINK) $(g10_OBJECTS) $(g10_LDADD) $(LIBS)
178
179 ID: $(HEADERS) $(SOURCES)
180         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
181
182 tags: TAGS
183
184 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
185         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
186
187 mostlyclean-tags:
188
189 clean-tags:
190
191 distclean-tags:
192         rm -f TAGS ID
193
194 maintainer-clean-tags:
195
196 subdir = g10
197 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
198 distdir: $(DEP_DISTFILES)
199         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
200           test -f $(distdir)/$$file \
201           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
202           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
203         done
204
205 # This fragment is probably only useful for maintainers.  It relies on
206 # GNU make and gcc.  It is only included in the generated Makefile.in
207 # if `automake' is not passed the `--include-deps' flag.
208
209 MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
210
211 -include $(srcdir)/.deps/.P
212 $(srcdir)/.deps/.P: $(BUILT_SOURCES)
213         cd $(srcdir) && test -d .deps || mkdir .deps
214         echo > $@
215
216 -include $(DEP_FILES)
217 $(DEP_FILES): $(srcdir)/.deps/.P
218
219 $(srcdir)/.deps/%.P: $(srcdir)/%.c
220         @echo "mkdeps $< > $@"
221         @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
222           $(MKDEP) $< | sed "$$re" > $@-tmp
223         @if test -n "$o"; then                  \
224           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
225           rm $@-tmp;                            \
226         else                                    \
227           mv $@-tmp $@;                         \
228         fi
229
230 # End of maintainer-only section
231 info:
232
233 dvi:
234
235 check: all
236
237 installcheck:
238
239 install-exec: install-binPROGRAMS
240
241 install-data: 
242
243 install: install-exec install-data all
244         @:
245
246 uninstall: uninstall-binPROGRAMS
247
248 all: $(PROGRAMS) Makefile
249
250 install-strip:
251         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
252 installdirs:
253         $(mkinstalldirs)  $(bindir)
254
255
256 mostlyclean-generic:
257         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
258
259 clean-generic:
260         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
261
262 distclean-generic:
263         rm -f Makefile $(DISTCLEANFILES)
264         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
265
266 maintainer-clean-generic:
267         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
268         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
269 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
270                 mostlyclean-tags mostlyclean-generic
271
272 clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
273                 mostlyclean 
274
275 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
276                 distclean-generic clean 
277         rm -f config.status
278
279 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
280                 maintainer-clean-tags maintainer-clean-generic \
281                 distclean 
282         @echo "This command is intended for maintainers to use;"
283         @echo "it deletes files that may require special tools to rebuild."
284
285 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
286 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
287 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
288 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
289 clean-tags maintainer-clean-tags distdir info dvi check installcheck \
290 install-exec install-data install uninstall all installdirs \
291 mostlyclean-generic distclean-generic clean-generic \
292 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
293
294
295 $(PROGRAMS): ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
296 .SUFFIXES:
297 .SUFFIXES: .c .o
298
299 # Tell versions [3.59,3.63) of GNU make to not export all variables.
300 # Otherwise a system limit (for SysV at least) may be exceeded.
301 .NOEXPORT: