1 # Makefile.in generated automatically by automake 1.4-p5 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@
65 DOINSTGOB = @DOINSTGOB@
66 GLIB_CFLAGS = @GLIB_CFLAGS@
67 GLIB_LIBS = @GLIB_LIBS@
73 NOINSTGOB = @NOINSTGOB@
75 PKG_CONFIG = @PKG_CONFIG@
84 CFLAGS = @CFLAGS@ -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
87 DEFS = @DEFS@ -DPKGDATADIR=\"$(pkgdatadir)\"
90 INCLUDES = $(GLIB_CFLAGS) -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)
93 bin_PROGRAMS = @DOINSTGOB@
94 noinst_PROGRAMS = @NOINSTGOB@
97 BUILT_SOURCES = parse.h parse.c lexer.c
99 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
102 gob2_LDADD = -lm $(GLIB_LIBS) @LEXLIB@
105 # we might want popt back in the future
108 CLEANFILES = @CLEANFILES@ $(BUILT_SOURCES) test-object.* test-object-private.h
110 EXTRA_DIST = $(BUILT_SOURCES) test.gob generate_treefuncs.pl treefuncs.def
111 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
112 CONFIG_HEADER = ../config.h
114 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
117 gob2_OBJECTS = main.o treefuncs.o out.o util.o checks.o parse.o lexer.o
120 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
122 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
124 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
125 DIST_COMMON = Makefile.am Makefile.in lexer.c parse.c
128 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
131 SOURCES = $(gob2_SOURCES)
132 OBJECTS = $(gob2_OBJECTS)
136 .SUFFIXES: .S .c .l .o .s .y
137 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
138 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
140 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
142 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
145 mostlyclean-binPROGRAMS:
148 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
150 distclean-binPROGRAMS:
152 maintainer-clean-binPROGRAMS:
154 install-binPROGRAMS: $(bin_PROGRAMS)
156 $(mkinstalldirs) $(DESTDIR)$(bindir)
157 @list='$(bin_PROGRAMS)'; for p in $$list; do \
158 if test -f $$p; then \
159 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
160 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
164 uninstall-binPROGRAMS:
166 list='$(bin_PROGRAMS)'; for p in $$list; do \
167 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
170 mostlyclean-noinstPROGRAMS:
172 clean-noinstPROGRAMS:
173 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
175 distclean-noinstPROGRAMS:
177 maintainer-clean-noinstPROGRAMS:
189 -rm -f *.o core *.core
196 maintainer-clean-compile:
198 gob2: $(gob2_OBJECTS) $(gob2_DEPENDENCIES)
200 $(LINK) $(gob2_LDFLAGS) $(gob2_OBJECTS) $(gob2_LDADD) $(LIBS)
202 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
204 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
205 if test -f y.tab.h; then \
206 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
211 # This directory's subdirectories are mostly independent; you can cd
212 # into them and run `make' without going through this Makefile.
213 # To change the values of `make' variables: instead of editing Makefiles,
214 # (1) if the variable is set in `config.status', edit `config.status'
215 # (which will cause the Makefiles to be regenerated when you run `make');
216 # (2) otherwise, pass the desired values on the `make' command line.
220 all-recursive install-data-recursive install-exec-recursive \
221 installdirs-recursive install-recursive uninstall-recursive \
222 check-recursive installcheck-recursive info-recursive dvi-recursive:
223 @set fnord $(MAKEFLAGS); amf=$$2; \
225 target=`echo $@ | sed s/-recursive//`; \
226 list='$(SUBDIRS)'; for subdir in $$list; do \
227 echo "Making $$target in $$subdir"; \
228 if test "$$subdir" = "."; then \
230 local_target="$$target-am"; \
232 local_target="$$target"; \
234 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
235 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
237 if test "$$dot_seen" = "no"; then \
238 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
241 mostlyclean-recursive clean-recursive distclean-recursive \
242 maintainer-clean-recursive:
243 @set fnord $(MAKEFLAGS); amf=$$2; \
245 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
246 rev="$$subdir $$rev"; \
247 test "$$subdir" != "." || dot_seen=yes; \
249 test "$$dot_seen" = "no" && rev=". $$rev"; \
250 target=`echo $@ | sed s/-recursive//`; \
251 for subdir in $$rev; do \
252 echo "Making $$target in $$subdir"; \
253 if test "$$subdir" = "."; then \
254 local_target="$$target-am"; \
256 local_target="$$target"; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
259 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
260 done && test -z "$$fail"
262 list='$(SUBDIRS)'; for subdir in $$list; do \
263 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
268 ID: $(HEADERS) $(SOURCES) $(LISP)
269 list='$(SOURCES) $(HEADERS)'; \
270 unique=`for i in $$list; do echo $$i; done | \
271 awk ' { files[$$0] = 1; } \
272 END { for (i in files) print i; }'`; \
273 here=`pwd` && cd $(srcdir) \
274 && mkid -f$$here/ID $$unique $(LISP)
276 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
279 list='$(SUBDIRS)'; for subdir in $$list; do \
280 if test "$$subdir" = .; then :; else \
281 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
284 list='$(SOURCES) $(HEADERS)'; \
285 unique=`for i in $$list; do echo $$i; done | \
286 awk ' { files[$$0] = 1; } \
287 END { for (i in files) print i; }'`; \
288 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
289 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
298 maintainer-clean-tags:
300 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
304 distdir: $(DISTFILES)
305 @for file in $(DISTFILES); do \
307 if test -d $$d/$$file; then \
308 cp -pr $$d/$$file $(distdir)/$$file; \
310 test -f $(distdir)/$$file \
311 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
312 || cp -p $$d/$$file $(distdir)/$$file || :; \
315 for subdir in $(SUBDIRS); do \
316 if test "$$subdir" = .; then :; else \
317 test -d $(distdir)/$$subdir \
318 || mkdir $(distdir)/$$subdir \
320 chmod 777 $(distdir)/$$subdir; \
321 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
325 checks.o: checks.c ../config.h treefuncs.h main.h util.h checks.h
326 lexer.o: lexer.c ../config.h treefuncs.h parse.h main.h util.h
327 main.o: main.c ../config.h treefuncs.h parse.h out.h util.h checks.h \
329 out.o: out.c main.h out.h
330 parse.o: parse.c ../config.h treefuncs.h main.h util.h
331 treefuncs.o: treefuncs.c treefuncs.h
332 util.o: util.c ../config.h treefuncs.h main.h util.h
339 check: check-recursive
341 installcheck: installcheck-recursive
342 install-exec-am: install-binPROGRAMS
343 install-exec: install-exec-recursive
346 install-data: install-data-recursive
349 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
350 install: install-recursive
351 uninstall-am: uninstall-binPROGRAMS
352 uninstall: uninstall-recursive
353 all-am: Makefile $(PROGRAMS)
354 all-redirect: all-recursive
356 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
357 installdirs: installdirs-recursive
359 $(mkinstalldirs) $(DESTDIR)$(bindir)
365 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
368 -rm -f Makefile $(CONFIG_CLEAN_FILES)
369 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
371 maintainer-clean-generic:
372 -test -z "lexerlparsehparsec$(BUILT_SOURCES)" || rm -f lexerl parseh parsec $(BUILT_SOURCES)
373 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
374 mostlyclean-compile mostlyclean-tags \
377 mostlyclean: mostlyclean-recursive
379 clean-am: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
380 clean-tags clean-generic mostlyclean-am
382 clean: clean-recursive
384 distclean-am: distclean-binPROGRAMS distclean-noinstPROGRAMS \
385 distclean-compile distclean-tags distclean-generic \
388 distclean: distclean-recursive
390 maintainer-clean-am: maintainer-clean-binPROGRAMS \
391 maintainer-clean-noinstPROGRAMS \
392 maintainer-clean-compile maintainer-clean-tags \
393 maintainer-clean-generic distclean-am
394 @echo "This command is intended for maintainers to use;"
395 @echo "it deletes files that may require special tools to rebuild."
397 maintainer-clean: maintainer-clean-recursive
399 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
400 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
401 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
402 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
403 mostlyclean-compile distclean-compile clean-compile \
404 maintainer-clean-compile install-data-recursive \
405 uninstall-data-recursive install-exec-recursive \
406 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
407 all-recursive check-recursive installcheck-recursive info-recursive \
408 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
409 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
410 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
411 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
412 install-exec install-data-am install-data install-am install \
413 uninstall-am uninstall all-redirect all-am all installdirs-am \
414 installdirs mostlyclean-generic distclean-generic clean-generic \
415 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
418 parse.h parse.c: parse.y
420 test -f y.tab.c && mv -f y.tab.c parse.c
421 test -f y.tab.h && mv -f y.tab.h parse.h
423 test: test-object.c test-object.h
424 $(CC) -g -Wall `pkg-config --cflags gobject-2.0 gtk+-2.0` -c test-object.c
426 test-object.c test-object.h: test.gob gob2
429 # can't depend on the header file as that would break the above rule
430 # since it's just for testing, who cares
431 testcpp: test-object.cc
432 g++ -g -Wall `pkg-config --cflags gobject-2.0 gtk+-2.0` -c test-object.cc
434 test-object.cc: test.gob gob2
435 ./gob2 --for-cpp test.gob
437 # Tell versions [3.59,3.63) of GNU make to not export all variables.
438 # Otherwise a system limit (for SysV at least) may be exceeded.