1 rizwank 1.1 # Generated automatically from Makefile.in by configure.
2 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3
4 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 #
15 # Makefile for states.
16 # Copyright (c) 1997-1999 Markku Rossi
17 #
18 # Author: Markku Rossi <mtr@iki.fi>
19 #
20
21 #
22 rizwank 1.1 # This file is part of GNU enscript.
23 #
24 # This program is free software; you can redistribute it and/or modify
25 # it under the terms of the GNU General Public License as published by
26 # the Free Software Foundation; either version 2, or (at your option)
27 # any later version.
28 #
29 # This program is distributed in the hope that it will be useful,
30 # but WITHOUT ANY WARRANTY; without even the implied warranty of
31 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 # GNU General Public License for more details.
33 #
34 # You should have received a copy of the GNU General Public License
35 # along with this program; see the file COPYING. If not, write to
36 # the Free Software Foundation, 59 Temple Place - Suite 330,
37 # Boston, MA 02111-1307, USA.
38 #
39
40
41 SHELL = /bin/sh
42
43 rizwank 1.1 srcdir = .
44 top_srcdir = ..
45 prefix = /home/rizwank/enscript-1.6.3
46 exec_prefix = ${prefix}
47
48 bindir = ${exec_prefix}/bin
49 sbindir = ${exec_prefix}/sbin
50 libexecdir = ${exec_prefix}/libexec
51 datadir = ${prefix}/share
52 sysconfdir = ${prefix}/etc
53 sharedstatedir = ${prefix}/com
54 localstatedir = ${prefix}/var
55 libdir = ${exec_prefix}/lib
56 infodir = ${prefix}/info
57 mandir = ${prefix}/man
58 includedir = ${prefix}/include
59 oldincludedir = /usr/include
60
61 DESTDIR =
62
63 pkgdatadir = $(datadir)/enscript
64 rizwank 1.1 pkglibdir = $(libdir)/enscript
65 pkgincludedir = $(includedir)/enscript
66
67 top_builddir = ..
68
69 ACLOCAL = aclocal
70 AUTOCONF = autoconf
71 AUTOMAKE = automake
72 AUTOHEADER = autoheader
73
74 INSTALL = /usr/bin/install -c
75 INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
76 INSTALL_DATA = ${INSTALL} -m 644
77 INSTALL_SCRIPT = ${INSTALL_PROGRAM}
78 transform = s,x,x,
79
80 NORMAL_INSTALL = :
81 PRE_INSTALL = :
82 POST_INSTALL = :
83 NORMAL_UNINSTALL = :
84 PRE_UNINSTALL = :
85 rizwank 1.1 POST_UNINSTALL = :
86 CATALOGS = de.gmo es.gmo fi.gmo fr.gmo nl.gmo ru.gmo sl.gmo
87 CATOBJEXT = .gmo
88 CC = gcc
89 CFLAGS = -g -O2
90 CPP = gcc -E
91 DATADIRNAME = share
92 GENCAT =
93 GMOFILES = de.gmo es.gmo fi.gmo fr.gmo nl.gmo ru.gmo sl.gmo
94 GMSGFMT = /usr/bin/msgfmt
95 GT_NO =
96 GT_YES = #YES#
97 INCLUDE_LOCALE_H = #include <locale.h>
98 INSTOBJEXT = .mo
99 INTLDEPS =
100 INTLLIBS =
101 INTLOBJS =
102 LDFLAGS =
103 LEX = flex
104 LIBOBJS =
105 MAKEINFO = /home/rizwank/enscript-1.6.3/missing makeinfo
106 rizwank 1.1 MEDIA = A4
107 MKINSTALLDIRS = ./mkinstalldirs
108 MSGFMT = /usr/bin/msgfmt
109 PACKAGE = enscript
110 PERL = /usr/local/bin/perl
111 POFILES = de.po es.po fi.po fr.po nl.po ru.po sl.po
112 POSUB = po
113 PSLEVEL = 2
114 QUEUEPARAM = -P
115 RANLIB = ranlib
116 SPOOLER = lpr
117 U =
118 USE_INCLUDED_LIBINTL = no
119 USE_NLS = yes
120 VERSION = 1.6.3
121 YACC = bison -y
122 l =
123
124 SUBDIRS = hl tests
125
126 AUTOMAKE_OPTIONS =
127 rizwank 1.1
128 bin_PROGRAMS = states
129
130 states_SOURCES = main.c utils.c prims.c process.c gram.y lex.l
131 states_SOURCES_windelta = -gram.y +gram.c -lex.l +lex.c
132
133
134 LDADD = ../afmlib/libafm.a ../compat/libcompat.a -lfl
135 states_DEPENDENCIES = ../compat/libcompat.a
136
137 noinst_HEADERS = defs.h gram.h
138
139 EXTRA_DIST = TODO over.in enscript.el
140
141 localedir = $(prefix)/share/locale
142
143 bin_SCRIPTS = over
144
145 YFLAGS = -d
146
147 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\"
148 rizwank 1.1
149
150 INCLUDES_windelta = +-I../w32 --DLOCALEDIR=\"$(localedir)\"
151
152 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
153 CONFIG_HEADER = ../config.h
154 CONFIG_CLEAN_FILES =
155 PROGRAMS = $(bin_PROGRAMS)
156
157
158 DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
159 CPPFLAGS =
160 LIBS =
161 states_OBJECTS = main.o utils.o prims.o process.o gram.o lex.o
162 states_LDADD = $(LDADD)
163 states_LDFLAGS =
164 SCRIPTS = $(bin_SCRIPTS)
165
166 LEX_OUTPUT_ROOT = lex.yy
167 LEXLIB = -lfl
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 TODO gram.c lex.c
174
175
176 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
177
178 TAR = tar
179 GZIP_ENV = --best
180 SOURCES = $(states_SOURCES)
181 OBJECTS = $(states_OBJECTS)
182
183 all: all-redirect
184 .SUFFIXES:
185 .SUFFIXES: .S .c .l .o .s .y
186 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
187 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps states/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 states: $(states_OBJECTS) $(states_DEPENDENCIES)
239 @rm -f states
240 $(LINK) $(states_LDFLAGS) $(states_OBJECTS) $(states_LDADD) $(LIBS)
241
242 install-binSCRIPTS: $(bin_SCRIPTS)
243 @$(NORMAL_INSTALL)
244 $(mkinstalldirs) $(DESTDIR)$(bindir)
245 @list='$(bin_SCRIPTS)'; for p in $$list; do \
246 if test -f $$p; then \
247 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
248 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
249 else if test -f $(srcdir)/$$p; then \
250 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
251 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
252 else :; fi; fi; \
253 rizwank 1.1 done
254
255 uninstall-binSCRIPTS:
256 @$(NORMAL_UNINSTALL)
257 list='$(bin_SCRIPTS)'; for p in $$list; do \
258 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
259 done
260 .l.c:
261 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
262 .y.c:
263 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
264 if test -f y.tab.h; then \
265 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
266 else :; fi
267 gram.h: gram.c
268
269
270 # This directory's subdirectories are mostly independent; you can cd
271 # into them and run `make' without going through this Makefile.
272 # To change the values of `make' variables: instead of editing Makefiles,
273 # (1) if the variable is set in `config.status', edit `config.status'
274 rizwank 1.1 # (which will cause the Makefiles to be regenerated when you run `make');
275 # (2) otherwise, pass the desired values on the `make' command line.
276
277
278
279 all-recursive install-data-recursive install-exec-recursive \
280 installdirs-recursive install-recursive uninstall-recursive \
281 check-recursive installcheck-recursive info-recursive dvi-recursive:
282 @set fnord $(MAKEFLAGS); amf=$$2; \
283 dot_seen=no; \
284 target=`echo $@ | sed s/-recursive//`; \
285 list='$(SUBDIRS)'; for subdir in $$list; do \
286 echo "Making $$target in $$subdir"; \
287 if test "$$subdir" = "."; then \
288 dot_seen=yes; \
289 local_target="$$target-am"; \
290 else \
291 local_target="$$target"; \
292 fi; \
293 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
294 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
295 rizwank 1.1 done; \
296 if test "$$dot_seen" = "no"; then \
297 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
298 fi; test -z "$$fail"
299
300 mostlyclean-recursive clean-recursive distclean-recursive \
301 maintainer-clean-recursive:
302 @set fnord $(MAKEFLAGS); amf=$$2; \
303 dot_seen=no; \
304 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
305 rev="$$subdir $$rev"; \
306 test "$$subdir" = "." && dot_seen=yes; \
307 done; \
308 test "$$dot_seen" = "no" && rev=". $$rev"; \
309 target=`echo $@ | sed s/-recursive//`; \
310 for subdir in $$rev; do \
311 echo "Making $$target in $$subdir"; \
312 if test "$$subdir" = "."; then \
313 local_target="$$target-am"; \
314 else \
315 local_target="$$target"; \
316 rizwank 1.1 fi; \
317 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
318 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
319 done && test -z "$$fail"
320 tags-recursive:
321 list='$(SUBDIRS)'; for subdir in $$list; do \
322 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
323 done
324
325 tags: TAGS
326
327 ID: $(HEADERS) $(SOURCES) $(LISP)
328 list='$(SOURCES) $(HEADERS)'; \
329 unique=`for i in $$list; do echo $$i; done | \
330 awk ' { files[$$0] = 1; } \
331 END { for (i in files) print i; }'`; \
332 here=`pwd` && cd $(srcdir) \
333 && mkid -f$$here/ID $$unique $(LISP)
334
335 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
336 tags=; \
337 rizwank 1.1 here=`pwd`; \
338 list='$(SUBDIRS)'; for subdir in $$list; do \
339 if test "$$subdir" = .; then :; else \
340 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
341 fi; \
342 done; \
343 list='$(SOURCES) $(HEADERS)'; \
344 unique=`for i in $$list; do echo $$i; done | \
345 awk ' { files[$$0] = 1; } \
346 END { for (i in files) print i; }'`; \
347 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
348 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
349
350 mostlyclean-tags:
351
352 clean-tags:
353
354 distclean-tags:
355 -rm -f TAGS ID
356
357 maintainer-clean-tags:
358 rizwank 1.1
359 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
360
361 subdir = states
362
363 distdir: $(DISTFILES)
364 @for file in $(DISTFILES); do \
365 d=$(srcdir); \
366 if test -d $$d/$$file; then \
367 cp -pr $$/$$file $(distdir)/$$file; \
368 else \
369 test -f $(distdir)/$$file \
370 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
371 || cp -p $$d/$$file $(distdir)/$$file || :; \
372 fi; \
373 done
374 for subdir in $(SUBDIRS); do \
375 if test "$$subdir" = .; then :; else \
376 test -d $(distdir)/$$subdir \
377 || mkdir $(distdir)/$$subdir \
378 || exit 1; \
379 rizwank 1.1 chmod 777 $(distdir)/$$subdir; \
380 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
381 || exit 1; \
382 fi; \
383 done
384 gram.o: gram.c defs.h ../config.h ../compat/regex.h ../compat/xalloc.h \
385 ../afmlib/strhash.h
386 lex.o: lex.c defs.h ../config.h ../compat/regex.h ../compat/xalloc.h \
387 ../afmlib/strhash.h gram.h
388 main.o: main.c defs.h ../config.h ../compat/regex.h ../compat/xalloc.h \
389 ../afmlib/strhash.h ../compat/getopt.h
390 prims.o: prims.c defs.h ../config.h ../compat/regex.h ../compat/xalloc.h \
391 ../afmlib/strhash.h
392 process.o: process.c defs.h ../config.h ../compat/regex.h \
393 ../compat/xalloc.h ../afmlib/strhash.h
394 utils.o: utils.c defs.h ../config.h ../compat/regex.h ../compat/xalloc.h \
395 ../afmlib/strhash.h
396
397 info-am:
398 info: info-recursive
399 dvi-am:
400 rizwank 1.1 dvi: dvi-recursive
401 check-am: all-am
402 check: check-recursive
403 installcheck-am:
404 installcheck: installcheck-recursive
405 install-exec-am: install-binPROGRAMS install-binSCRIPTS
406 install-exec: install-exec-recursive
407
408 install-data-am:
409 install-data: install-data-recursive
410
411 install-am: all-am
412 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
413 install: install-recursive
414 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS
415 uninstall: uninstall-recursive
416 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(HEADERS)
417 all-redirect: all-recursive
418 install-strip:
419 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
420 installdirs: installdirs-recursive
421 rizwank 1.1 installdirs-am:
422 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
423
424
425 mostlyclean-generic:
426
427 clean-generic:
428
429 distclean-generic:
430 -rm -f Makefile $(CONFIG_CLEAN_FILES)
431 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
432
433 maintainer-clean-generic:
434 -test -z "lexlgramhgramc" || rm -f lexl gramh gramc
435 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
436 mostlyclean-tags mostlyclean-generic
437
438 mostlyclean: mostlyclean-recursive
439
440 clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \
441 mostlyclean-am
442 rizwank 1.1
443 clean: clean-recursive
444
445 distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
446 distclean-generic clean-am
447
448 distclean: distclean-recursive
449
450 maintainer-clean-am: maintainer-clean-binPROGRAMS \
451 maintainer-clean-compile maintainer-clean-tags \
452 maintainer-clean-generic distclean-am
453 @echo "This command is intended for maintainers to use;"
454 @echo "it deletes files that may require special tools to rebuild."
455
456 maintainer-clean: maintainer-clean-recursive
457
458 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
459 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
460 mostlyclean-compile distclean-compile clean-compile \
461 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
462 install-data-recursive uninstall-data-recursive install-exec-recursive \
463 rizwank 1.1 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
464 all-recursive check-recursive installcheck-recursive info-recursive \
465 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
466 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
467 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
468 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
469 install-exec install-data-am install-data install-am install \
470 uninstall-am uninstall all-redirect all-am all installdirs-am \
471 installdirs mostlyclean-generic distclean-generic clean-generic \
472 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
473
474
475 over: $(srcdir)/over.in
476 sed 's%@LIBRARYDIR@%$(prefix)/share/enscript%g' \
477 $(srcdir)/over.in > over
478
479 # Tell versions [3.59,3.63) of GNU make to not export all variables.
480 # Otherwise a system limit (for SysV at least) may be exceeded.
481 .NOEXPORT:
|