1lib_LTLIBRARIES = libleptongui.la
2
3BUILT_SOURCES = \
4	g_action.x \
5	g_attrib.x \
6	g_hook.x \
7	g_keys.x \
8	g_util.x \
9	g_window.x \
10	g_select.x \
11	scheme_undo.x
12
13libleptongui_la_SOURCES = \
14	a_zoom.c \
15	g_action.c \
16	g_attrib.c \
17	g_hook.c \
18	g_keys.c \
19	g_register.c \
20	g_select.c \
21	g_util.c \
22	g_window.c \
23	globals.c \
24	lepton-schematic.c \
25	gschemhotkeystore.c \
26	gschem_about_dialog.c \
27	gschem_accel_label.c \
28	gschem_action.c \
29	gschem_alignment_combo.c \
30	gschem_arc_dialog.c \
31	gschem_bin.c \
32	gschem_binding.c \
33	gschem_binding_integer.c \
34	gschem_bottom_widget.c \
35	gschem_close_confirmation_dialog.c \
36	gschem_coord_dialog.c \
37	gschem_dialog.c \
38	gschem_dialog_misc.c \
39	gschem_fill_swatch_cell_renderer.c \
40	gschem_find_text_state.c \
41	gschem_find_text_widget.c \
42	gschem_hotkey_dialog.c \
43	gschem_integer_combo_box.c \
44	gschem_log_widget.c \
45	gschem_macro_widget.c \
46	gschem_main_window.c \
47	gschem_object_properties_widget.c \
48	gschem_options.c \
49	gschem_options_widget.c \
50	gschem_page_geometry.c \
51	gschem_page_view.c \
52	gschem_pin_type_combo.c \
53	gschem_preview.c \
54	gschem_rotation_combo.c \
55	gschem_selection_adapter.c \
56	gschem_show_hide_text_widget.c \
57	gschem_slot_edit_dialog.c \
58	gschem_swatch_column_renderer.c \
59	gschem_text_properties_widget.c \
60	gschem_translate_widget.c \
61	gschem_toplevel.c \
62	i_basic.c \
63	i_callbacks.c \
64	i_vars.c \
65	m_basic.c \
66	o_arc.c \
67	o_attrib.c \
68	o_basic.c \
69	o_box.c \
70	o_buffer.c \
71	o_bus.c \
72	o_circle.c \
73	o_component.c \
74	o_copy.c \
75	o_delete.c \
76	o_find.c \
77	o_grips.c \
78	o_line.c \
79	o_misc.c \
80	o_move.c \
81	o_net.c \
82	o_path.c \
83	o_picture.c \
84	o_pin.c \
85	o_place.c \
86	o_select.c \
87	o_slot.c \
88	o_text.c \
89	o_undo.c \
90	s_stretch.c \
91	schematic_hierarchy.c \
92	x_attribedit.c \
93	x_autonumber.c \
94	x_basic.c \
95	x_clipboard.c \
96	x_color.c \
97	x_colorcb.c \
98	x_compselect.c \
99	x_dialog.c \
100	x_event.c \
101	x_fileselect.c \
102	x_fstylecb.c \
103	x_grid.c \
104	x_image.c \
105	x_integerls.c \
106	x_linecapcb.c \
107	x_linetypecb.c \
108	x_menus.c \
109	x_misc.c \
110	x_multiattrib.c \
111	x_newtext.c \
112	page_select_widget.c \
113	x_print.c \
114	x_rc.c \
115	x_stroke.c \
116	x_window.c \
117	x_widgets.c \
118	scheme_undo.c \
119	x_tabs.c \
120	color_edit_widget.c \
121	font_select_widget.c
122
123libleptongui_la_CPPFLAGS = -I$(top_srcdir)/liblepton/include  -I$(srcdir)/../include \
124	-I$(top_srcdir) -I$(includedir)
125libleptongui_la_CFLAGS = $(GCC_CFLAGS) $(LIBSTROKE_CFLAGS) \
126	$(MINGW_CFLAGS) \
127	$(GLIB_CFLAGS) $(GTK_CFLAGS) $(GTHREAD_CFLAGS) $(GUILE_CFLAGS) $(CFLAGS)
128libleptongui_la_LDFLAGS = -version-info $(LIBLEPTONGUI_SHLIB_VERSION) \
129	$(LIBSTROKE_LDFLAGS) $(GLIB_LIBS) $(GTK_LIBS) \
130	$(GTHREAD_LIBS) $(GUILE_LIBS) $(MINGW_GUI_LDFLAGS)
131
132libleptongui_la_LIBADD = \
133	$(top_builddir)/liblepton/src/liblepton.la
134
135
136# This is used to generate boilerplate for defining Scheme functions
137# in C.
138SUFFIXES = .x
139snarf_cpp_opts = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
140	$(libleptongui_la_CPPFLAGS) $(AM_CFLAGS) $(libleptongui_la_CFLAGS)
141.c.x:
142	$(AM_V_GEN) CPP="$(CPP)" $(GUILE_SNARF) -o $@ $< $(snarf_cpp_opts)
143
144localedir = @datadir@/locale
145DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
146
147CLEANFILES = $(BUILT_SOURCES)
148