# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4-p1 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 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.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

#
# The Gnome Basic Makefile.
# 
# Author:
#	Jody Goldberg <jgoldberg@home.com>
#	Michael Meeks <michael@imaginator.com>
# 


SHELL = /bin/sh

srcdir = .
top_srcdir = ..
prefix = /usr
exec_prefix = /usr

bindir = /usr/bin
sbindir = /usr/sbin
libexecdir = /usr/lib64
datadir = /usr/share
sysconfdir = /etc
sharedstatedir = /usr/com
localstatedir = /var/lib
libdir = /usr/lib64
infodir = /usr/share/info
mandir = /usr/share/man
includedir = /usr/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/gb
pkglibdir = $(libdir)/gb
pkgincludedir = $(includedir)/gb

top_builddir = ..

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,^,,; 

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = x86_64-mandrake-linux-gnu
host_triplet = x86_64-mandrake-linux-gnu
AS = @AS@
AWK = gawk
CATALOGS =  az.gmo ca.gmo da.gmo de.gmo el.gmo fr.gmo no.gmo ru.gmo sk.gmo sv.gmo tr.gmo uk.gmo
CATOBJEXT = .gmo
CC = gcc
DATADIRNAME = share
DLLTOOL = @DLLTOOL@
ECHO = echo
EXEEXT = 
EXTRA_GNOME_CFLAGS = -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib64/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gnome-xml
EXTRA_GNOME_LIBS = -rdynamic -L/usr/X11R6/lib64 -lgnomeprint -lgnomeui -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lart_lgpl -lm -lxml -lfreetype -lz
GB_INCLUDEDIR = -I${includedir} -I/usr/include/glib-1.2 -I/usr/lib64/glib/include
GB_LIBDIR = -L${libdir}
GB_LIBS = -lgb -lglib
GENCAT = 
GLIB_CFLAGS = -I/usr/include/glib-1.2 -I/usr/lib64/glib/include
GLIB_CONFIG = /usr/bin/glib-config
GLIB_LIBS = -lglib
GMODULE_CFLAGS = -I/usr/include/glib-1.2 -I/usr/lib64/glib/include
GMODULE_LIBS = -rdynamic -lgmodule -lglib -ldl
GMOFILES =  az.gmo ca.gmo da.gmo de.gmo el.gmo fr.gmo no.gmo ru.gmo sk.gmo sv.gmo tr.gmo uk.gmo
GMSGFMT = /usr/bin/msgfmt
GNOMEGNORBA_LIBS = -rdynamic -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
GNOMEUI_LIBS = -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
GNOME_APPLETS_LIBS = 
GNOME_CAPPLET_LIBS = 
GNOME_CONFIG = /usr/bin/gnome-config
GNOME_DOCKLETS_LIBS = 
GNOME_INCLUDEDIR = -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib64/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include
GNOME_LIBDIR = -rdynamic -L/usr/X11R6/lib64
GNOME_LIBS = -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
GNORBA_CFLAGS = -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib64/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include
GNORBA_LIBS = -rdynamic -L/usr/X11R6/lib64 -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib
GTKXMHTML_LIBS = -rdynamic -lgtkxmhtml -lXpm -ljpeg -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
GTK_CFLAGS = -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include
GTK_CONFIG = /usr/bin/gtk-config
GTK_LIBS = -lSM -lICE -L/usr/X11R6/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
GT_NO = 
GT_YES = #YES#
INCLUDE_LOCALE_H = #include <locale.h>
INSTOBJEXT = .mo
INTLDEPS = 
INTLLIBS = 
INTLOBJS = 
LEX = flex
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
LT_AGE = 1
LT_CURRENT = 1
LT_RELEASE = 0.0.20
LT_REVISION = 0
MAINT = #
MAKEINFO = makeinfo
MKINSTALLDIRS = ./mkinstalldirs
OBJDUMP = @OBJDUMP@
OBJEXT = o
ORBIT_CFLAGS = -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/orbit-1.0
ORBIT_CONFIG = /usr/bin/orbit-config
ORBIT_IDL = /usr/bin/orbit-idl
ORBIT_LIBS = -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm
PACKAGE = gb
POFILES =  az.po ca.po da.po de.po el.po fr.po no.po ru.po sk.po sv.po tr.po uk.po
POSUB = po
PTHREAD_LIB = -lpthread
RANLIB = ranlib
STRIP = strip
USE_INCLUDED_LIBINTL = no
USE_NLS = yes
VERSION = 0.0.20
XPM_LIBS = -lXpm
YACC = bison -y
ZVT_LIBS = -rdynamic -lzvt -lutil -lSM -lICE -lgdk_imlib -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
cflags_set = yes
cxxflags_set = @cxxflags_set@
l = 

