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