1## Process this file with automake to produce Makefile.in
2
3EXTRA_DIST = loadlg.l loadcfg.l
4
5bin_PROGRAMS = adonthell-dlgedit
6
7headers = \
8    cfg_data.h \
9    cfg_io.h \
10    cfg_project.h \
11    dlg_arrow.h \
12    dlg_circle.h \
13    dlg_circle_entry.h \
14    dlg_cmdline.h \
15    dlg_compiler.h \
16    dlg_module.h \
17    dlg_module_entry.h \
18    dlg_mover.h \
19    dlg_node.h \
20    dlg_node_gfx.h \
21    dlg_point.h \
22    dlg_rect.h \
23    dlg_types.h \
24    gui_circle.h \
25    gui_circle_events.h \
26    gui_code.h \
27    gui_dlgedit.h \
28    gui_dlgedit_events.h \
29    gui_edit.h \
30    gui_error.h \
31    gui_file.h \
32    gui_graph.h \
33    gui_graph_events.h \
34    gui_list.h \
35    gui_list_events.h \
36    gui_messages.h \
37    gui_modal_dialog.h \
38    gui_recent_files.h \
39    gui_resources.h \
40    gui_scrollable.h \
41    gui_settings.h \
42    gui_tooltip.h \
43    gui_tree.h \
44    kb_traverse.h \
45    util.h
46
47adonthell_dlgedit_SOURCES = \
48    cfg_data.cc \
49    cfg_io.cc \
50    cfg_project.cc \
51    dlg_arrow.cc \
52    dlg_circle.cc \
53    dlg_circle_entry.cc \
54    dlg_cmdline.cc \
55    dlg_compiler.cc \
56    dlg_module.cc \
57    dlg_module_entry.cc \
58    dlg_mover.cc \
59    dlg_node.cc \
60    dlg_node_gfx.cc \
61    dlg_point.cc \
62    dlg_rect.cc \
63    gui_circle.cc \
64    gui_circle_events.cc \
65    gui_code.cc \
66    gui_dlgedit.cc \
67    gui_dlgedit_events.cc \
68    gui_edit.cc \
69    gui_error.cc \
70    gui_file.cc \
71    gui_graph.cc \
72    gui_graph_events.cc \
73    gui_list.cc \
74    gui_list_events.cc \
75    gui_messages.cc \
76    gui_modal_dialog.cc \
77    gui_resources.cc \
78    gui_recent_files.cc \
79    gui_scrollable.cc \
80    gui_settings.cc \
81    gui_tooltip.cc \
82    gui_tree.cc \
83    kb_traverse.cc \
84    lex.loadcfg.cc \
85    lex.loadlg.cc \
86    main.cc \
87    util.cc \
88    $(headers)
89
90# preparation for switching to GTK+ 3.0
91GTK_3_0_FLAGS = -DGSEAL_ENABLE -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
92
93AM_CPPFLAGS = -I@top_srcdir@/src
94adonthell_dlgedit_CXXFLAGS = -D_VERSION_=\"0.3.6\" $(SDL_CFLAGS) $(GTK_CFLAGS) $(GTK_3_0_FLAGS) $(PY_CFLAGS) $(IGE_MAC_CFLAGS)
95adonthell_dlgedit_LDADD = ../../libadonthell.a $(GTK_LIBS) $(PY_LIBS) $(IGE_MAC_LIBS)
96
97lex.loadlg.cc: loadlg.l
98	flex -olex.loadlg.cc $<
99
100lex.loadcfg.cc: loadcfg.l
101	flex -olex.loadcfg.cc $<
102