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