- Added the possibility to pass LT_LDFLAGS to configure in order

to obtain a completely static build


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@241 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-01-27 19:26:27 +00:00
parent 420a7f0e95
commit 50c64762ef
3 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,15 @@
2006-01-27 17:57 tchernobog
* trunk/ChangeLog, trunk/configure.ac, trunk/src/Makefile.am,
trunk/src/backend, trunk/src/backend/Makefile.am,
trunk/src/graphicalterminalio.cc,
trunk/src/graphicalterminalio.hh, trunk/src/gtkgui,
trunk/src/iomanager.hh, trunk/src/main.cc, trunk/src/main.hh,
trunk/src/mainwindow.cc, trunk/src/mainwindow.hh,
trunk/src/startgui.cc, trunk/src/startgui.hh: - Reorganize sources
to split them across three parts: - The main program, the frontend
- A pyton loader library - The backend library Happy hacking.
2006-01-27 15:33 tchernobog 2006-01-27 15:33 tchernobog
* trunk/doc/sgpem2dman.texi: - Fix grammar and form in chapter * trunk/doc/sgpem2dman.texi: - Fix grammar and form in chapter

View File

@ -45,6 +45,10 @@ dnl starting automake
AM_INIT_AUTOMAKE([dejagnu dist-bzip2]) AM_INIT_AUTOMAKE([dejagnu dist-bzip2])
dnl gettext & libtool dnl gettext & libtool
AC_ARG_VAR([LT_LDFLAGS],
[You can use this variable to pass an option
to libtool when it is in linking mode (for
example, "-all-static")])
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.14.1]) AM_GNU_GETTEXT_VERSION([0.14.1])

View File

@ -39,7 +39,9 @@ sgpemv2_CPPFLAGS = -I@top_srcdir@ \
-DLOCALEDIR="\"$(localedir)\"" \ -DLOCALEDIR="\"$(localedir)\"" \
$(CAIRO_CFLAGS) \ $(CAIRO_CFLAGS) \
$(GTKMM_CFLAGS) $(GTKMM_CFLAGS)
sgpemv2_LDFLAGS = -L@builddir@/backend -L@builddir@/pyloader sgpemv2_LDFLAGS = -L@builddir@/backend \
-L@builddir@/pyloader \
$(LT_LDFLAGS)
sgpemv2_LDADD = -lbackend -lpyloader \ sgpemv2_LDADD = -lbackend -lpyloader \
$(CAIRO_LIBS) \ $(CAIRO_LIBS) \
$(GTKMM_LIBS) $(GTKMM_LIBS)