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