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