# src/Makefile.am - Copyright 2005, 2006, University # of Padova, dept. of Pure and Applied # Mathematics # # This file is part of SGPEMv2. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # SGPEMv2 is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with SGPEMv2; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA SUBDIRS = backend builtin-policies pyloader testsuite #additional rules: %_wrap.cc : %.i $(SWIG) $(SWIG_PYTHON_OPT) -o $@ $< # Program & library names bin_PROGRAMS = sgpemv2 # Other directories sharedir = $(pkgdatadir) pycdir = $(sharedir)/policies moddir = $(sharedir)/modules localedir = @datadir@/locale sgpemv2_CPPFLAGS = -I@top_srcdir@ \ -I@srcdir@/templates \ -DPYCDIR="\"$(pycdir)\"" \ -DMODDIR="\"$(moddir)\"" \ -DLOCALEDIR="\"$(localedir)\"" \ $(CAIRO_CFLAGS) \ $(GTKMM_CFLAGS) sgpemv2_LDFLAGS = -L@builddir@/backend \ -L@builddir@/pyloader \ $(LT_LDFLAGS) sgpemv2_LDADD = -lbackend -lpyloader \ $(CAIRO_LIBS) \ $(GTKMM_LIBS) # Please keep this in sorted order: sgpemv2_SOURCES = \ graphicalterminalio.cc \ main.cc \ mainwindow.cc \ parseopts.cc \ startgui.cc noinst_HEADERS = \ iomanager.hh \ main.hh \ mainwindow.hh \ startgui.hh \ graphicalterminalio.hh \ parseopts.hh