1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 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.
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
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
48 AUTOHEADER = @AUTOHEADER@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
62 host_alias = @host_alias@
68 GLIB_CFLAGS = @GLIB_CFLAGS@
69 GLIB_LIBS = @GLIB_LIBS@
79 NOINSTGOB = @NOINSTGOB@
81 PKG_CONFIG = @PKG_CONFIG@
91 #GCC specific, should not be in distributed files
95 # -Wmissing-prototypes \
96 # -Wmissing-declarations
98 DEFS = @DEFS@ -DPKGDATADIR=\"$(pkgdatadir)\"
101 INCLUDES = $(GLIB_CFLAGS) -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)
104 @NOINSTGOB_TRUE@noinst_PROGRAMS = @NOINSTGOB@
105 @NOINSTGOB_FALSE@bin_PROGRAMS = @INSTGOB@
106 EXTRA_PROGRAMS = gob2
108 BUILT_SOURCES = parse.h parse.c lexer.c
110 gob2_SOURCES = main.c main.h treefuncs.c treefuncs.h out.c out.h util.c util.h checks.c checks.h parse.y lexer.l
113 gob2_LDADD = -lm $(GLIB_LIBS) @LEXLIB@
116 # we might want popt back in the future
119 CLEANFILES = @CLEANFILES@ $(BUILT_SOURCES) test-object.* test-object-private.h
121 EXTRA_DIST = $(BUILT_SOURCES) test.gob generate_treefuncs.pl treefuncs.def
122 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
123 CONFIG_HEADER = ../config.h
125 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
128 gob2_OBJECTS = main.o treefuncs.o out.o util.o checks.o parse.o lexer.o
131 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
133 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
135 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
136 DIST_COMMON = Makefile.am Makefile.in lexer.c parse.c
139 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
142 SOURCES = $(gob2_SOURCES)
143 OBJECTS = $(gob2_OBJECTS)
147 .SUFFIXES: .S .c .l .o .s .y
148 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
149 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
151 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
153 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
156 mostlyclean-binPROGRAMS:
159 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
161 distclean-binPROGRAMS:
163 maintainer-clean-binPROGRAMS:
165 install-binPROGRAMS: $(bin_PROGRAMS)
167 $(mkinstalldirs) $(DESTDIR)$(bindir)
168 @list='$(bin_PROGRAMS)'; for p in $$list; do \
169 if test -f $$p; then \
170 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
171 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
175 uninstall-binPROGRAMS:
177 list='$(bin_PROGRAMS)'; for p in $$list; do \
178 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
181 mostlyclean-noinstPROGRAMS:
183 clean-noinstPROGRAMS:
184 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
186 distclean-noinstPROGRAMS:
188 maintainer-clean-noinstPROGRAMS:
200 -rm -f *.o core *.core
207 maintainer-clean-compile:
209 gob2: $(gob2_OBJECTS) $(gob2_DEPENDENCIES)
211 $(LINK) $(gob2_LDFLAGS) $(gob2_OBJECTS) $(gob2_LDADD) $(LIBS)
213 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
215 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
216 if test -f y.tab.h; then \
217 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
222 # This directory's subdirectories are mostly independent; you can cd
223 # into them and run `make' without going through this Makefile.
224 # To change the values of `make' variables: instead of editing Makefiles,
225 # (1) if the variable is set in `config.status', edit `config.status'
226 # (which will cause the Makefiles to be regenerated when you run `make');
227 # (2) otherwise, pass the desired values on the `make' command line.
231 all-recursive install-data-recursive install-exec-recursive \
232 installdirs-recursive install-recursive uninstall-recursive \
233 check-recursive installcheck-recursive info-recursive dvi-recursive:
234 @set fnord $(MAKEFLAGS); amf=$$2; \
236 target=`echo $@ | sed s/-recursive//`; \
237 list='$(SUBDIRS)'; for subdir in $$list; do \
238 echo "Making $$target in $$subdir"; \
239 if test "$$subdir" = "."; then \
241 local_target="$$target-am"; \
243 local_target="$$target"; \
245 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
246 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
248 if test "$$dot_seen" = "no"; then \
249 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
252 mostlyclean-recursive clean-recursive distclean-recursive \
253 maintainer-clean-recursive:
254 @set fnord $(MAKEFLAGS); amf=$$2; \
256 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
257 rev="$$subdir $$rev"; \
258 test "$$subdir" != "." || dot_seen=yes; \
260 test "$$dot_seen" = "no" && rev=". $$rev"; \
261 target=`echo $@ | sed s/-recursive//`; \
262 for subdir in $$rev; do \
263 echo "Making $$target in $$subdir"; \
264 if test "$$subdir" = "."; then \
265 local_target="$$target-am"; \
267 local_target="$$target"; \
269 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
270 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
271 done && test -z "$$fail"
273 list='$(SUBDIRS)'; for subdir in $$list; do \
274 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
279 ID: $(HEADERS) $(SOURCES) $(LISP)
280 list='$(SOURCES) $(HEADERS)'; \
281 unique=`for i in $$list; do echo $$i; done | \
282 awk ' { files[$$0] = 1; } \
283 END { for (i in files) print i; }'`; \
284 here=`pwd` && cd $(srcdir) \
285 && mkid -f$$here/ID $$unique $(LISP)
287 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
290 list='$(SUBDIRS)'; for subdir in $$list; do \
291 if test "$$subdir" = .; then :; else \
292 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
295 list='$(SOURCES) $(HEADERS)'; \
296 unique=`for i in $$list; do echo $$i; done | \
297 awk ' { files[$$0] = 1; } \
298 END { for (i in files) print i; }'`; \
299 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
300 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
309 maintainer-clean-tags:
311 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
315 distdir: $(DISTFILES)
316 @for file in $(DISTFILES); do \
318 if test -d $$d/$$file; then \
319 cp -pr $$d/$$file $(distdir)/$$file; \
321 test -f $(distdir)/$$file \
322 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
323 || cp -p $$d/$$file $(distdir)/$$file || :; \
326 for subdir in $(SUBDIRS); do \
327 if test "$$subdir" = .; then :; else \
328 test -d $(distdir)/$$subdir \
329 || mkdir $(distdir)/$$subdir \
331 chmod 777 $(distdir)/$$subdir; \
332 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
336 checks.o: checks.c ../config.h treefuncs.h main.h util.h checks.h
337 lexer.o: lexer.c ../config.h treefuncs.h parse.h main.h util.h
338 main.o: main.c ../config.h treefuncs.h parse.h out.h util.h checks.h \
340 out.o: out.c main.h out.h
341 parse.o: parse.c ../config.h treefuncs.h main.h util.h
342 treefuncs.o: treefuncs.c treefuncs.h
343 util.o: util.c ../config.h treefuncs.h main.h util.h
350 check: check-recursive
352 installcheck: installcheck-recursive
353 install-exec-am: install-binPROGRAMS
354 install-exec: install-exec-recursive
357 install-data: install-data-recursive
360 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
361 install: install-recursive
362 uninstall-am: uninstall-binPROGRAMS
363 uninstall: uninstall-recursive
364 all-am: Makefile $(PROGRAMS)
365 all-redirect: all-recursive
367 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
368 installdirs: installdirs-recursive
370 $(mkinstalldirs) $(DESTDIR)$(bindir)
376 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
379 -rm -f Makefile $(CONFIG_CLEAN_FILES)
380 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
382 maintainer-clean-generic:
383 -test -z "lexercparsehparsec$(BUILT_SOURCES)" || rm -f lexerc parseh parsec $(BUILT_SOURCES)
384 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
385 mostlyclean-compile mostlyclean-tags \
388 mostlyclean: mostlyclean-recursive
390 clean-am: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
391 clean-tags clean-generic mostlyclean-am
393 clean: clean-recursive
395 distclean-am: distclean-binPROGRAMS distclean-noinstPROGRAMS \
396 distclean-compile distclean-tags distclean-generic \
399 distclean: distclean-recursive
401 maintainer-clean-am: maintainer-clean-binPROGRAMS \
402 maintainer-clean-noinstPROGRAMS \
403 maintainer-clean-compile maintainer-clean-tags \
404 maintainer-clean-generic distclean-am
405 @echo "This command is intended for maintainers to use;"
406 @echo "it deletes files that may require special tools to rebuild."
408 maintainer-clean: maintainer-clean-recursive
410 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
411 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
412 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
413 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
414 mostlyclean-compile distclean-compile clean-compile \
415 maintainer-clean-compile install-data-recursive \
416 uninstall-data-recursive install-exec-recursive \
417 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
418 all-recursive check-recursive installcheck-recursive info-recursive \
419 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
420 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
421 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
422 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
423 install-exec install-data-am install-data install-am install \
424 uninstall-am uninstall all-redirect all-am all installdirs-am \
425 installdirs mostlyclean-generic distclean-generic clean-generic \
426 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
429 # parse.h parse.c: parse.y
430 # $(YACC) $(YFLAGS) $<
431 # test -f y.tab.c && mv -f y.tab.c parse.c
432 # test -f y.tab.h && mv -f y.tab.h parse.h
434 test: test-object.c test-object.h
435 $(CC) -g -O -W -Wall -Wunused -Wuninitialized -Wdeclaration-after-statement -Wshadow -Wwrite-strings -Wunreachable-code -Wbad-function-cast -pedantic `pkg-config --cflags gobject-2.0 gtk+-2.0` -c test-object.c
437 test-object.c test-object.h: test.gob gob2
440 # can't depend on the header file as that would break the above rule
441 # since it's just for testing, who cares
442 testcpp: test-object.cc
443 g++ -g -O -W -Wall -Wunused -Wuninitialized -Wwrite-strings -Wunreachable-code -pedantic `pkg-config --cflags gobject-2.0 gtk+-2.0` -c test-object.cc
445 test-object.cc: test.gob gob2
446 ./gob2 --for-cpp test.gob
448 # Tell versions [3.59,3.63) of GNU make to not export all variables.
449 # Otherwise a system limit (for SysV at least) may be exceeded.