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