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