2004-10-25 Michael Natterer <mitch@gimp.org> * libgimpbase/gimpbaseenums.[ch]: register some missing enums. * tools/pdbgen/enumcode.pl: removed code to generate plug-ins/script-fu/script-fu-constants.c, generate code to explicitely initialize and query all of libgimp*'s enums and write it to libgimp/gimpenums.c.tail * libgimp/gimpenums.h: regenerated. * libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c * libgimp/gimp.c (gimp_main): call g_type_init() and _gimp_enums_init(). * libgimp/gimp.def: added gimp_enums_get_type_names(). * plug-ins/script-fu/Makefile.am * plug-ins/script-fu/script-fu-constants.[ch]: removed these files. * plug-ins/script-fu/siod-wrapper.c: dynamically register all constants using gimp_enums_get_type_names() and introspection. Also register the built-in unit types. * plug-ins/script-fu/script-fu.c: changed accordingly.
65 lines
1.5 KiB
Makefile
65 lines
1.5 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
|
|
libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
|
|
libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
|
|
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
|
|
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
|
|
libgimpprocbrowser = $(top_builddir)/plug-ins/dbbrowser/libgimpprocbrowser.a
|
|
|
|
if OS_WIN32
|
|
mwindows = -mwindows
|
|
WINSOCK_LIBS = -lwsock32
|
|
endif
|
|
|
|
AM_LDFLAGS = $(mwindows)
|
|
|
|
SUBDIRS = siod scripts
|
|
|
|
libexecdir = $(gimpplugindir)/plug-ins
|
|
|
|
libexec_PROGRAMS = script-fu
|
|
|
|
script_fu_SOURCES = \
|
|
script-fu.c \
|
|
script-fu-console.c \
|
|
script-fu-console.h \
|
|
script-fu-interface.c \
|
|
script-fu-interface.h \
|
|
script-fu-text-console.h \
|
|
script-fu-text-console.c \
|
|
script-fu-intl.h \
|
|
script-fu-scripts.c \
|
|
script-fu-scripts.h \
|
|
script-fu-server.c \
|
|
script-fu-server.h \
|
|
script-fu-types.h \
|
|
script-fu-enums.h \
|
|
siod-wrapper.c \
|
|
siod-wrapper.h
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
$(GTK_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
if HAVE_GLIBC_REGEX
|
|
REGEXREPL =
|
|
else
|
|
REGEXREPL = $(top_builddir)/regexrepl/libregex.a
|
|
endif
|
|
|
|
LDADD = \
|
|
$(libgimpprocbrowser) \
|
|
$(libgimpui) \
|
|
$(libgimpwidgets) \
|
|
$(libgimp) \
|
|
$(libgimpcolor) \
|
|
$(libgimpbase) \
|
|
siod/libsiod.a \
|
|
$(REGEXREPL) \
|
|
$(GTK_LIBS) \
|
|
$(SOCKET_LIBS) \
|
|
$(WINSOCK_LIBS) \
|
|
$(RT_LIBS) \
|
|
$(INTLLIBS)
|