# $Id: Makefile.am,v 1.51 2004/05/24 16:11:38 christof Exp $ # since libwriters.a took about 15M (a lot of debugging information, a lot # of instantiated templates, I switched to incremental linking and turned # -g off # libwriters.o is now 1M1 CLEANFILES=*~ *.s INCLUDES=-I.. -I../SourceWriter #CXXFLAGS=-Wall EXTRA_DIST=PROBLEMS API_IDEAS 2do noinst_LIBRARIES = libwriters.a # does anybody know a decent way to tell automake about incremental linking? noinst_HEADERS = WriterBase.hh adjustment.hh bin.hh box.hh button.hh \ checkbutton.hh checkmenuitem.hh clist.hh combo.hh common.hh \ container.hh data.hh dialog.hh drawingarea.hh \ editable.hh entry.hh gnome_app.hh gnome_dialog.hh \ gnome_druidpage.hh \ item.hh label.hh menuitem.hh misc.hh radiobutton.hh range.hh \ togglebutton.hh toolitem.hh widget.hh window.hh safemap.hh libwriters_a_SOURCES = WriterBase.cc WriterBase_matches.cc Class.cc \ accellabel.cc \ accelgroup.cc adjustment.cc alignment.cc arrow.cc \ aspectframe.cc bbox.cc bonobo_dock.cc bonobo_dockitem.cc \ box.cc button.cc calendar.cc checkbutton.cc checkmenuitem.cc \ clist.cc clock.cc colorsel.cc combo.cc combobox.cc container.cc \ ctree.cc curve.cc \ custom.cc default.cc dial.cc dialog.cc drawingarea.cc editable.cc \ entry.cc eventbox.cc expander.cc fileselection.cc \ fixed.cc fontselection.cc frame.cc gamma.cc gnome_about.cc \ gnome_app.cc gnome_appbar.cc gnome_calculator.cc gnome_dateedit.cc \ gnome_dialog.cc \ gnome_dock.cc gnome_dockitem.cc gnome_druid.cc gnome_druidpage.cc \ gnome_druidpagestart.cc gnome_druidpagestd.cc \ gnome_druidpagefinish.cc gnome_entry.cc \ gnome_messagebox.cc gnome_numberentry.cc \ gnome_pixmap.cc gnome_propertybox.cc handlebox.cc \ image.cc imagemenuitem.cc inputdialog.cc \ label.cc layout.cc libglademm.cc list.cc \ menu.cc menubar.cc menuitem.cc menushell.cc misc.cc \ notebook.cc optionmenu.cc packer.cc paned.cc pixmap.cc \ pixmapmenuitem.cc placeholder.cc \ preview.cc progressbar.cc radiobutton.cc radiomenuitem.cc \ range.cc ruler.cc scale.cc scrollbar.cc \ scrolledwindow.cc separator.cc separatortoolitem.cc \ spinbutton.cc statusbar.cc \ table.cc text.cc textview.cc togglebutton.cc toolbar.cc \ toolitem.cc tooltips.cc \ tree.cc treeview.cc unknown.cc viewport.cc widget.cc \ window.cc xpmname.cc #incremental linking is difficult to teach to automake libwriters.a: $(libwriters_a_OBJECTS) $(libwriters_a_DEPENDENCIES) Makefile # $(LD) -r -o libwriters.o $(libwriters_a_OBJECTS) # touch libwriters.a (for i in $(libwriters_a_OBJECTS) ; do echo writers/$$i ; done ) >libwriters.a # for personal enjoyment .cc.s: $(CXXCOMPILE) -S $<