partial DSA support
[gnupg.git] / g10 / Makefile.in
1 # Makefile.in generated automatically by automake 1.2f from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38
39 top_builddir = ..
40
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
45
46 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 transform = @program_transform_name@
51
52 NORMAL_INSTALL = :
53 PRE_INSTALL = :
54 POST_INSTALL = :
55 NORMAL_UNINSTALL = :
56 PRE_UNINSTALL = :
57 POST_UNINSTALL = :
58 build_alias = @build_alias@
59 build_triplet = @build@
60 host_alias = @host_alias@
61 host_triplet = @host@
62 target_alias = @target_alias@
63 target_triplet = @target@
64 CATALOGS = @CATALOGS@
65 CATOBJEXT = @CATOBJEXT@
66 CC = @CC@
67 CIPHER_EXTRA_DIST = @CIPHER_EXTRA_DIST@
68 CIPHER_EXTRA_OBJS = @CIPHER_EXTRA_OBJS@
69 CPP = @CPP@
70 DATADIRNAME = @DATADIRNAME@
71 G10_LOCALEDIR = @G10_LOCALEDIR@
72 GENCAT = @GENCAT@
73 GMOFILES = @GMOFILES@
74 GMSGFMT = @GMSGFMT@
75 GT_NO = @GT_NO@
76 GT_YES = @GT_YES@
77 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
78 INSTOBJEXT = @INSTOBJEXT@
79 INTLDEPS = @INTLDEPS@
80 INTLLIBS = @INTLLIBS@
81 INTLOBJS = @INTLOBJS@
82 MKINSTALLDIRS = @MKINSTALLDIRS@
83 MPI_EXTRA_ASM_OBJS = @MPI_EXTRA_ASM_OBJS@
84 MSGFMT = @MSGFMT@
85 PACKAGE = @PACKAGE@
86 POFILES = @POFILES@
87 POSUB = @POSUB@
88 RANLIB = @RANLIB@
89 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
90 USE_NLS = @USE_NLS@
91 VERSION = @VERSION@
92 ZLIBS = @ZLIBS@
93 l = @l@
94
95 INCLUDES = -I$(top_srcdir)/include
96 EXTRA_DIST = OPTIONS  pubring.asc
97 OMIT_DEPENDENCIES = zlib.h zconf.h
98 BUILT_SOURCES = g10maint.c
99 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
100
101 bin_PROGRAMS = gpg gpgm
102
103 common_source =  \
104               build-packet.c    \
105               compress.c        \
106               filter.h          \
107               free-packet.c     \
108               getkey.c          \
109               keydb.h           \
110               pkclist.c         \
111               skclist.c         \
112               ringedit.c        \
113               kbnode.c          \
114               main.h            \
115               mainproc.c        \
116               armor.c           \
117               mdfilter.c        \
118               textfilter.c      \
119               cipher.c          \
120               elg.c             \
121               dsa.c             \
122               rsa.c             \
123               options.h         \
124               openfile.c        \
125               keyid.c           \
126               trustdb.c         \
127               trustdb.h         \
128               packet.h          \
129               parse-packet.c    \
130               passphrase.c      \
131               pubkey-enc.c      \
132               seckey-cert.c     \
133               seskey.c          \
134               import.c          \
135               export.c          \
136               comment.c         \
137               status.c          \
138               status.h          \
139               sign.c            \
140               plaintext.c       \
141               encr-data.c       \
142               encode.c          \
143               revoke.c          \
144               keylist.c         \
145               sig-check.c
146
147 gpg_SOURCES  = g10.c            \
148               $(common_source)  \
149               verify.c          \
150               decrypt.c         \
151               keygen.c
152
153 gpgm_SOURCES = g10maint.c   \
154               dearmor.c     \
155               $(common_source)
156
157 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
158 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
159 CONFIG_HEADER = ../config.h
160 CONFIG_CLEAN_FILES = 
161 PROGRAMS =  $(bin_PROGRAMS)
162
163
164 DEFS = @DEFS@ -I. -I$(srcdir) -I..
165 CPPFLAGS = @CPPFLAGS@
166 LDFLAGS = @LDFLAGS@
167 LIBS = @LIBS@
168 gpg_OBJECTS =  g10.o build-packet.o compress.o free-packet.o getkey.o \
169 pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o mdfilter.o \
170 textfilter.o cipher.o elg.o dsa.o rsa.o openfile.o keyid.o trustdb.o \
171 parse-packet.o passphrase.o pubkey-enc.o seckey-cert.o seskey.o \
172 import.o export.o comment.o status.o sign.o plaintext.o encr-data.o \
173 encode.o revoke.o keylist.o sig-check.o verify.o decrypt.o keygen.o
174 gpg_LDADD = $(LDADD)
175 gpg_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
176 ../util/libutil.a
177 gpg_LDFLAGS = 
178 gpgm_OBJECTS =  g10maint.o dearmor.o build-packet.o compress.o \
179 free-packet.o getkey.o pkclist.o skclist.o ringedit.o kbnode.o \
180 mainproc.o armor.o mdfilter.o textfilter.o cipher.o elg.o dsa.o rsa.o \
181 openfile.o keyid.o trustdb.o parse-packet.o passphrase.o pubkey-enc.o \
182 seckey-cert.o seskey.o import.o export.o comment.o status.o sign.o \
183 plaintext.o encr-data.o encode.o revoke.o keylist.o sig-check.o
184 gpgm_LDADD = $(LDADD)
185 gpgm_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
186 ../util/libutil.a
187 gpgm_LDFLAGS = 
188 CFLAGS = @CFLAGS@
189 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
190 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
191 DIST_COMMON =  ChangeLog Makefile.am Makefile.in
192
193
194 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
195
196 TAR = tar
197 GZIP = --best
198 DEP_FILES =  .deps/armor.P .deps/build-packet.P .deps/cipher.P \
199 .deps/comment.P .deps/compress.P .deps/dearmor.P .deps/decrypt.P \
200 .deps/dsa.P .deps/elg.P .deps/encode.P .deps/encr-data.P .deps/export.P \
201 .deps/free-packet.P .deps/g10.P .deps/g10maint .deps/g10maint.P \
202 .deps/getkey.P .deps/import.P .deps/kbnode.P .deps/keygen.P \
203 .deps/keyid.P .deps/keylist.P .deps/mainproc.P .deps/mdfilter.P \
204 .deps/openfile.P .deps/parse-packet.P .deps/passphrase.P \
205 .deps/pkclist.P .deps/plaintext.P .deps/pubkey-enc.P .deps/revoke.P \
206 .deps/ringedit.P .deps/rsa.P .deps/seckey-cert.P .deps/seskey.P \
207 .deps/sig-check.P .deps/sign.P .deps/skclist.P .deps/status.P \
208 .deps/textfilter.P .deps/trustdb.P .deps/verify.P
209 SOURCES = $(gpg_SOURCES) $(gpgm_SOURCES)
210 OBJECTS = $(gpg_OBJECTS) $(gpgm_OBJECTS)
211
212 default: all
213
214 .SUFFIXES:
215 .SUFFIXES: .S .c .o .s
216 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
217         cd $(top_srcdir) && $(AUTOMAKE) --gnu g10/Makefile
218
219 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
220         cd $(top_builddir) \
221           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
222
223
224 mostlyclean-binPROGRAMS:
225
226 clean-binPROGRAMS:
227         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
228
229 distclean-binPROGRAMS:
230
231 maintainer-clean-binPROGRAMS:
232
233 install-binPROGRAMS: $(bin_PROGRAMS)
234         @$(NORMAL_INSTALL)
235         $(mkinstalldirs) $(bindir)
236         @list='$(bin_PROGRAMS)'; for p in $$list; do \
237           if test -f $$p; then \
238             echo "  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
239              $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
240           else :; fi; \
241         done
242
243 uninstall-binPROGRAMS:
244         @$(NORMAL_UNINSTALL)
245         list='$(bin_PROGRAMS)'; for p in $$list; do \
246           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
247         done
248
249 .s.o:
250         $(COMPILE) -c $<
251
252 .S.o:
253         $(COMPILE) -c $<
254
255 mostlyclean-compile:
256         -rm -f *.o core *.core
257
258 clean-compile:
259
260 distclean-compile:
261         -rm -f *.tab.c
262
263 maintainer-clean-compile:
264
265 gpg: $(gpg_OBJECTS) $(gpg_DEPENDENCIES)
266         @rm -f gpg
267         $(LINK) $(gpg_LDFLAGS) $(gpg_OBJECTS) $(gpg_LDADD) $(LIBS)
268
269 gpgm: $(gpgm_OBJECTS) $(gpgm_DEPENDENCIES)
270         @rm -f gpgm
271         $(LINK) $(gpgm_LDFLAGS) $(gpgm_OBJECTS) $(gpgm_LDADD) $(LIBS)
272
273 tags: TAGS
274
275 ID: $(HEADERS) $(SOURCES) $(LISP)
276         here=`pwd` && cd $(srcdir) \
277           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
278
279 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
280         tags=; \
281         here=`pwd`; \
282         list='$(SOURCES) $(HEADERS)'; \
283         unique=`for i in $$list; do echo $$i; done | \
284           awk '    { files[$$0] = 1; } \
285                END { for (i in files) print i; }'`; \
286         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
287           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
288
289 mostlyclean-tags:
290
291 clean-tags:
292
293 distclean-tags:
294         -rm -f TAGS ID
295
296 maintainer-clean-tags:
297
298 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
299
300 subdir = g10
301
302 distdir: $(DISTFILES)
303         here=`cd $(top_builddir) && pwd`; \
304         top_distdir=`cd $(top_distdir) && pwd`; \
305         distdir=`cd $(distdir) && pwd`; \
306         cd $(top_srcdir) \
307           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu g10/Makefile
308         @for file in $(DISTFILES); do \
309           d=$(srcdir); \
310           test -f $(distdir)/$$file \
311           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
312           || cp -p $$d/$$file $(distdir)/$$file; \
313         done
314
315 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
316
317 -include $(DEP_FILES)
318
319 mostlyclean-depend:
320
321 clean-depend:
322
323 distclean-depend:
324
325 maintainer-clean-depend:
326         -rm -rf .deps
327
328 %.o: %.c
329         @echo '$(COMPILE) -c $<'; \
330         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
331
332 %.lo: %.c
333         @echo '$(LTCOMPILE) -c $<'; \
334         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
335         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
336           < .deps/$(*F).p > .deps/$(*F).P
337         @-rm -f .deps/$(*F).p
338 info:
339 dvi:
340 check: all
341         $(MAKE)
342 installcheck:
343 install-exec: install-binPROGRAMS
344         @$(NORMAL_INSTALL)
345
346 install-data: 
347         @$(NORMAL_INSTALL)
348
349 install: install-exec install-data all
350         @:
351
352 uninstall: uninstall-binPROGRAMS
353
354 all: Makefile $(PROGRAMS)
355
356 install-strip:
357         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
358 installdirs:
359         $(mkinstalldirs)  $(bindir)
360
361
362 mostlyclean-generic:
363         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
364
365 clean-generic:
366         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
367
368 distclean-generic:
369         -rm -f Makefile $(DISTCLEANFILES)
370         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
371         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
372
373 maintainer-clean-generic:
374         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
375         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
376 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
377                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
378
379 clean:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
380                 clean-generic mostlyclean
381
382 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
383                 distclean-depend distclean-generic clean
384         -rm -f config.status
385
386 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
387                 maintainer-clean-tags maintainer-clean-depend \
388                 maintainer-clean-generic distclean
389         @echo "This command is intended for maintainers to use;"
390         @echo "it deletes files that may require special tools to rebuild."
391
392 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
393 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
394 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
395 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
396 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
397 distclean-depend clean-depend maintainer-clean-depend info dvi \
398 installcheck install-exec install-data install uninstall all \
399 installdirs mostlyclean-generic distclean-generic clean-generic \
400 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
401
402
403 g10maint.c : g10.c
404             $(CPP) $(DEFS) $(INCLUDES) -DIS_G10MAINT  $<  > $@ || rm $@
405
406 $(PROGRAMS): $(needed_libs)
407
408 # Tell versions [3.59,3.63) of GNU make to not export all variables.
409 # Otherwise a system limit (for SysV at least) may be exceeded.
410 .NOEXPORT: