1 ## Process this file with automake to produce Makefile.in
30 pkglib_LTLIBRARIES = libdia.la
33 dia_broken_icon $(srcdir)/pixmaps/broken.png \
34 dia_broken_chain_icon $(srcdir)/pixmaps/broken-chain.png \
35 dia_unbroken_chain_icon $(srcdir)/pixmaps/unbroken-chain.png
37 # Note that this doesn't seem to get run automatically. It should, but
38 # I'm not gonna chase goblins right now.
40 gdk-pixbuf-csource --build-list $(ICON_PNG_PAIRS) > dia-lib-icons.h
42 BUILT_SOURCES = dia-lib-icons.h diamarshal.h diamarshal.c
134 diainteractiverenderer.c \
139 dialibartrenderer.h \
140 dialibartrenderer.c \
170 libdia_la_LDFLAGS = -avoid-version
174 -DDIA_LIBDIR=\"$(libdir)\" \
175 -DDIA_DATADIR=\"$(pkgdatadir)\"
177 sheetdir = $(pkgdatadir)/sheets
179 INCLUDES = -I$(top_srcdir)/intl $(DEBUG_FLAGS) $(GDK_PIXBUF_CFLAGS) \
180 $(XML_CFLAGS) $(GNOME_CFLAGS) $(GTK_CFLAGS) \
181 -DDIA_SHEETDIR=\"$(sheetdir)\" \
182 $(PANGOFT2_CFLAGS) $(LIBART_CFLAGS) $(UNICODE_CFLAGS)
184 libdia_la_extra_sources = diamarshal.list
187 # rules to generate built sources
189 # setup autogeneration dependancies
190 gen_sources = xgen-gwmh xgen-gwmc diamarshal.c diamarshal.h
191 CLEANFILES = $(gen_sources)
193 diamarshal.h: diamarshal.list
194 $(GLIB_GENMARSHAL) --prefix=dia_marshal $(srcdir)/diamarshal.list --header >> xgen-gwmh \
195 && (cmp -s xgen-gwmh $(@F) || cp xgen-gwmh $(@F)) \
196 && rm -f xgen-gwmh xgen-gwmh~
198 diamarshal.c: diamarshal.h
199 echo "#include \"diamarshal.h\"" >> xgen-gwmc \
200 && $(GLIB_GENMARSHAL) --prefix=dia_marshal $(srcdir)/diamarshal.list --body >> xgen-gwmc \
201 && cp xgen-gwmc $(@F) \
202 && rm -f xgen-gwmc xgen-gwmc~
205 EXTRA_DIST = libdia.def makefile.msc diamarshal.list