d954b680c53bad884ee5d13c91cdf5da59144a46
[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 -I$(top_srcdir)/intl -I../intl
96 EXTRA_DIST = OPTIONS  pubring.asc
97 OMIT_DEPENDENCIES = zlib.h zconf.h
98 needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
99
100 bin_PROGRAMS = gpg gpgm gpgd
101
102 common_source =  \
103               build-packet.c    \
104               compress.c        \
105               filter.h          \
106               free-packet.c     \
107               getkey.c          \
108               keydb.h           \
109               pkclist.c         \
110               skclist.c         \
111               ringedit.c        \
112               kbnode.c          \
113               main.h            \
114               mainproc.c        \
115               armor.c           \
116               mdfilter.c        \
117               textfilter.c      \
118               cipher.c          \
119               elg.c             \
120               dsa.c             \
121               rsa.c             \
122               misc.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               keyedit.c         \
141               plaintext.c       \
142               encr-data.c       \
143               encode.c          \
144               revoke.c          \
145               keylist.c         \
146               sig-check.c       \
147               signal.c
148
149 gpg_SOURCES  = g10.c            \
150               $(common_source)  \
151               verify.c          \
152               decrypt.c         \
153               keygen.c
154
155 gpgm_SOURCES = dearmor.c     \
156               $(common_source)
157
158 gpgd_SOURCES = gpgd.c \
159               ks-proto.h \
160               ks-proto.c \
161               $(common_source)
162
163 LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
164
165 gpgm_LDADD = g10maint.o $(LDADD)
166 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
167 CONFIG_HEADER = ../config.h
168 CONFIG_CLEAN_FILES = 
169 PROGRAMS =  $(bin_PROGRAMS)
170
171
172 DEFS = @DEFS@ -I. -I$(srcdir) -I..
173 CPPFLAGS = @CPPFLAGS@
174 LDFLAGS = @LDFLAGS@
175 LIBS = @LIBS@
176 gpg_OBJECTS =  g10.o build-packet.o compress.o free-packet.o getkey.o \
177 pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o mdfilter.o \
178 textfilter.o cipher.o elg.o dsa.o rsa.o misc.o openfile.o keyid.o \
179 trustdb.o parse-packet.o passphrase.o pubkey-enc.o seckey-cert.o \
180 seskey.o import.o export.o comment.o status.o sign.o keyedit.o \
181 plaintext.o encr-data.o encode.o revoke.o keylist.o sig-check.o \
182 signal.o verify.o decrypt.o keygen.o
183 gpg_LDADD = $(LDADD)
184 gpg_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
185 ../util/libutil.a
186 gpg_LDFLAGS = 
187 gpgm_OBJECTS =  dearmor.o build-packet.o compress.o free-packet.o \
188 getkey.o pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o \
189 mdfilter.o textfilter.o cipher.o elg.o dsa.o rsa.o misc.o openfile.o \
190 keyid.o trustdb.o parse-packet.o passphrase.o pubkey-enc.o \
191 seckey-cert.o seskey.o import.o export.o comment.o status.o sign.o \
192 keyedit.o plaintext.o encr-data.o encode.o revoke.o keylist.o \
193 sig-check.o signal.o
194 gpgm_DEPENDENCIES =  g10maint.o ../cipher/libcipher.a ../mpi/libmpi.a \
195 ../util/libutil.a
196 gpgm_LDFLAGS = 
197 gpgd_OBJECTS =  gpgd.o ks-proto.o build-packet.o compress.o \
198 free-packet.o getkey.o pkclist.o skclist.o ringedit.o kbnode.o \
199 mainproc.o armor.o mdfilter.o textfilter.o cipher.o elg.o dsa.o rsa.o \
200 misc.o openfile.o keyid.o trustdb.o parse-packet.o passphrase.o \
201 pubkey-enc.o seckey-cert.o seskey.o import.o export.o comment.o \
202 status.o sign.o keyedit.o plaintext.o encr-data.o encode.o revoke.o \
203 keylist.o sig-check.o signal.o
204 gpgd_LDADD = $(LDADD)
205 gpgd_DEPENDENCIES =  ../cipher/libcipher.a ../mpi/libmpi.a \
206 ../util/libutil.a
207 gpgd_LDFLAGS = 
208 CFLAGS = @CFLAGS@
209 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
210 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
211 DIST_COMMON =  ChangeLog Makefile.am Makefile.in
212
213
214 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
215
216 TAR = tar
217 GZIP = --best
218 DEP_FILES =  .deps/armor.P .deps/build-packet.P .deps/cipher.P \
219 .deps/comment.P .deps/compress.P .deps/dearmor.P .deps/decrypt.P \
220 .deps/dsa.P .deps/elg.P .deps/encode.P .deps/encr-data.P .deps/export.P \
221 .deps/free-packet.P .deps/g10.P .deps/getkey.P .deps/gpgd.P \
222 .deps/import.P .deps/kbnode.P .deps/keyedit.P .deps/keygen.P \
223 .deps/keyid.P .deps/keylist.P .deps/ks-proto.P .deps/mainproc.P \
224 .deps/mdfilter.P .deps/misc.P .deps/openfile.P .deps/parse-packet.P \
225 .deps/passphrase.P .deps/pkclist.P .deps/plaintext.P .deps/pubkey-enc.P \
226 .deps/revoke.P .deps/ringedit.P .deps/rsa.P .deps/seckey-cert.P \
227 .deps/seskey.P .deps/sig-check.P .deps/sign.P .deps/signal.P \
228 .deps/skclist.P .deps/status.P .deps/textfilter.P .deps/trustdb.P \
229 .deps/verify.P
230 SOURCES = $(gpg_SOURCES) $(gpgm_SOURCES) $(gpgd_SOURCES)
231 OBJECTS = $(gpg_OBJECTS) $(gpgm_OBJECTS) $(gpgd_OBJECTS)
232
233 default: all
234
235 .SUFFIXES:
236 .SUFFIXES: .S .c .o .s
237 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
238         cd $(top_srcdir) && $(AUTOMAKE) --gnu g10/Makefile
239
240 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
241         cd $(top_builddir) \
242           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
243
244
245 mostlyclean-binPROGRAMS:
246
247 clean-binPROGRAMS:
248         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
249
250 distclean-binPROGRAMS:
251
252 maintainer-clean-binPROGRAMS:
253
254 install-binPROGRAMS: $(bin_PROGRAMS)
255         @$(NORMAL_INSTALL)
256         $(mkinstalldirs) $(bindir)
257         @list='$(bin_PROGRAMS)'; for p in $$list; do \
258           if test -f $$p; then \
259             echo "  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
260              $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
261           else :; fi; \
262         done
263
264 uninstall-binPROGRAMS:
265         @$(NORMAL_UNINSTALL)
266         list='$(bin_PROGRAMS)'; for p in $$list; do \
267           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
268         done
269
270 .s.o:
271         $(COMPILE) -c $<
272
273 .S.o:
274         $(COMPILE) -c $<
275
276 mostlyclean-compile:
277         -rm -f *.o core *.core
278
279 clean-compile:
280
281 distclean-compile:
282         -rm -f *.tab.c
283
284 maintainer-clean-compile:
285
286 gpg: $(gpg_OBJECTS) $(gpg_DEPENDENCIES)
287         @rm -f gpg
288         $(LINK) $(gpg_LDFLAGS) $(gpg_OBJECTS) $(gpg_LDADD) $(LIBS)
289
290 gpgm: $(gpgm_OBJECTS) $(gpgm_DEPENDENCIES)
291         @rm -f gpgm
292         $(LINK) $(gpgm_LDFLAGS) $(gpgm_OBJECTS) $(gpgm_LDADD) $(LIBS)
293
294 gpgd: $(gpgd_OBJECTS) $(gpgd_DEPENDENCIES)
295         @rm -f gpgd
296         $(LINK) $(gpgd_LDFLAGS) $(gpgd_OBJECTS) $(gpgd_LDADD) $(LIBS)
297
298 tags: TAGS
299
300 ID: $(HEADERS) $(SOURCES) $(LISP)
301         here=`pwd` && cd $(srcdir) \
302           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
303
304 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
305         tags=; \
306         here=`pwd`; \
307         list='$(SOURCES) $(HEADERS)'; \
308         unique=`for i in $$list; do echo $$i; done | \
309           awk '    { files[$$0] = 1; } \
310                END { for (i in files) print i; }'`; \
311         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
312           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
313
314 mostlyclean-tags:
315
316 clean-tags:
317
318 distclean-tags:
319         -rm -f TAGS ID
320
321 maintainer-clean-tags:
322
323 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
324
325 subdir = g10
326
327 distdir: $(DISTFILES)
328         here=`cd $(top_builddir) && pwd`; \
329         top_distdir=`cd $(top_distdir) && pwd`; \
330         distdir=`cd $(distdir) && pwd`; \
331         cd $(top_srcdir) \
332           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu g10/Makefile
333         @for file in $(DISTFILES); do \
334           d=$(srcdir); \
335           test -f $(distdir)/$$file \
336           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
337           || cp -p $$d/$$file $(distdir)/$$file; \
338         done
339
340 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
341
342 -include $(DEP_FILES)
343
344 mostlyclean-depend:
345
346 clean-depend:
347
348 distclean-depend:
349
350 maintainer-clean-depend:
351         -rm -rf .deps
352
353 %.o: %.c
354         @echo '$(COMPILE) -c $<'; \
355         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
356
357 %.lo: %.c
358         @echo '$(LTCOMPILE) -c $<'; \
359         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
360         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
361           < .deps/$(*F).p > .deps/$(*F).P
362         @-rm -f .deps/$(*F).p
363 info:
364 dvi:
365 check: all
366         $(MAKE)
367 installcheck:
368 install-exec: install-binPROGRAMS
369         @$(NORMAL_INSTALL)
370
371 install-data: 
372         @$(NORMAL_INSTALL)
373
374 install: install-exec install-data all
375         @:
376
377 uninstall: uninstall-binPROGRAMS
378
379 all: Makefile $(PROGRAMS)
380
381 install-strip:
382         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
383 installdirs:
384         $(mkinstalldirs)  $(bindir)
385
386
387 mostlyclean-generic:
388         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
389
390 clean-generic:
391         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
392
393 distclean-generic:
394         -rm -f Makefile $(DISTCLEANFILES)
395         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
396         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
397
398 maintainer-clean-generic:
399         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
400         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
401 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
402                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
403
404 clean:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
405                 clean-generic mostlyclean
406
407 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
408                 distclean-depend distclean-generic clean
409         -rm -f config.status
410
411 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
412                 maintainer-clean-tags maintainer-clean-depend \
413                 maintainer-clean-generic distclean
414         @echo "This command is intended for maintainers to use;"
415         @echo "it deletes files that may require special tools to rebuild."
416
417 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
418 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
419 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
420 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
421 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
422 distclean-depend clean-depend maintainer-clean-depend info dvi \
423 installcheck install-exec install-data install uninstall all \
424 installdirs mostlyclean-generic distclean-generic clean-generic \
425 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
426
427
428 g10maint.o: g10.c
429         $(COMPILE) -DIS_G10MAINT  -o g10maint.o -c g10.c
430
431 $(PROGRAMS): $(needed_libs)
432
433 # Tell versions [3.59,3.63) of GNU make to not export all variables.
434 # Otherwise a system limit (for SysV at least) may be exceeded.
435 .NOEXPORT: