tInitial attempt to force libtool to install plugin modules in the right direct… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c531ccd9b1397278a0ac81fd13c4610961e6fdc9 | |
parent d283d105e45194c73160a7e1ec0175fc3c4138fe | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 13 May 2002 15:55:00 +0000 | |
Initial attempt to force libtool to install plugin modules in | |
tthe right directory. | |
Diffstat: | |
M src/plugins/Makefile.am | 11 +++++++++++ | |
1 file changed, 11 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am | |
t@@ -6,3 +6,14 @@ libsound_sdl_la_LDFLAGS = @SDL_LIBS@ | |
libsound_winmm_la_SOURCES = sound_winmm.c sound_winmm.h | |
LIBS = @GLIB_LIBS@ | |
INCLUDES = @SOUND_CFLAGS@ @GLIB_CFLAGS@ | |
+ | |
+if PLUGINS | |
+PLUGINDIR = ${DESTDIR}${plugindir} | |
+PLUGINS = .libs/libsound_sdl.so .libs/libsound_esd.so .libs/libsound_winmm.so | |
+ | |
+install-exec-local: | |
+ ${mkinstalldirs} ${PLUGINDIR} | |
+ for plug in ${PLUGINS}; do \ | |
+ ${INSTALL} ${srcdir}/$${plug} ${PLUGINDIR}; \ | |
+ done | |
+endif |