1 ## Process this file with automake to produce Makefile.in
12 $(GDK_PIXBUF_CFLAGS) \
15 -DLOCALEDIR=\"$(localedir)\"
21 paginate_gnomeprint.c \
23 embed_extra_print_files =
28 embed_extra_print_files = \
33 noinst_PROGRAMS = run_dia.sh run_diaconv.sh diaconv
35 run_diaconv_sh_SOURCES =
38 dia_embedd = dia-embedd
39 dia_oafinfo = GNOME_Dia.oaf
45 bin_PROGRAMS = dia $(dia_embedd)
47 oafinfodir = $(datadir)/oaf
48 oafinfo_DATA = $(dia_oafinfo)
78 connectionpoint_ops.h \
79 connectionpoint_ops.c \
140 diagram_tree_window.h \
141 diagram_tree_window.c \
142 diagram_tree_menu.h \
143 diagram_tree_menu.c \
144 diagram_tree_menu_callbacks.h \
145 diagram_tree_menu_callbacks.c \
152 sheets_dialog_callbacks.c \
153 sheets_dialog_callbacks.h \
168 dia_LDADD = ../lib/libdia.a \
170 $(APP_LIBS) $(XML_LIBS) $(GTK_LIBS) $(GNOME_LIBS) \
171 $(LIBART_LIBS) $(PNG_LIBS) $(GDK_PIXBUF_LIBS) $(FREETYPE_LIBS) \
172 $(UNICODE_LIBS) $(INTLLIBS) $(INTLOBJS)
174 diaconv_LDADD = ../lib/libdia.a \
176 $(APP_LIBS) $(XML_LIBS) $(GTK_LIBS) $(GNOME_LIBS) \
177 $(LIBART_LIBS) $(PNG_LIBS) $(GDK_PIXBUF_LIBS) $(FREETYPE_LIBS) \
178 $(UNICODE_LIBS) $(INTLLIBS) $(INTLOBJS)
180 ## Bonobo embeddable dia. Commented out, because it's a bit raw.
181 ## Especially the configure/make parts.
183 dia_embedd_SOURCES = \
185 $(embed_extra_print_files) \
188 dia_embedd_LDADD = ../lib/libdia.a \
190 $(APP_LIBS) $(XML_LIBS) $(BONOBO_LIBS) \
191 $(LIBART_LIBS) $(PNG_LIBS) $(GDK_PIXBUF_LIBS) $(INTLLIBS) \
192 $(FREETYPE_LIBS) $(UNICODE_LIBS)
194 LDFLAGS = -export-dynamic
198 render_gnomeprint.c \
199 render_gnomeprint.h \
200 paginate_gnomeprint.c \
201 paginate_gnomeprint.h \
204 paginate_gdiprint.cpp \
205 paginate_gdiprint.h \
211 pixmaps/default.xpm \
214 pixmaps/hand-open-data.xbm \
215 pixmaps/hand-open-mask.xbm \
216 pixmaps/hand-closed-data.xbm \
217 pixmaps/hand-closed-mask.xbm \
218 pixmaps/landscape.xpm \
219 pixmaps/line_break.xpm \
221 pixmaps/magnify.xpm \
222 pixmaps/magnify-plus-data.xbm \
223 pixmaps/magnify-plus-mask.xbm \
224 pixmaps/magnify-minus-data.xbm \
225 pixmaps/magnify-minus-mask.xbm \
228 pixmaps/portrait.xpm \
231 pixmaps/snap-to-grid.xpm \
232 pixmaps/snap-to-grid-mask.xpm \
235 run_dia.sh: Makefile.am
236 echo "#!$(SHELL) " > run_dia.sh
237 echo "export DIA_LIB_PATH DIA_SHAPE_PATH DIA_INT_SHAPE_PATH DIA_SHEET_PATH" >> run_dia.sh
238 echo DIA_LIB_PATH=`pwd`/../objects//:`pwd`/../plug-ins// >> run_dia.sh
239 echo DIA_SHAPE_PATH=`pwd`/../shapes >> run_dia.sh
240 echo DIA_INT_SHAPE_PATH=`pwd`/../objects >> run_dia.sh
241 echo DIA_SHEET_PATH=`pwd`/../sheets >> run_dia.sh
243 echo "\$$DEBUGGER `pwd`/dia \$$*" >> run_dia.sh
246 run_diaconv.sh: run_dia.sh
247 cat run_dia.sh | sed -e "s%`pwd`/dia%`pwd`/diaconv%g" >run_diaconv.sh
248 chmod a+x run_diaconv.sh