2 # NOTE: Don't forget that in the libtool distribution, files in this
3 # directory are distributed by the demo_distfiles variable in the top
11 g_register.c g_hook.c\
12 g_rc.c g_keys.c g_funcs.c \
14 i_basic.c i_callbacks.c i_vars.c \
15 o_basic.c o_attrib.c o_move.c o_copy.c o_delete.c o_misc.c \
17 o_arc.c o_box.c o_circle.c o_complex.c o_select.c o_find.c \
18 o_line.c o_net.c o_text.c o_pin.c o_bus.c o_buffer.c o_undo.c \
20 x_autonumber.c x_basic.c x_dialog.c \
21 x_event.c x_grid.c x_log.c x_menus.c x_script.c \
22 x_pagesel.c x_print.c x_window.c x_stroke.c x_image.c x_color.c \
23 x_compselect.c x_fileselect.c x_preview.c x_attribedit.c \
32 INCLUDES = -I$(prefix)/include -I$(top_srcdir)/intl -I$(top_srcdir)/include @GSCHEM_CFLAGS@
33 gschem_LDADD = -L$(prefix)/lib @GSCHEM_LDFLAGS@ @LIBINTL@
35 localedir = @datadir@/locale
36 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
39 EXTRA_DIST = create_proto rcstrings.c
42 src: $(gschem_SOURCES)
43 @echo Finished building the C source
46 CPROTOCFLAGS = $(INCLUDES) -I. -I.. -I../include
47 ALES_HACK = -D__GNUC__
51 prototype.h: $(gschem_SOURCES)
52 $(CPROTO) $(ALES_HACK) $(CPROTOCFLAGS) *.c > new_proto
53 mv new_proto ../include/prototype.h
56 rm -f po/$(PACKAGE).pot
57 @mv -f po/POTFILES.in po/POTFILES.in~ ; true
58 grep '\([^A-Za-z0-9_]_(\)\|\(^_(\)\|\(gettext[[:blank:]]*(\)' \
59 *.c | cut -d: -f1 | sort -u >po/POTFILES.in
62 MOSTLYCLEANFILES = *.log core FILE *~ prototype.bak
63 CLEANFILES = *.log core FILE *~ prototype.bak
64 DISTCLEANFILES = *.log core FILE *~ prototype.bak
65 MAINTAINERCLEANFILES = *.log core FILE *~ prototype.bak prototype.h \