LDADD = -lglib
INCLUDES = -I$(top_srcdir) -I/usr/include/glib-1.2 -I/usr/lib64/glib/include

noinst_LTLIBRARIES = libgb.la

GB_GPERF_FILES =  	function.gperf			keywords.gperf			types.gperf


GB_GPERF_OUTPUT = $(GB_GPERF_FILES:.gperf=.c)

BUILT_SOURCES = grammar.h grammar.c gb-constants.h gb-constants.c

EXTRA_DIST = $(BUILT_SOURCES) gb-constants.gba $(GB_GPERF_OUTPUT) 	$(GB_GPERF_FILES)


CLEANFILES =  $(BUILT_SOURCES) $(GB_GPERF_OUTPUT)

libgb_la_SOURCES =  	grammar.y			grammar.h			$(GB_GPERF_OUTPUT)		gb.h				gb-constants.c			gb-constants.h			gb-eval.c			gb-expr.c			gb-expr.h			gb-form.c			gb-form.h		        gb-class.h			gb-class.c			gb-frx.h			gb-frx.c			gb-frx-get.h			gb-frx-get.c			gb-lex.h			gb-lex.c			gb-main.c			gb-main.h			gb-mmap-frx.c			gb-mmap-frx.h			gb-mmap-lex.c			gb-mmap-lex.h			gb-object.c			gb-object.h			gb-project.c			gb-project.h			gb-statement.c			gb-statement.h			gb-type.c			gb-type.h			gb-value.c			gb-value.h			libgb.h


libgb_la_LIBADD = -lm -lglib $(EXTRA_GNOME_LIBS)
#
#  gperf flags
#    -c		Generates C code that uses the strncmp function to perform string
#		comparisons.
#    -k		Allows selection of the character key positions used in the 
#		keywords' hash function.
#    -l		Compare key lengths before trying a string comparison.
#    -t		Allows inclusion of a struct type declaration for generated code.
#    -C		Make the contents of all generted lookup tables constant.
#    -D		Handle keywords whose key position sets hash to duplicate values.
#    -L		Instructs gperf to generate code in the language specified by the
#		option's argument.
#    -N		Allows you to specify the name for the generated lookup function.
#
GB_keywords_GPERF_FLAGS := -k '1-5,$$' -t
GB_types_GPERF_FLAGS := -k '1-3,$$'
GB_function_GPERF_FLAGS := -k '1-3,7'
GB_method_GPERF_FLAGS := -k '1,3,5,9,10,$$' -t
GB_object_GPERF_FLAGS := -k '1-4,6,$$' -t
GB_properties_GPERF_FLAGS := -k '1-5,8-9,12,15,$$' -D -t

CFLAGS =  -g -DYYDEBUG -Wall $(EXTRA_GNOME_CFLAGS)

YFLAGS =  -d -v -p gb_

libgbincludedir = $(includedir)/gb
libgbinclude_HEADERS =  		gb.h				gb-class.h			gb-constants.h			gb-eval.h			gb-expr.h			gb-lex.h			gb-main.h			gb-mmap-lex.h			gb-object.h			gb-project.h			gb-statement.h			gb-type.h			gb-value.h			libgb.h

mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
LTLIBRARIES =  $(noinst_LTLIBRARIES)


DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS =  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include
LDFLAGS = 
LIBS = 
libgb_la_LDFLAGS = 
libgb_la_DEPENDENCIES = 
libgb_la_OBJECTS =  grammar.lo function.lo keywords.lo types.lo \
gb-constants.lo gb-eval.lo gb-expr.lo gb-form.lo gb-class.lo gb-frx.lo \
gb-frx-get.lo gb-lex.lo gb-main.lo gb-mmap-frx.lo gb-mmap-lex.lo \
gb-object.lo gb-project.lo gb-statement.lo gb-type.lo gb-value.lo
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
HEADERS =  $(libgbinclude_HEADERS)

DIST_COMMON =  Makefile.am Makefile.in grammar.c


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
SOURCES = $(libgb_la_SOURCES)
OBJECTS = $(libgb_la_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s .y
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps gb/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-noinstLTLIBRARIES:

clean-noinstLTLIBRARIES:
	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)

distclean-noinstLTLIBRARIES:

maintainer-clean-noinstLTLIBRARIES:

.c.o:
	$(COMPILE) -c $<

# FIXME: We should only use cygpath when building on Windows,
# and only if it is available.
.c.obj:
	$(COMPILE) -c `cygpath -w $<`

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core
	-rm -f *.$(OBJEXT)

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

.c.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:

maintainer-clean-libtool:

libgb.la: $(libgb_la_OBJECTS) $(libgb_la_DEPENDENCIES)
	$(LINK)  $(libgb_la_LDFLAGS) $(libgb_la_OBJECTS) $(libgb_la_LIBADD) $(LIBS)
.y.c:
	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
	if test -f y.tab.h; then \
	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
	else :; fi
grammar.h: grammar.c


install-libgbincludeHEADERS: $(libgbinclude_HEADERS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(libgbincludedir)
	@list='$(libgbinclude_HEADERS)'; for p in $$list; do \
	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libgbincludedir)/$$p"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libgbincludedir)/$$p; \
	done

uninstall-libgbincludeHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(libgbinclude_HEADERS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(libgbincludedir)/$$p; \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  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)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = gb

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
function.lo function.o : function.c
gb-class.lo gb-class.o : gb-class.c gb-expr.h gb.h gb-main.h gb-type.h \
	gb-class.h gb-value.h gb-eval.h
gb-constants.lo gb-constants.o : gb-constants.c gb.h gb-constants.h
gb-eval.lo gb-eval.o : gb-eval.c ../config.h gb.h gb-eval.h gb-expr.h \
	gb-main.h gb-type.h gb-class.h gb-value.h gb-constants.h
gb-expr.lo gb-expr.o : gb-expr.c gb-expr.h gb.h gb-main.h gb-type.h \
	gb-class.h gb-value.h
gb-form.lo gb-form.o : gb-form.c gb-expr.h gb.h gb-main.h gb-type.h \
	gb-class.h gb-value.h gb-form.h gb-eval.h
gb-frx-get.lo gb-frx-get.o : gb-frx-get.c gb.h gb-frx.h gb.h \
	gb-frx-get.h gb-mmap-frx.h gb-frx.h gb-value.h
gb-frx.lo gb-frx.o : gb-frx.c gb-statement.h gb.h gb-expr.h gb.h \
	gb-main.h gb-type.h gb-expr.h gb-class.h gb-value.h gb-eval.h \
	grammar.h gb-frx.h
gb-lex.lo gb-lex.o : gb-lex.c gb-statement.h gb.h gb-expr.h gb.h \
	gb-main.h gb-type.h gb-expr.h gb-class.h gb-value.h gb-eval.h \
	grammar.h gb-lex.h gb-mmap-lex.h gb-lex.h
