tdopewars finally builds and installs properly both with plugins and with stati… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b5cd13c78ad6c2453786dcde5e4e1c611462092b | |
parent c531ccd9b1397278a0ac81fd13c4610961e6fdc9 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 13 May 2002 15:55:16 +0000 | |
dopewars finally builds and installs properly both with plugins and with | |
static modules. | |
Diffstat: | |
M src/plugins/Makefile.am | 16 ++++++++++++++-- | |
1 file changed, 14 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am | |
t@@ -1,4 +1,4 @@ | |
-lib_LTLIBRARIES = libsound_esd.la libsound_sdl.la libsound_winmm.la | |
+noinst_LTLIBRARIES = libsound_esd.la libsound_sdl.la libsound_winmm.la | |
libsound_esd_la_SOURCES = sound_esd.c sound_esd.h | |
libsound_esd_la_LDFLAGS = @ESD_LIBS@ | |
libsound_sdl_la_SOURCES = sound_sdl.c sound_sdl.h | |
t@@ -6,12 +6,24 @@ libsound_sdl_la_LDFLAGS = @SDL_LIBS@ | |
libsound_winmm_la_SOURCES = sound_winmm.c sound_winmm.h | |
LIBS = @GLIB_LIBS@ | |
INCLUDES = @SOUND_CFLAGS@ @GLIB_CFLAGS@ | |
+LINKNOO = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) | |
if PLUGINS | |
PLUGINDIR = ${DESTDIR}${plugindir} | |
PLUGINS = .libs/libsound_sdl.so .libs/libsound_esd.so .libs/libsound_winmm.so | |
-install-exec-local: | |
+all-local: ${PLUGINS} | |
+ | |
+.libs/libsound_esd.so: $(libsound_esd_la_OBJECTS) | |
+ $(LINKNOO) -o libsound_esd.la -rpath $(libdir) $(libsound_esd_la_LDFLA… | |
+ | |
+.libs/libsound_sdl.so: $(libsound_sdl_la_OBJECTS) | |
+ $(LINKNOO) -o libsound_sdl.la -rpath $(libdir) $(libsound_sdl_la_LDFLA… | |
+ | |
+.libs/libsound_winmm.so: $(libsound_winmm_la_OBJECTS) | |
+ $(LINKNOO) -o libsound_winmm.la -rpath $(libdir) $(libsound_winmm_la_L… | |
+ | |
+install-exec-am: | |
${mkinstalldirs} ${PLUGINDIR} | |
for plug in ${PLUGINS}; do \ | |
${INSTALL} ${srcdir}/$${plug} ${PLUGINDIR}; \ |