-# Makefile.in generated automatically by automake 1.4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
PRE_UNINSTALL = :
POST_UNINSTALL = :
CC = @CC@
-CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
DOINSTGOB = @DOINSTGOB@
YFLAGS = -d -t
SUBDIRS =
+CFLAGS = @CFLAGS@ -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -DPKGDATADIR=\"$(pkgdatadir)\"
+
INCLUDES = @GLIB_CFLAGS@ -I$(includedir)
bin_PROGRAMS = @DOINSTGOB@
noinst_PROGRAMS = @NOINSTGOB@
EXTRA_PROGRAMS = gob
-gob_SOURCES = main.c main.h tree.c tree.h out.c out.h parse.y lexer.l
+BUILT_SOURCES = parse.h parse.c lexer.c
+
+gob_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
gob_LDADD = -lm $(GLIB_LIBS) @LEXLIB@
# we might want popt back in the future
# @POPT_LIB@
-BUILT_SOURCES = parse.h parse.c lexer.c
+CLEANFILES = $(BUILT_SOURCES) gtk-weird-button.* gtk-weird-button-private.h
-CLEANFILES = $(BUILT_SOURCES) gtk-weird-button.*
-
-EXTRA_DIST = test.gob
+EXTRA_DIST = $(BUILT_SOURCES) test.gob generate_treefuncs.pl treefuncs.def
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
DEFS = @DEFS@ -I. -I$(srcdir) -I..
LIBS = @LIBS@
-gob_OBJECTS = main.o tree.o out.o parse.o lexer.o
+gob_OBJECTS = main.o treefuncs.o out.o util.o checks.o parse.o lexer.o
gob_DEPENDENCIES =
gob_LDFLAGS =
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
- test "$$subdir" = "." && dot_seen=yes; \
+ test "$$subdir" != "." || dot_seen=yes; \
done; \
test "$$dot_seen" = "no" && rev=". $$rev"; \
target=`echo $@ | sed s/-recursive//`; \
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
- cp -pr $$/$$file $(distdir)/$$file; \
+ cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| exit 1; \
fi; \
done
-lexer.o: lexer.c ../config.h parse.h main.h
-main.o: main.c ../config.h tree.h parse.h out.h main.h
-out.o: out.c out.h
-parse.o: parse.c ../config.h tree.h main.h
-tree.o: tree.c ../config.h tree.h
+checks.o: checks.c ../config.h treefuncs.h main.h util.h checks.h
+lexer.o: lexer.c ../config.h treefuncs.h parse.h main.h util.h
+main.o: main.c ../config.h treefuncs.h parse.h out.h util.h checks.h \
+ main.h
+out.o: out.c main.h out.h
+parse.o: parse.c ../config.h treefuncs.h main.h util.h
+treefuncs.o: treefuncs.c treefuncs.h
+util.o: util.c ../config.h treefuncs.h main.h util.h
info-am:
info: info-recursive
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-parse.h: parse.y
+parse.h parse.c: parse.y
$(YACC) $(YFLAGS) $<
test -f y.tab.c && mv -f y.tab.c parse.c
test -f y.tab.h && mv -f y.tab.h parse.h
gtk-weird-button.c gtk-weird-button.h: test.gob gob
./gob test.gob
+# can't depend on the header file as that would break the above rule
+# since it's just for testing, who cares
+testcpp: gtk-weird-button.cc
+ g++ -g -Wall `gtk-config --cflags` -c gtk-weird-button.cc
+
+gtk-weird-button.cc: test.gob gob
+ ./gob --for-cpp test.gob
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: