Sylvester Version
[gnupg.git] / g10 / Makefile.in
1 # Makefile.in generated automatically by automake 1.0 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy, distribute and modify it.
6
7
8 SHELL = /bin/sh
9
10 srcdir = @srcdir@
11 top_srcdir = @top_srcdir@
12 VPATH = @srcdir@
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15
16 bindir = @bindir@
17 sbindir = @sbindir@
18 libexecdir = @libexecdir@
19 datadir = @datadir@
20 sysconfdir = @sysconfdir@
21 sharedstatedir = @sharedstatedir@
22 localstatedir = @localstatedir@
23 libdir = @libdir@
24 infodir = @infodir@
25 mandir = @mandir@
26 includedir = @includedir@
27 oldincludedir = /usr/include
28
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkgincludedir = $(includedir)/@PACKAGE@
32
33 top_builddir = ..
34
35 INSTALL = @INSTALL@
36 INSTALL_PROGRAM = @INSTALL_PROGRAM@
37 INSTALL_DATA = @INSTALL_DATA@
38 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39 transform = @program_transform_name@
40
41 INCLUDES = -I$(top_srcdir)/include
42 EXTRA_DIST = OPTIONS
43
44 bin_PROGRAMS = g10
45
46 g10_SOURCES = g10.c             \
47               build-packet.c    \
48               compress.c        \
49               encode.c          \
50               encr-data.c       \
51               filter.h          \
52               free-packet.c     \
53               getkey.c          \
54               keydb.h           \
55               pkclist.c         \
56               skclist.c         \
57               ringedit.c        \
58               kbnode.c          \
59               keygen.c          \
60               main.h            \
61               mainproc.c        \
62               armor.c           \
63               mdfilter.c        \
64               textfilter.c      \
65               cipher.c          \
66               elg.c             \
67               rsa.c             \
68               options.h         \
69               openfile.c        \
70               keyid.c           \
71               packet.h          \
72               parse-packet.c    \
73               passphrase.c      \
74               plaintext.c       \
75               pubkey-enc.c      \
76               seckey-cert.c     \
77               seskey.c          \
78               sign.c            \
79               comment.c         \
80               sig-check.c
81
82 LDADD = -L ../cipher -L ../mpi -L ../util -lcipher -lmpi -lutil
83 mkinstalldirs = $(top_srcdir)/scripts/mkinstalldirs
84 CONFIG_HEADER = ../config.h
85 PROGRAMS = $(bin_PROGRAMS)
86
87
88 CC = @CC@
89 LEX = @LEX@
90 YACC = @YACC@
91
92 DEFS = @DEFS@ -I. -I$(srcdir) -I..
93 CPPFLAGS = @CPPFLAGS@
94 CFLAGS = @CFLAGS@
95 LDFLAGS = @LDFLAGS@
96 LIBS = @LIBS@
97
98 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
99 LINK = $(CC) $(LDFLAGS) -o $@
100 g10_OBJECTS = g10.o build-packet.o compress.o encode.o encr-data.o \
101 free-packet.o getkey.o pkclist.o skclist.o ringedit.o kbnode.o keygen.o \
102 mainproc.o armor.o mdfilter.o textfilter.o cipher.o elg.o rsa.o \
103 openfile.o keyid.o parse-packet.o passphrase.o plaintext.o pubkey-enc.o \
104 seckey-cert.o seskey.o sign.o comment.o sig-check.o
105 EXTRA_g10_SOURCES =
106 g10_LDADD = $(LDADD)
107 DIST_COMMON = Makefile.am Makefile.in
108
109
110 PACKAGE = @PACKAGE@
111 VERSION = @VERSION@
112
113 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
114         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
115 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
116         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
117
118 TAR = tar
119 DEP_FILES = $(srcdir)/.deps/armor.P $(srcdir)/.deps/build-packet.P \
120 $(srcdir)/.deps/cipher.P $(srcdir)/.deps/comment.P \
121 $(srcdir)/.deps/compress.P $(srcdir)/.deps/elg.P \
122 $(srcdir)/.deps/encode.P $(srcdir)/.deps/encr-data.P \
123 $(srcdir)/.deps/free-packet.P $(srcdir)/.deps/g10.P \
124 $(srcdir)/.deps/getkey.P $(srcdir)/.deps/kbnode.P \
125 $(srcdir)/.deps/keygen.P $(srcdir)/.deps/keyid.P \
126 $(srcdir)/.deps/mainproc.P $(srcdir)/.deps/mdfilter.P \
127 $(srcdir)/.deps/openfile.P $(srcdir)/.deps/parse-packet.P \
128 $(srcdir)/.deps/passphrase.P $(srcdir)/.deps/pkclist.P \
129 $(srcdir)/.deps/plaintext.P $(srcdir)/.deps/pubkey-enc.P \
130 $(srcdir)/.deps/ringedit.P $(srcdir)/.deps/rsa.P \
131 $(srcdir)/.deps/seckey-cert.P $(srcdir)/.deps/seskey.P \
132 $(srcdir)/.deps/sig-check.P $(srcdir)/.deps/sign.P \
133 $(srcdir)/.deps/skclist.P $(srcdir)/.deps/textfilter.P
134 SOURCES = $(g10_SOURCES)
135 OBJECTS = $(g10_OBJECTS)
136
137 default: all
138
139
140 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
141         cd $(top_srcdir) && automake $(subdir)/Makefile
142
143 Makefile: $(top_builddir)/config.status Makefile.in
144         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
145
146 mostlyclean-binPROGRAMS:
147
148 clean-binPROGRAMS:
149         rm -f $(bin_PROGRAMS)
150
151 distclean-binPROGRAMS:
152
153 maintainer-clean-binPROGRAMS:
154
155 install-binPROGRAMS: $(bin_PROGRAMS)
156         $(mkinstalldirs) $(bindir)
157         list="$(bin_PROGRAMS)"; for p in $$list; do \
158           if test -f $$p; then \
159             $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
160           else :; fi; \
161         done
162
163 uninstall-binPROGRAMS:
164         list="$(bin_PROGRAMS)"; for p in $$list; do \
165           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
166         done
167
168 .c.o:
169         $(COMPILE) $<
170
171 mostlyclean-compile:
172         rm -f *.o core
173
174 clean-compile:
175
176 distclean-compile:
177         rm -f *.tab.c
178
179 maintainer-clean-compile:
180 $(g10_OBJECTS): ../config.h
181
182 g10: $(g10_OBJECTS) $(g10_DEPENDENCIES)
183         $(LINK) $(g10_OBJECTS) $(g10_LDADD) $(LIBS)
184
185 ID: $(HEADERS) $(SOURCES)
186         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
187
188 tags: TAGS
189
190 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
191         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
192
193 mostlyclean-tags:
194
195 clean-tags:
196
197 distclean-tags:
198         rm -f TAGS ID
199
200 maintainer-clean-tags:
201
202 subdir = g10
203 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
204 distdir: $(DEP_DISTFILES)
205         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
206           test -f $(distdir)/$$file \
207           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
208           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
209         done
210
211 # This fragment is probably only useful for maintainers.  It relies on
212 # GNU make and gcc.  It is only included in the generated Makefile.in
213 # if `automake' is not passed the `--include-deps' flag.
214
215 MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
216
217 -include $(srcdir)/.deps/.P
218 $(srcdir)/.deps/.P: $(BUILT_SOURCES)
219         cd $(srcdir) && test -d .deps || mkdir .deps
220         echo > $@
221
222 -include $(DEP_FILES)
223 $(DEP_FILES): $(srcdir)/.deps/.P
224
225 $(srcdir)/.deps/%.P: $(srcdir)/%.c
226         @echo "mkdeps $< > $@"
227         @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
228           $(MKDEP) $< | sed "$$re" > $@-tmp
229         @if test -n "$o"; then                  \
230           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
231           rm $@-tmp;                            \
232         else                                    \
233           mv $@-tmp $@;                         \
234         fi
235
236 # End of maintainer-only section
237 info:
238
239 dvi:
240
241 check: all
242
243 installcheck:
244
245 install-exec: install-binPROGRAMS
246
247 install-data: 
248
249 install: install-exec install-data all
250         @:
251
252 uninstall: uninstall-binPROGRAMS
253
254 all: $(PROGRAMS) Makefile
255
256 install-strip:
257         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
258 installdirs:
259         $(mkinstalldirs)  $(bindir)
260
261
262 mostlyclean-generic:
263         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
264
265 clean-generic:
266         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
267
268 distclean-generic:
269         rm -f Makefile $(DISTCLEANFILES)
270         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
271
272 maintainer-clean-generic:
273         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
274         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
275 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
276                 mostlyclean-tags mostlyclean-generic
277
278 clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
279                 mostlyclean 
280
281 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
282                 distclean-generic clean 
283         rm -f config.status
284
285 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
286                 maintainer-clean-tags maintainer-clean-generic \
287                 distclean 
288         @echo "This command is intended for maintainers to use;"
289         @echo "it deletes files that may require special tools to rebuild."
290
291 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
292 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
293 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
294 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
295 clean-tags maintainer-clean-tags distdir info dvi check installcheck \
296 install-exec install-data install uninstall all installdirs \
297 mostlyclean-generic distclean-generic clean-generic \
298 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
299
300
301 $(PROGRAMS): ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
302 .SUFFIXES:
303 .SUFFIXES: .c .o
304
305 # Tell versions [3.59,3.63) of GNU make to not export all variables.
306 # Otherwise a system limit (for SysV at least) may be exceeded.
307 .NOEXPORT: