Static AND Dynamic linking at the same time
- From: Tieum <surnom.surnom@xxxxxxx>
- Date: Mon, 26 Dec 2005 12:48:01 +0100
Hello,
I have a project written with GTKMM but I do not want the user to have to
get GTKMM libs. SO I'd like to have GTKMM static linked ans GTK dynamic
linked.
My Makefile.am in src/ directory is:
INCLUDES =\
$(GTKMM_CFLAGS)\
$(LIBXMLPP_CFLAGS)
AM_CXXFLAGS =\
-Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wparentheses
-Wpointer-arith -Winline -Woverloaded-virtual\
-g
bin_PROGRAMS = departements
departements_SOURCES = \
departements.cc\
JmpDptWindow.cc\
JmpDptWindow.hh\
JmpDptWindow_glade.cc\
JmpDptWindow_glade.hh\
departements_data.hh\
enums.h\
JmpDptAboutDialog.cc\
JmpDptAboutDialog.hh\
JmpDptAboutDialog_glade.cc\
JmpDptAboutDialog_glade.hh\
JmpDptOptionsDialog.cc\
JmpDptOptionsDialog.hh\
JmpDptOptionsDialog_glade.cc\
JmpDptOptionsDialog_glade.hh
departements_LDFLAGS =
departements_LDADD = \
$(GTKMM_LIBS)\
$(LIBXMLPP_LIBS)
Whatcan I change to have the desired behaviour ?
Note: full source code is at
http://mpupat.free.fr/jmp/downloads/departements-0.4.tar.gz
Thanks,
--
Matthieu
-----------------------------------------------------------------
Pour m'écrire remplacer surnom par tieum les 2 fois
.
- Follow-Ups:
- Re: Static AND Dynamic linking at the same time
- From: Paul Pluzhnikov
- Re: Static AND Dynamic linking at the same time
- Prev by Date: Re: dynamic ELF -> static executable?
- Next by Date: Re: signals/threads
- Previous by thread: dynamic ELF -> static executable?
- Next by thread: Re: Static AND Dynamic linking at the same time
- Index(es):