grim/guifications3

moved all of our enum junk to use glib-mkenums.
org.guifications.gf3
2009-10-10, Gary Kramlich
0b5513f16fc8
moved all of our enum junk to use glib-mkenums.

This has cleaned up a bunch of duplicated crap as well as gotten me to finally document the enums.

Also, due to the way glib-mkenums works, we had to change the GEnumValue member we use for i18n support from the name to the nick.
EXTRA_DIST=
LDADDS=\
$(top_builddir)/gflib/libgflib.la \
$(GLIB_LIBS)
INCLUDES=\
-I$(top_srcdir) \
-I$(top_builddir)/gflib/
noinst_PROGRAMS = \
testlog \
genobjects
genobjects_SOURCES = genobjects.c
genobjects_LDADD = $(LDADDS)
TEST_PROGS =
TEST_PROGS += testlog
testlog_SOURCES = testlog.c
testlog_LDADD = $(LDADDS)
AM_CPPFLAGS = \
-DTOP_SRCDIR=\"$(top_srcdir)\" \
$(INCLUDES) \
$(DEBUG_CFLAGS) \
$(GLIB_CFLAGS) \
$(GOBJECT_CFLAGS)
test: ${TEST_PROGS}
@test -z "${TEST_PROGS}" || gtester --verbose ${TEST_PROGS}
.PHONY: test
check-local: test