1 rizwank 1.1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 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 # Makefile for enscript.
15 # Copyright (c) 1995-1999 Markku Rossi
16 #
17 # Author: Markku Rossi <mtr@iki.fi>
18 #
19
20 #
21 # This file is part of GNU enscript.
22 rizwank 1.1 #
23 # This program is free software; you can redistribute it and/or modify
24 # it under the terms of the GNU General Public License as published by
25 # the Free Software Foundation; either version 2, or (at your option)
26 # any later version.
27 #
28 # This program is distributed in the hope that it will be useful,
29 # but WITHOUT ANY WARRANTY; without even the implied warranty of
30 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 # GNU General Public License for more details.
32 #
33 # You should have received a copy of the GNU General Public License
34 # along with this program; see the file COPYING. If not, write to
35 # the Free Software Foundation, 59 Temple Place - Suite 330,
36 # Boston, MA 02111-1307, USA.
37 #
38
39
40 SHELL = @SHELL@
41
42 srcdir = @srcdir@
43 rizwank 1.1 top_srcdir = @top_srcdir@
44 VPATH = @srcdir@
45 prefix = @prefix@
46 exec_prefix = @exec_prefix@
47
48 bindir = @bindir@
49 sbindir = @sbindir@
50 libexecdir = @libexecdir@
51 datadir = @datadir@
52 sysconfdir = @sysconfdir@
53 sharedstatedir = @sharedstatedir@
54 localstatedir = @localstatedir@
55 libdir = @libdir@
56 infodir = @infodir@
57 mandir = @mandir@
58 includedir = @includedir@
59 oldincludedir = /usr/include
60
61 DESTDIR =
62
63 pkgdatadir = $(datadir)/@PACKAGE@
64 rizwank 1.1 pkglibdir = $(libdir)/@PACKAGE@
65 pkgincludedir = $(includedir)/@PACKAGE@
66
67 top_builddir = ..
68
69 ACLOCAL = @ACLOCAL@
70 AUTOCONF = @AUTOCONF@
71 AUTOMAKE = @AUTOMAKE@
72 AUTOHEADER = @AUTOHEADER@
73
74 INSTALL = @INSTALL@
75 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
76 INSTALL_DATA = @INSTALL_DATA@
77 INSTALL_SCRIPT = @INSTALL_SCRIPT@
78 transform = @program_transform_name@
79
80 NORMAL_INSTALL = :
81 PRE_INSTALL = :
82 POST_INSTALL = :
83 NORMAL_UNINSTALL = :
84 PRE_UNINSTALL = :
85 rizwank 1.1 POST_UNINSTALL = :
86 CATALOGS = @CATALOGS@
87 CATOBJEXT = @CATOBJEXT@
88 CC = @CC@
89 CFLAGS = @CFLAGS@
90 CPP = @CPP@
91 DATADIRNAME = @DATADIRNAME@
92 GENCAT = @GENCAT@
93 GMOFILES = @GMOFILES@
94 GMSGFMT = @GMSGFMT@
95 GT_NO = @GT_NO@
96 GT_YES = @GT_YES@
97 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
98 INSTOBJEXT = @INSTOBJEXT@
99 INTLDEPS = @INTLDEPS@
100 INTLLIBS = @INTLLIBS@
101 INTLOBJS = @INTLOBJS@
102 LDFLAGS = @LDFLAGS@
103 LEX = @LEX@
104 LIBOBJS = @LIBOBJS@
105 MAKEINFO = @MAKEINFO@
106 rizwank 1.1 MEDIA = @MEDIA@
107 MKINSTALLDIRS = @MKINSTALLDIRS@
108 MSGFMT = @MSGFMT@
109 PACKAGE = @PACKAGE@
110 PERL = @PERL@
111 POFILES = @POFILES@
112 POSUB = @POSUB@
113 PSLEVEL = @PSLEVEL@
114 QUEUEPARAM = @QUEUEPARAM@
115 RANLIB = @RANLIB@
116 SPOOLER = @SPOOLER@
117 U = @U@
118 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
119 USE_NLS = @USE_NLS@
120 VERSION = @VERSION@
121 YACC = @YACC@
122 l = @l@
123
124 AUTOMAKE_OPTIONS = ansi2knr
125
126 SUBDIRS = tests
127 rizwank 1.1
128 bin_PROGRAMS = enscript mkafmmap
129
130 enscript_SOURCES = main.c psgen.c util.c prt_lpr.c
131
132 enscript_SOURCES_windelta = -prt_lpr.c +prt_dos.c
133
134
135 mkafmmap_SOURCES = mkafmmap.c
136
137 LDADD = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a -lm
138 enscript_DEPENDENCIES = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a
139 mkafmmap_DEPENDENCIES = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a
140
141 noinst_HEADERS = gsint.h
142
143 localedir = $(prefix)/@DATADIRNAME@/locale
144
145 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\" -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
146
147
148 rizwank 1.1 INCLUDES_windelta = +-I../w32 --DLOCALEDIR=\"$(localedir)\" --DLIBRARY=\"$(datadir)/enscript\" --DSYSCONFDIR=\"$(sysconfdir)\" +-DLIBRARY=\"c:\\enscript\" +-DSYSCONFDIR=\"c:\\enscript\"
149
150
151 EXTRA_DIST = prt_dos.c ansi2knr.c ansi2knr.1
152 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
153 CONFIG_HEADER = ../config.h
154 CONFIG_CLEAN_FILES =
155 PROGRAMS = $(bin_PROGRAMS)
156
157
158 DEFS = @DEFS@ -I. -I$(srcdir) -I..
159 CPPFLAGS = @CPPFLAGS@
160 LIBS = @LIBS@
161 ANSI2KNR = @ANSI2KNR@
162 enscript_OBJECTS = main$U.o psgen$U.o util$U.o prt_lpr$U.o
163 enscript_LDADD = $(LDADD)
164 enscript_LDFLAGS =
165 mkafmmap_OBJECTS = mkafmmap$U.o
166 mkafmmap_LDADD = $(LDADD)
167 mkafmmap_LDFLAGS =
168 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
169 rizwank 1.1 CCLD = $(CC)
170 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
171 HEADERS = $(noinst_HEADERS)
172
173 DIST_COMMON = ChangeLog Makefile.am Makefile.in ansi2knr.1 ansi2knr.c
174
175
176 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
177
178 TAR = tar
179 GZIP_ENV = --best
180 SOURCES = $(enscript_SOURCES) $(mkafmmap_SOURCES)
181 OBJECTS = $(enscript_OBJECTS) $(mkafmmap_OBJECTS)
182
183 all: all-redirect
184 .SUFFIXES:
185 .SUFFIXES: .S .c .o .s
186 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
187 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
188
189 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
190 rizwank 1.1 cd $(top_builddir) \
191 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
192
193
194 mostlyclean-binPROGRAMS:
195
196 clean-binPROGRAMS:
197 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
198
199 distclean-binPROGRAMS:
200
201 maintainer-clean-binPROGRAMS:
202
203 install-binPROGRAMS: $(bin_PROGRAMS)
204 @$(NORMAL_INSTALL)
205 $(mkinstalldirs) $(DESTDIR)$(bindir)
206 @list='$(bin_PROGRAMS)'; for p in $$list; do \
207 if test -f $$p; then \
208 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
209 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
210 else :; fi; \
211 rizwank 1.1 done
212
213 uninstall-binPROGRAMS:
214 @$(NORMAL_UNINSTALL)
215 list='$(bin_PROGRAMS)'; for p in $$list; do \
216 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
217 done
218
219 .c.o:
220 $(COMPILE) -c $<
221
222 .s.o:
223 $(COMPILE) -c $<
224
225 .S.o:
226 $(COMPILE) -c $<
227
228 mostlyclean-compile:
229 -rm -f *.o core *.core
230
231 clean-compile:
232 rizwank 1.1
233 distclean-compile:
234 -rm -f *.tab.c
235
236 maintainer-clean-compile:
237
238 mostlyclean-krextra:
239
240 clean-krextra:
241 -rm -f ansi2knr
242
243 distclean-krextra:
244
245 maintainer-clean-krextra:
246 ansi2knr: ansi2knr.o
247 $(LINK) ansi2knr.o $(LIBS)
248 ansi2knr.o: $(CONFIG_HEADER)
249
250
251 mostlyclean-kr:
252 -rm -f *_.c
253 rizwank 1.1
254 clean-kr:
255
256 distclean-kr:
257
258 maintainer-clean-kr:
259
260 enscript: $(enscript_OBJECTS) $(enscript_DEPENDENCIES)
261 @rm -f enscript
262 $(LINK) $(enscript_LDFLAGS) $(enscript_OBJECTS) $(enscript_LDADD) $(LIBS)
263
264 mkafmmap: $(mkafmmap_OBJECTS) $(mkafmmap_DEPENDENCIES)
265 @rm -f mkafmmap
266 $(LINK) $(mkafmmap_LDFLAGS) $(mkafmmap_OBJECTS) $(mkafmmap_LDADD) $(LIBS)
267 main_.c: main.c $(ANSI2KNR)
268 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/main.c; then echo $(srcdir)/main.c; else echo main.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > main_.c
269 mkafmmap_.c: mkafmmap.c $(ANSI2KNR)
270 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mkafmmap.c; then echo $(srcdir)/mkafmmap.c; else echo mkafmmap.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mkafmmap_.c
271 prt_lpr_.c: prt_lpr.c $(ANSI2KNR)
272 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/prt_lpr.c; then echo $(srcdir)/prt_lpr.c; else echo prt_lpr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > prt_lpr_.c
273 psgen_.c: psgen.c $(ANSI2KNR)
274 rizwank 1.1 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/psgen.c; then echo $(srcdir)/psgen.c; else echo psgen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > psgen_.c
275 util_.c: util.c $(ANSI2KNR)
276 $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/util.c; then echo $(srcdir)/util.c; else echo util.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > util_.c
277 main_.o mkafmmap_.o prt_lpr_.o psgen_.o util_.o : $(ANSI2KNR)
278
279 # This directory's subdirectories are mostly independent; you can cd
280 # into them and run `make' without going through this Makefile.
281 # To change the values of `make' variables: instead of editing Makefiles,
282 # (1) if the variable is set in `config.status', edit `config.status'
283 # (which will cause the Makefiles to be regenerated when you run `make');
284 # (2) otherwise, pass the desired values on the `make' command line.
285
286 @SET_MAKE@
287
288 all-recursive install-data-recursive install-exec-recursive \
289 installdirs-recursive install-recursive uninstall-recursive \
290 check-recursive installcheck-recursive info-recursive dvi-recursive:
291 @set fnord $(MAKEFLAGS); amf=$$2; \
292 dot_seen=no; \
293 target=`echo $@ | sed s/-recursive//`; \
294 list='$(SUBDIRS)'; for subdir in $$list; do \
295 rizwank 1.1 echo "Making $$target in $$subdir"; \
296 if test "$$subdir" = "."; then \
297 dot_seen=yes; \
298 local_target="$$target-am"; \
299 else \
300 local_target="$$target"; \
301 fi; \
302 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
303 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
304 done; \
305 if test "$$dot_seen" = "no"; then \
306 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
307 fi; test -z "$$fail"
308
309 mostlyclean-recursive clean-recursive distclean-recursive \
310 maintainer-clean-recursive:
311 @set fnord $(MAKEFLAGS); amf=$$2; \
312 dot_seen=no; \
313 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
314 rev="$$subdir $$rev"; \
315 test "$$subdir" = "." && dot_seen=yes; \
316 rizwank 1.1 done; \
317 test "$$dot_seen" = "no" && rev=". $$rev"; \
318 target=`echo $@ | sed s/-recursive//`; \
319 for subdir in $$rev; do \
320 echo "Making $$target in $$subdir"; \
321 if test "$$subdir" = "."; then \
322 local_target="$$target-am"; \
323 else \
324 local_target="$$target"; \
325 fi; \
326 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
327 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
328 done && test -z "$$fail"
329 tags-recursive:
330 list='$(SUBDIRS)'; for subdir in $$list; do \
331 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
332 done
333
334 tags: TAGS
335
336 ID: $(HEADERS) $(SOURCES) $(LISP)
337 rizwank 1.1 list='$(SOURCES) $(HEADERS)'; \
338 unique=`for i in $$list; do echo $$i; done | \
339 awk ' { files[$$0] = 1; } \
340 END { for (i in files) print i; }'`; \
341 here=`pwd` && cd $(srcdir) \
342 && mkid -f$$here/ID $$unique $(LISP)
343
344 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
345 tags=; \
346 here=`pwd`; \
347 list='$(SUBDIRS)'; for subdir in $$list; do \
348 if test "$$subdir" = .; then :; else \
349 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
350 fi; \
351 done; \
352 list='$(SOURCES) $(HEADERS)'; \
353 unique=`for i in $$list; do echo $$i; done | \
354 awk ' { files[$$0] = 1; } \
355 END { for (i in files) print i; }'`; \
356 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
357 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
358 rizwank 1.1
359 mostlyclean-tags:
360
361 clean-tags:
362
363 distclean-tags:
364 -rm -f TAGS ID
365
366 maintainer-clean-tags:
367
368 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
369
370 subdir = src
371
372 distdir: $(DISTFILES)
373 @for file in $(DISTFILES); do \
374 d=$(srcdir); \
375 if test -d $$d/$$file; then \
376 cp -pr $$/$$file $(distdir)/$$file; \
377 else \
378 test -f $(distdir)/$$file \
379 rizwank 1.1 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
380 || cp -p $$d/$$file $(distdir)/$$file || :; \
381 fi; \
382 done
383 for subdir in $(SUBDIRS); do \
384 if test "$$subdir" = .; then :; else \
385 test -d $(distdir)/$$subdir \
386 || mkdir $(distdir)/$$subdir \
387 || exit 1; \
388 chmod 777 $(distdir)/$$subdir; \
389 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
390 || exit 1; \
391 fi; \
392 done
393 main.o: main.c gsint.h ../config.h ../afmlib/afm.h ../afmlib/strhash.h \
394 ../compat/xalloc.h ../compat/getopt.h
395 mkafmmap.o: mkafmmap.c ../config.h ../afmlib/afm.h ../compat/getopt.h
396 prt_lpr.o: prt_lpr.c gsint.h ../config.h ../afmlib/afm.h \
397 ../afmlib/strhash.h ../compat/xalloc.h
398 psgen.o: psgen.c gsint.h ../config.h ../afmlib/afm.h ../afmlib/strhash.h \
399 ../compat/xalloc.h
400 rizwank 1.1 util.o: util.c gsint.h ../config.h ../afmlib/afm.h ../afmlib/strhash.h \
401 ../compat/xalloc.h
402
403 info-am:
404 info: info-recursive
405 dvi-am:
406 dvi: dvi-recursive
407 check-am: all-am
408 check: check-recursive
409 installcheck-am:
410 installcheck: installcheck-recursive
411 install-exec-am: install-binPROGRAMS
412 install-exec: install-exec-recursive
413
414 install-data-am:
415 install-data: install-data-recursive
416
417 install-am: all-am
418 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
419 install: install-recursive
420 uninstall-am: uninstall-binPROGRAMS
421 rizwank 1.1 uninstall: uninstall-recursive
422 all-am: Makefile $(ANSI2KNR) $(PROGRAMS) $(HEADERS)
423 all-redirect: all-recursive
424 install-strip:
425 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
426 installdirs: installdirs-recursive
427 installdirs-am:
428 $(mkinstalldirs) $(DESTDIR)$(bindir)
429
430
431 mostlyclean-generic:
432
433 clean-generic:
434
435 distclean-generic:
436 -rm -f Makefile $(CONFIG_CLEAN_FILES)
437 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
438
439 maintainer-clean-generic:
440 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
441 mostlyclean-krextra mostlyclean-kr mostlyclean-tags \
442 rizwank 1.1 mostlyclean-generic
443
444 mostlyclean: mostlyclean-recursive
445
446 clean-am: clean-binPROGRAMS clean-compile clean-krextra clean-kr \
447 clean-tags clean-generic mostlyclean-am
448
449 clean: clean-recursive
450
451 distclean-am: distclean-binPROGRAMS distclean-compile distclean-krextra \
452 distclean-kr distclean-tags distclean-generic clean-am
453
454 distclean: distclean-recursive
455
456 maintainer-clean-am: maintainer-clean-binPROGRAMS \
457 maintainer-clean-compile maintainer-clean-krextra \
458 maintainer-clean-kr maintainer-clean-tags \
459 maintainer-clean-generic distclean-am
460 @echo "This command is intended for maintainers to use;"
461 @echo "it deletes files that may require special tools to rebuild."
462
463 rizwank 1.1 maintainer-clean: maintainer-clean-recursive
464
465 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
466 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
467 mostlyclean-compile distclean-compile clean-compile \
468 maintainer-clean-compile mostlyclean-krextra distclean-krextra \
469 clean-krextra maintainer-clean-krextra mostlyclean-kr distclean-kr \
470 clean-kr maintainer-clean-kr install-data-recursive \
471 uninstall-data-recursive install-exec-recursive \
472 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
473 all-recursive check-recursive installcheck-recursive info-recursive \
474 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
475 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
476 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
477 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
478 install-exec install-data-am install-data install-am install \
479 uninstall-am uninstall all-redirect all-am all installdirs-am \
480 installdirs mostlyclean-generic distclean-generic clean-generic \
481 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
482
483
484 rizwank 1.1 # Tell versions [3.59,3.63) of GNU make to not export all variables.
485 # Otherwise a system limit (for SysV at least) may be exceeded.
486 .NOEXPORT:
|