# $Id: Makefile.am,v 1.59 2007/01/17 00:35:03 ahvezda Exp $ # # NOTE: Don't forget that in the libtool distribution, files in this # directory are distributed by the demo_distfiles variable in the top # level Makefile. AUTOMAKE_OPTIONS = foreign if CCISGCC AM_CFLAGS = -Wall endif # Build a libtool library, libhello.la for installation in libdir. lib_LTLIBRARIES = libgeda.la libgeda_la_SOURCES = \ a_basic.c f_basic.c f_print.c f_image.c g_basic.c m_basic.c \ o_arc_basic.c o_attrib.c o_basic.c o_box_basic.c \ o_circle_basic.c o_complex_basic.c o_line_basic.c o_list.c \ o_net_basic.c o_selection.c o_bus_basic.c o_text_basic.c \ o_pin_basic.c o_image.c o_embed.c \ u_basic.c s_attrib.c s_basic.c \ s_clib.c s_encoding.c s_hierarchy.c s_papersizes.c s_stretch.c \ s_log.c \ s_page.c s_slib.c s_color.c s_undo.c s_conn.c \ s_cue.c s_tile.c s_menu.c s_toplevel.c g_smob.c libgeda.c \ g_register.c g_rc.c i_vars.c o_picture.c gdk-pixbuf-hacks.c INCLUDES = -I$(top_srcdir)/include @LIBGEDA_CFLAGS@ libgeda_la_LDFLAGS = @LIBTOOL_FLAGS@ @LIBGEDA_LDFLAGS@ LIBTOOL=@LIBTOOL@ --silent EXTRA_DIST = create_proto src: $(libgeda_la_SOURCES) @echo Finished building the C source CPROTO = cproto CPROTOCFLAGS = $(INCLUDES) -I. -I.. -I../include ALES_HACK = -D__GNUC__ proto: prototype.h prototype.h: $(libgeda_la_SOURCES) $(CPROTO) $(ALES_HACK) $(CPROTOCFLAGS) *.c > new_proto mv new_proto ../include/prototype.h MOSTLYCLEANFILES = *.log core FILE *~ prototype.bak CLEANFILES = *.log core FILE *~ prototype.bak DISTCLEANFILES = *.log core FILE *~ prototype.bak MAINTAINERCLEANFILES = *.log core FILE *~ prototype.bak prototype.h \ Makefile.in configure # Unfortunately, in order to test libtool thoroughly, we need access # to its private directory. objdir = `sed -n -e 's/^objdir=\"\(.*\)\"$$/\1/p' ./libtool`