very first release
[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               ringedit.c        \
56               kbnode.c          \
57               keygen.c          \
58               main.h            \
59               mainproc.c        \
60               armor.c           \
61               mdfilter.c        \
62               cipher.c          \
63               options.h         \
64               openfile.c        \
65               keyid.c           \
66               packet.h          \
67               parse-packet.c    \
68               passphrase.c      \
69               plaintext.c       \
70               pubkey-enc.c      \
71               seckey-cert.c     \
72               seskey.c          \
73               sign.c            \
74               comment.c         \
75               sig-check.c
76
77 LDADD = -L ../cipher -L ../mpi -L ../util -lcipher -lmpi -lutil
78 mkinstalldirs = $(top_srcdir)/scripts/mkinstalldirs
79 CONFIG_HEADER = ../config.h
80 PROGRAMS = $(bin_PROGRAMS)
81
82
83 CC = @CC@
84 LEX = @LEX@
85 YACC = @YACC@
86
87 DEFS = @DEFS@ -I. -I$(srcdir) -I..
88 CPPFLAGS = @CPPFLAGS@
89 CFLAGS = @CFLAGS@
90 LDFLAGS = @LDFLAGS@
91 LIBS = @LIBS@
92
93 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
94 LINK = $(CC) $(LDFLAGS) -o $@
95 g10_OBJECTS = g10.o build-packet.o compress.o encode.o encr-data.o \
96 free-packet.o getkey.o ringedit.o kbnode.o keygen.o mainproc.o armor.o \
97 mdfilter.o cipher.o openfile.o keyid.o parse-packet.o passphrase.o \
98 plaintext.o pubkey-enc.o seckey-cert.o seskey.o sign.o comment.o \
99 sig-check.o
100 EXTRA_g10_SOURCES =
101 g10_LDADD = $(LDADD)
102 DIST_COMMON = Makefile.am Makefile.in
103
104
105 PACKAGE = @PACKAGE@
106 VERSION = @VERSION@
107
108 DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
109         $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
110 DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
111         $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
112
113 TAR = tar
114 DEP_FILES = $(srcdir)/.deps/armor.P $(srcdir)/.deps/build-packet.P \
115 $(srcdir)/.deps/cipher.P $(srcdir)/.deps/comment.P \
116 $(srcdir)/.deps/compress.P $(srcdir)/.deps/encode.P \
117 $(srcdir)/.deps/encr-data.P $(srcdir)/.deps/free-packet.P \
118 $(srcdir)/.deps/g10.P $(srcdir)/.deps/getkey.P $(srcdir)/.deps/kbnode.P \
119 $(srcdir)/.deps/keygen.P $(srcdir)/.deps/keyid.P \
120 $(srcdir)/.deps/mainproc.P $(srcdir)/.deps/mdfilter.P \
121 $(srcdir)/.deps/openfile.P $(srcdir)/.deps/parse-packet.P \
122 $(srcdir)/.deps/passphrase.P $(srcdir)/.deps/plaintext.P \
123 $(srcdir)/.deps/pubkey-enc.P $(srcdir)/.deps/ringedit.P \
124 $(srcdir)/.deps/seckey-cert.P $(srcdir)/.deps/seskey.P \
125 $(srcdir)/.deps/sig-check.P $(srcdir)/.deps/sign.P
126 SOURCES = $(g10_SOURCES)
127 OBJECTS = $(g10_OBJECTS)
128
129 default: all
130
131
132 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
133         cd $(top_srcdir) && automake $(subdir)/Makefile
134
135 Makefile: $(top_builddir)/config.status Makefile.in
136         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
137
138 mostlyclean-binPROGRAMS:
139
140 clean-binPROGRAMS:
141         rm -f $(bin_PROGRAMS)
142
143 distclean-binPROGRAMS:
144
145 maintainer-clean-binPROGRAMS:
146
147 install-binPROGRAMS: $(bin_PROGRAMS)
148         $(mkinstalldirs) $(bindir)
149         list="$(bin_PROGRAMS)"; for p in $$list; do \
150           if test -f $$p; then \
151             $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
152           else :; fi; \
153         done
154
155 uninstall-binPROGRAMS:
156         list="$(bin_PROGRAMS)"; for p in $$list; do \
157           rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
158         done
159
160 .c.o:
161         $(COMPILE) $<
162
163 mostlyclean-compile:
164         rm -f *.o core
165
166 clean-compile:
167
168 distclean-compile:
169         rm -f *.tab.c
170
171 maintainer-clean-compile:
172 $(g10_OBJECTS): ../config.h
173
174 g10: $(g10_OBJECTS) $(g10_DEPENDENCIES)
175         $(LINK) $(g10_OBJECTS) $(g10_LDADD) $(LIBS)
176
177 ID: $(HEADERS) $(SOURCES)
178         here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
179
180 tags: TAGS
181
182 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
183         here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
184
185 mostlyclean-tags:
186
187 clean-tags:
188
189 distclean-tags:
190         rm -f TAGS ID
191
192 maintainer-clean-tags:
193
194 subdir = g10
195 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
196 distdir: $(DEP_DISTFILES)
197         @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
198           test -f $(distdir)/$$file \
199           || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
200           || cp -p $(srcdir)/$$file $(distdir)/$$file; \
201         done
202
203 # This fragment is probably only useful for maintainers.  It relies on
204 # GNU make and gcc.  It is only included in the generated Makefile.in
205 # if `automake' is not passed the `--include-deps' flag.
206
207 MKDEP = gcc -MM $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
208
209 -include $(srcdir)/.deps/.P
210 $(srcdir)/.deps/.P: $(BUILT_SOURCES)
211         cd $(srcdir) && test -d .deps || mkdir .deps
212         echo > $@
213
214 -include $(DEP_FILES)
215 $(DEP_FILES): $(srcdir)/.deps/.P
216
217 $(srcdir)/.deps/%.P: $(srcdir)/%.c
218         @echo "mkdeps $< > $@"
219         @re=`echo 's,^$(srcdir)//*,,g;s, $(srcdir)//*, ,g' | sed 's,\.,\\\\.,g'`; \
220           $(MKDEP) $< | sed "$$re" > $@-tmp
221         @if test -n "$o"; then                  \
222           sed 's/\.o:/$$o:/' $@-tmp > $@;       \
223           rm $@-tmp;                            \
224         else                                    \
225           mv $@-tmp $@;                         \
226         fi
227
228 # End of maintainer-only section
229 info:
230
231 dvi:
232
233 check: all
234
235 installcheck:
236
237 install-exec: install-binPROGRAMS
238
239 install-data: 
240
241 install: install-exec install-data all
242         @:
243
244 uninstall: uninstall-binPROGRAMS
245
246 all: $(PROGRAMS) Makefile
247
248 install-strip:
249         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
250 installdirs:
251         $(mkinstalldirs)  $(bindir)
252
253
254 mostlyclean-generic:
255         test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
256
257 clean-generic:
258         test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
259
260 distclean-generic:
261         rm -f Makefile $(DISTCLEANFILES)
262         rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
263
264 maintainer-clean-generic:
265         test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
266         test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
267 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
268                 mostlyclean-tags mostlyclean-generic
269
270 clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
271                 mostlyclean 
272
273 distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
274                 distclean-generic clean 
275         rm -f config.status
276
277 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
278                 maintainer-clean-tags maintainer-clean-generic \
279                 distclean 
280         @echo "This command is intended for maintainers to use;"
281         @echo "it deletes files that may require special tools to rebuild."
282
283 .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
284 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
285 install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
286 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
287 clean-tags maintainer-clean-tags distdir info dvi check installcheck \
288 install-exec install-data install uninstall all installdirs \
289 mostlyclean-generic distclean-generic clean-generic \
290 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
291
292
293 $(PROGRAMS): ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
294 .SUFFIXES:
295 .SUFFIXES: .c .o
296
297 # Tell versions [3.59,3.63) of GNU make to not export all variables.
298 # Otherwise a system limit (for SysV at least) may be exceeded.
299 .NOEXPORT: