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