BUILT_SOURCES = chrysamarshal.h chrysamarshal.c resources.h resources.c noinst_LTLIBRARIES = libglibext4.la libglibextui.la # libglibext.la libglibext_la_SOURCES = \ comparison-int.h \ comparison.h comparison.c \ configuration-int.h \ configuration.h configuration.c \ gbinarycursor.h gbinarycursor.c \ gbinportion-int.h \ gbinportion.h gbinportion.c \ glinecursor-int.h \ glinecursor.h glinecursor.c \ gnhash.h gnhash.c \ notifier.h \ objhole.h \ proto.h \ seq.h seq.c \ _signal.h signal.c \ singleton.h singleton.c \ linetoken.h linetoken.c \ umemslice-int.h \ umemslice.h umemslice.c if BUILD_GTK_SUPPORT libglibext_la_SOURCES += \ gloadedpanel-int.h \ gloadedpanel.h gloadedpanel.c \ named-int.h \ named.h named.c endif libglibext_la_CFLAGS = $(TOOLKIT_CFLAGS) $(LIBXML_CFLAGS) #libglibext_la_LIBADD = \ # generators/libglibextgenerators.la libglibext4_la_SOURCES = \ chrysamarshal.h chrysamarshal.c \ helpers.h \ work-int.h \ work.h work.c \ workgroup-int.h \ workgroup.h workgroup.c \ workqueue-int.h \ workqueue.h workqueue.c libglibext4_la_CFLAGS = $(TOOLKIT_CFLAGS) RES_FILES = \ tokenstyle.css libglibextui_la_SOURCES = \ buffercache-int.h \ buffercache.h buffercache.c \ bufferline-int.h \ bufferline.h bufferline.c \ bufferview-int.h \ bufferview.h bufferview.c \ generator-int.h \ generator.h generator.c \ linecolumn.h linecolumn.c \ linetoken.h linetoken.c \ options-int.h \ options.h options.c \ tokenstyle-int.h \ tokenstyle.h tokenstyle.c \ resources.h resources.c \ widthtracker-int.h \ widthtracker.h widthtracker.c libglibextui_la_CFLAGS = $(LIBGTK4_CFLAGS) libglibextui_la_LIBADD = \ generators/libglibextgenerators.la \ options/libglibextoptions.la devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%) dev_HEADERS = $(libglibext_la_SOURCES:%c=) SUBDIRS = generators options chrysamarshal.h: chrysamarshal.list glib-genmarshal --header $< > $@ chrysamarshal.c: chrysamarshal.list echo "#include <$(subst .c,.h,$@)>" > $@ glib-genmarshal --body $< >> $@ resources.c: gresource.xml $(RES_FILES) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name glibext gresource.xml resources.h: gresource.xml glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name glibext gresource.xml CLEANFILES = resources.h resources.c EXTRA_DIST = gresource.xml $(RES_FILES)