- Separate work in a main program and two libraries. This is experimental, and

ideally it should be a target to work towards decoupling
- Still more experimental, added support for visibility exports from DSOs. Need
testing from someone with GCC 4.0


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@206 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-01-26 18:31:23 +00:00
parent 1515b2065f
commit 26f88aa4cf
11 changed files with 368 additions and 17 deletions

55
src/pyloader/Makefile.am Normal file
View file

@ -0,0 +1,55 @@
# src/pyloader/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
# you'll want to setup a testsuite for this component, sooner or later.
#SUBDIRS = testsuite
#additional rules:
%_wrap.cc : %.i
$(SWIG) $(SWIG_PYTHON_OPT) -o $@ $<
# Program & library names
pkglib_LTLIBRARIES = libpyloader.la
# Other directories
sharedir = @datadir@/sgpemv2
pycdir = $(sharedir)/policies
moddir = $(sharedir)/modules
localedir = @datadir@/locale
libpyloader_la_CPPFLAGS = -I@top_srcdir@ \
-DPYCDIR="\"$(pycdir)\"" \
-DMODDIR="\"$(moddir)\"" \
-DLOCALEDIR="\"$(localedir)\"" \
$(PYTHON_CPPFLAGS)
libpyloader_la_LIBADD = $(PYTHON_LDFLAGS) \
$(PYTHON_EXTRA_LIBS)
libpyloader_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS)
# Please keep this in sorted order:
libpyloader_la_SOURCES = empty.cc
noinst_HEADERS =
# !! temp file for debug, will be deleted as soon as
# !! source's in place
empty.cc :
echo "int main() {}" > @builddir@/$@