gb-main.lo gb-main.o : gb-main.c libgb.h gb-main.h gb.h gb-type.h \
	gb-expr.h gb-value.h gb-class.h gb-eval.h gb-lex.h gb-project.h \
	gb-form.h gb-statement.h gb-mmap-lex.h
gb-mmap-frx.lo gb-mmap-frx.o : gb-mmap-frx.c gb.h gb-frx.h gb.h \
	gb-mmap-frx.h gb-frx.h
gb-mmap-lex.lo gb-mmap-lex.o : gb-mmap-lex.c gb.h gb-lex.h gb.h \
	gb-mmap-lex.h gb-lex.h
gb-object.lo gb-object.o : gb-object.c gb.h gb-object.h
gb-project.lo gb-project.o : gb-project.c gb-lex.h gb.h gb-eval.h \
	gb-expr.h gb-main.h gb-type.h gb-class.h gb-value.h gb-value.h \
	grammar.h gb-project.h
gb-statement.lo gb-statement.o : gb-statement.c gb-lex.h gb.h \
	gb-statement.h gb-expr.h gb-main.h gb-type.h gb-class.h \
	gb-value.h gb-eval.h
gb-stream.lo gb-stream.o : gb-stream.c gb.h gb-lex.h gb.h gb-stream.h \
	gb-value.h
gb-type.lo gb-type.o : gb-type.c gb-value.h gb.h gb-type.h gb-eval.h \
	gb-expr.h gb-main.h gb-class.h
gb-value.lo gb-value.o : gb-value.c gb.h gb-frx.h gb.h gb-value.h \
	gb-expr.h gb-main.h gb-type.h gb-expr.h gb-class.h gb-value.h \
	gb-object.h gb-eval.h gb-frx-get.h
grammar.lo grammar.o : grammar.c gb.h gb-lex.h gb-expr.h gb-main.h \
	gb-type.h gb-class.h gb-value.h gb-eval.h gb-form.h \
	gb-statement.h
keywords.lo keywords.o : keywords.c gb-statement.h gb.h gb-expr.h gb.h \
	gb-main.h gb-type.h gb-expr.h gb-class.h gb-value.h gb-eval.h \
	grammar.h
obj-test.o: obj-test.c ../config.h libgb.h gb-main.h gb.h gb-expr.h \
	gb-value.h gb-eval.h gb-lex.h gb-project.h gb-object.h
types.lo types.o : types.c

info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am

install-data-am: install-libgbincludeHEADERS
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libgbincludeHEADERS
uninstall: uninstall-am
all-am: Makefile $(LTLIBRARIES) $(HEADERS)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(libgbincludedir)


mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
	-test -z "grammarhgrammarc$(BUILT_SOURCES)" || rm -f grammarh grammarc $(BUILT_SOURCES)
mostlyclean-am:  mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
		mostlyclean-libtool mostlyclean-tags \
		mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-noinstLTLIBRARIES clean-compile clean-libtool \
		clean-tags clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-noinstLTLIBRARIES distclean-compile \
		distclean-libtool distclean-tags distclean-generic \
		clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-tags maintainer-clean-generic \
		distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool uninstall-libgbincludeHEADERS \
install-libgbincludeHEADERS tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean


gb-constants.h: gb-constants.gba
	sed -e "s/'[02].*//" $(srcdir)/gb-constants.gba | sed -e "s/'1//" | perl -pe 's/^const[ \t]+/\#define GB_C_/;s/GB_C_gb/GB_C_/' > gb-constants.h

gb-constants.c: gb-constants.gba
	sed -e "s/'[01].*//" $(srcdir)/gb-constants.gba | sed -e "s/'2//" | perl -pe 's/^const\s+(\S+)\s+(\S+)/        { "\1", \2 }, /;s/"gb/"vb/' > gb-constants.c

%.c : %.gperf
	@-rm -f $@
	gperf $(GB_$*_GPERF_FLAGS) -L 'ANSI-C' -l -C -c -N $(addsuffix _lookup, $*) $^ > $@

# 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:
