-# Makefile.in generated automatically by automake 1.4 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.
CPPFLAGS = @CPPFLAGS@
DOINSTGOB = @DOINSTGOB@
GLIB_CFLAGS = @GLIB_CFLAGS@
-GLIB_CONFIG = @GLIB_CONFIG@
GLIB_LIBS = @GLIB_LIBS@
LDFLAGS = @LDFLAGS@
LEX = @LEX@
MV = @MV@
NOINSTGOB = @NOINSTGOB@
PACKAGE = @PACKAGE@
+PKG_CONFIG = @PKG_CONFIG@
RM = @RM@
TAR = @TAR@
VERSION = @VERSION@
YACC = @YACC@
-YFLAGS = -d -t
-SUBDIRS =
+YFLAGS = -d -t
+SUBDIRS = .
-CFLAGS = @CFLAGS@ -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
+CFLAGS = @CFLAGS@ -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
+
+
+DEFS = @DEFS@ -DPKGDATADIR=\"$(pkgdatadir)\"
+
+
+INCLUDES = $(GLIB_CFLAGS) -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir)
-INCLUDES = @GLIB_CFLAGS@ -I$(includedir)
bin_PROGRAMS = @DOINSTGOB@
noinst_PROGRAMS = @NOINSTGOB@
-EXTRA_PROGRAMS = gob
+EXTRA_PROGRAMS = gob2
-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
+BUILT_SOURCES = parse.h parse.c lexer.c
+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
-gob_LDADD = -lm $(GLIB_LIBS) @LEXLIB@
+
+gob2_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 = @CLEANFILES@ $(BUILT_SOURCES) test-object.* test-object-private.h
-EXTRA_DIST = test.gob generate_treefuncs.pl treefuncs.def
+EXTRA_DIST = $(BUILT_SOURCES) test.gob generate_treefuncs.pl treefuncs.def
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
-
-DEFS = @DEFS@ -I. -I$(srcdir) -I..
LIBS = @LIBS@
-gob_OBJECTS = main.o treefuncs.o out.o util.o checks.o parse.o lexer.o
-gob_DEPENDENCIES =
-gob_LDFLAGS =
+gob2_OBJECTS = main.o treefuncs.o out.o util.o checks.o parse.o lexer.o
+gob2_DEPENDENCIES =
+gob2_LDFLAGS =
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LEXLIB = @LEXLIB@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
GZIP_ENV = --best
-SOURCES = $(gob_SOURCES)
-OBJECTS = $(gob_OBJECTS)
+SOURCES = $(gob2_SOURCES)
+OBJECTS = $(gob2_OBJECTS)
all: all-redirect
.SUFFIXES:
maintainer-clean-compile:
-gob: $(gob_OBJECTS) $(gob_DEPENDENCIES)
- @rm -f gob
- $(LINK) $(gob_LDFLAGS) $(gob_OBJECTS) $(gob_LDADD) $(LIBS)
+gob2: $(gob2_OBJECTS) $(gob2_DEPENDENCIES)
+ @rm -f gob2
+ $(LINK) $(gob2_LDFLAGS) $(gob2_OBJECTS) $(gob2_LDADD) $(LIBS)
.l.c:
$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
.y.c:
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 \
-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.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
-test: gtk-weird-button.c gtk-weird-button.h
- $(CC) -g -Wall `gtk-config --cflags` -c gtk-weird-button.c
+test: test-object.c test-object.h
+ $(CC) -g -Wall `pkg-config --cflags gobject-2.0 gtk+-2.0` -c test-object.c
-gtk-weird-button.c gtk-weird-button.h: test.gob gob
- ./gob test.gob
+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: gtk-weird-button.cc
- g++ -g -Wall `gtk-config --cflags` -c gtk-weird-button.cc
+testcpp: test-object.cc
+ g++ -g -Wall `pkg-config --cflags gobject-2.0 gtk+-2.0` -c test-object.cc
-gtk-weird-button.cc: test.gob gob
- ./gob --for-cpp test.gob
+test-object.cc: test.gob gob2
+ ./gob2 --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.