-# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4-p6 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.
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
CC = @CC@
+CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
-DOINSTGOB = @DOINSTGOB@
GLIB_CFLAGS = @GLIB_CFLAGS@
-GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
GLIB_LIBS = @GLIB_LIBS@
-GLIB_MKENUMS = @GLIB_MKENUMS@
-GOBJECT_QUERY = @GOBJECT_QUERY@
+HAVE_LIB = @HAVE_LIB@
+INSTGOB = @INSTGOB@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
+LIB = @LIB@
+LTLIB = @LTLIB@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MV = @MV@
TAR = @TAR@
VERSION = @VERSION@
YACC = @YACC@
+YFLAGS = @YFLAGS@
-YFLAGS = -d -t
-SUBDIRS =
+AM_YFLAGS = -d -t
+SUBDIRS = .
-CFLAGS = @CFLAGS@ -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
+#GCC specific, should not be in distributed files
+#AM_CFLAGS = \
+# -Wall \
+# -Wpointer-arith \
+# -Wmissing-prototypes \
+# -Wmissing-declarations
-INCLUDES = @GLIB_CFLAGS@ -I$(includedir)
+DEFS = @DEFS@ -DPKGDATADIR=\"$(pkgdatadir)\"
-bin_PROGRAMS = @DOINSTGOB@
-noinst_PROGRAMS = @NOINSTGOB@
+
+INCLUDES = $(GLIB_CFLAGS) -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)
+
+
+@NOINSTGOB_TRUE@noinst_PROGRAMS = @NOINSTGOB@
+@NOINSTGOB_FALSE@bin_PROGRAMS = @INSTGOB@
EXTRA_PROGRAMS = gob2
BUILT_SOURCES = parse.h parse.c lexer.c
# we might want popt back in the future
# @POPT_LIB@
-CLEANFILES = $(BUILT_SOURCES) test-object.* test-object-private.h
+CLEANFILES = @CLEANFILES@ $(BUILT_SOURCES) test-object.* test-object-private.h
EXTRA_DIST = $(BUILT_SOURCES) test.gob generate_treefuncs.pl treefuncs.def
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
-
-DEFS = @DEFS@ -I. -I$(srcdir) -I..
LIBS = @LIBS@
gob2_OBJECTS = main.o treefuncs.o out.o util.o checks.o parse.o lexer.o
gob2_DEPENDENCIES =
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//`; \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
+ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
mostlyclean-tags:
|| exit 1; \
fi; \
done
+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
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
- -test -z "lexerlparsehparsec$(BUILT_SOURCES)" || rm -f lexerl parseh parsec $(BUILT_SOURCES)
+ -test -z "lexercparsehparsec$(BUILT_SOURCES)" || rm -f lexerc parseh parsec $(BUILT_SOURCES)
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
mostlyclean-compile mostlyclean-tags \
mostlyclean-generic
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-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
+# 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
test: test-object.c test-object.h
- $(CC) -g -Wall `pkg-config --cflags gobject-2.0` -c test-object.c
+ $(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
test-object.c test-object.h: test.gob gob2
./gob2 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: test-object.cc
- g++ -g -Wall `pkg-config --cflags gobject-2.0` -c test-object.cc
+ 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
test-object.cc: test.gob gob2
./gob2 --for-cpp test.gob