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