X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/3379dcdfd0872947d761053c61d773add94d38c2..4d534c82fb65897999ade6867534ab952a9bc019:/src/Makefile.in diff --git a/src/Makefile.in b/src/Makefile.in index ced6ae4..c9866dc 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,6 +1,6 @@ -# 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. @@ -59,60 +59,75 @@ POST_INSTALL = : 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_CONFIG = @GLIB_CONFIG@ GLIB_LIBS = @GLIB_LIBS@ +HAVE_LIB = @HAVE_LIB@ +INSTGOB = @INSTGOB@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ +LIB = @LIB@ +LTLIB = @LTLIB@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MV = @MV@ NOINSTGOB = @NOINSTGOB@ PACKAGE = @PACKAGE@ +PKG_CONFIG = @PKG_CONFIG@ RM = @RM@ TAR = @TAR@ VERSION = @VERSION@ YACC = @YACC@ +YFLAGS = @YFLAGS@ -YFLAGS = -d -t -SUBDIRS = +AM_YFLAGS = -d -t +SUBDIRS = . -INCLUDES = @GLIB_CFLAGS@ -I$(includedir) +#GCC specific, should not be in distributed files +#AM_CFLAGS = \ +# -Wall \ +# -Wpointer-arith \ +# -Wmissing-prototypes \ +# -Wmissing-declarations -bin_PROGRAMS = @DOINSTGOB@ -noinst_PROGRAMS = @NOINSTGOB@ -EXTRA_PROGRAMS = gob +DEFS = @DEFS@ -DPKGDATADIR=\"$(pkgdatadir)\" -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 +INCLUDES = $(GLIB_CFLAGS) -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir) -I$(top_srcdir)/src -I$(includedir) -gob_LDADD = -lm $(GLIB_LIBS) @LEXLIB@ + +@NOINSTGOB_TRUE@noinst_PROGRAMS = @NOINSTGOB@ +@NOINSTGOB_FALSE@bin_PROGRAMS = @INSTGOB@ +EXTRA_PROGRAMS = gob2 + +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 + + +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) @@ -124,8 +139,8 @@ DIST_COMMON = Makefile.am Makefile.in lexer.c parse.c 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: @@ -191,9 +206,9 @@ distclean-compile: 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: @@ -240,7 +255,7 @@ maintainer-clean-recursive: 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//`; \ @@ -282,7 +297,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 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: @@ -301,7 +316,7 @@ distdir: $(DISTFILES) @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 \ @@ -325,7 +340,6 @@ main.o: main.c ../config.h treefuncs.h parse.h out.h util.h checks.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 -tree.o: tree.c ../config.h tree.h util.o: util.c ../config.h treefuncs.h main.h util.h info-am: @@ -366,7 +380,7 @@ distclean-generic: -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 @@ -412,24 +426,24 @@ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean -parse.h: 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: 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 -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 -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 -O -W -Wall -Wunused -Wuninitialized -Wwrite-strings -Wunreachable-code -pedantic `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.