changeset 45:f6ff410a87fd

using libtool for convienence libraries
author Robert McIntyre <rlm@mit.edu>
date Tue, 06 Mar 2012 22:07:22 -0600
parents 9d3769896d66
children b1969e1b310d
files .hgignore configure.ac src/common/Makefile.am src/filters/Makefile.am src/gb/Makefile.am src/gba/Makefile.am src/lua/Makefile.am src/prof/Makefile.am src/sdl/Makefile.am
diffstat 9 files changed, 22 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/.hgignore	Tue Mar 06 21:53:31 2012 -0600
     1.2 +++ b/.hgignore	Tue Mar 06 22:07:22 2012 -0600
     1.3 @@ -14,4 +14,4 @@
     1.4  build-aux/*
     1.5  java/dist/*
     1.6  java/headers/*
     1.7 -java//ant-targets-build.xml
     1.8 \ No newline at end of file
     1.9 +java/ant-targets-build.xml
     2.1 --- a/configure.ac	Tue Mar 06 21:53:31 2012 -0600
     2.2 +++ b/configure.ac	Tue Mar 06 22:07:22 2012 -0600
     2.3 @@ -19,6 +19,7 @@
     2.4  AC_PROG_CPP
     2.5  AC_PROG_MKDIR_P
     2.6  AC_PATH_PROG(NASM, nasm)
     2.7 +AC_PROG_LIBTOOL
     2.8  
     2.9  # Checks for libraries.
    2.10  AC_CHECK_LIB(z, gzopen,
     3.1 --- a/src/common/Makefile.am	Tue Mar 06 21:53:31 2012 -0600
     3.2 +++ b/src/common/Makefile.am	Tue Mar 06 22:07:22 2012 -0600
     3.3 @@ -1,6 +1,6 @@
     3.4 -noinst_LIBRARIES = libgbcom.a
     3.5 +noinst_LTLIBRARIES = libgbcom.la
     3.6  
     3.7 -libgbcom_a_SOURCES = \
     3.8 +libgbcom_la_SOURCES = \
     3.9  	CheatSearch.h		\
    3.10  	inputGlobal.h		\
    3.11  	memgzio.h		\
     4.1 --- a/src/filters/Makefile.am	Tue Mar 06 21:53:31 2012 -0600
     4.2 +++ b/src/filters/Makefile.am	Tue Mar 06 22:07:22 2012 -0600
     4.3 @@ -1,13 +1,13 @@
     4.4  SUFFIXES = .asm
     4.5  
     4.6 -noinst_LIBRARIES = lib386.a libfilter.a
     4.7 +noinst_LTLIBRARIES = lib386.la libfilter.la
     4.8  
     4.9 -lib386_a_SOURCES = 2xSaImmx.asm
    4.10 +lib386_la_SOURCES = 2xSaImmx.asm
    4.11  
    4.12  .asm.o:
    4.13  	$(NASM) -f elf -o $@ $<
    4.14  
    4.15 -libfilter_a_SOURCES = \
    4.16 +libfilter_la_SOURCES = \
    4.17  	2xSaI.cpp		\
    4.18  	admame.cpp		\
    4.19  	bilinear.cpp		\
     5.1 --- a/src/gb/Makefile.am	Tue Mar 06 21:53:31 2012 -0600
     5.2 +++ b/src/gb/Makefile.am	Tue Mar 06 22:07:22 2012 -0600
     5.3 @@ -1,6 +1,6 @@
     5.4 -noinst_LIBRARIES = libgb.a
     5.5 +noinst_LTLIBRARIES = libgb.la
     5.6  
     5.7 -libgb_a_SOURCES = \
     5.8 +libgb_la_SOURCES = \
     5.9  	gbCheats.h	\
    5.10  	gbCodesCB.h	\
    5.11  	gbCodes.h	\
     6.1 --- a/src/gba/Makefile.am	Tue Mar 06 21:53:31 2012 -0600
     6.2 +++ b/src/gba/Makefile.am	Tue Mar 06 22:07:22 2012 -0600
     6.3 @@ -1,6 +1,6 @@
     6.4 -noinst_LIBRARIES = libgba.a
     6.5 +noinst_LTLIBRARIES = libgba.la
     6.6  
     6.7 -libgba_a_SOURCES = \
     6.8 +libgba_la_SOURCES = \
     6.9  	agbprint.h	\
    6.10  	armdis.h	\
    6.11  	arm-new.h	\
     7.1 --- a/src/lua/Makefile.am	Tue Mar 06 21:53:31 2012 -0600
     7.2 +++ b/src/lua/Makefile.am	Tue Mar 06 22:07:22 2012 -0600
     7.3 @@ -1,6 +1,6 @@
     7.4 -noinst_LIBRARIES = libgblua.a
     7.5 +noinst_LTLIBRARIES = libgblua.la
     7.6  
     7.7 -libgblua_a_SOURCES = \
     7.8 +libgblua_la_SOURCES = \
     7.9  	lapi.h 		\
    7.10  	lauxlib.h 	\
    7.11  	lcode.h 	\
     8.1 --- a/src/prof/Makefile.am	Tue Mar 06 21:53:31 2012 -0600
     8.2 +++ b/src/prof/Makefile.am	Tue Mar 06 22:07:22 2012 -0600
     8.3 @@ -1,6 +1,6 @@
     8.4 -noinst_LIBRARIES = libprof.a
     8.5 +noinst_LTLIBRARIES = libprof.la
     8.6  
     8.7 -libprof_a_SOURCES = \
     8.8 +libprof_la_SOURCES = \
     8.9  	gmon.h		\
    8.10  	gmon_out.h	\
    8.11  	prof.cpp	\
     9.1 --- a/src/sdl/Makefile.am	Tue Mar 06 21:53:31 2012 -0600
     9.2 +++ b/src/sdl/Makefile.am	Tue Mar 06 22:07:22 2012 -0600
     9.3 @@ -27,13 +27,13 @@
     9.4  
     9.5  
     9.6  VisualBoyAdvance_LDADD =   	\
     9.7 -	../common/libgbcom.a	\
     9.8 -	../gb/libgb.a		\
     9.9 -	../gba/libgba.a		\
    9.10 -	../filters/lib386.a 	\
    9.11 -	../filters/libfilter.a	\
    9.12 -	../prof/libprof.a	\
    9.13 -	../lua/libgblua.a       
    9.14 +	../common/libgbcom.la	\
    9.15 +	../gb/libgb.la		\
    9.16 +	../gba/libgba.la		\
    9.17 +	../filters/lib386.la 	\
    9.18 +	../filters/libfilter.la	\
    9.19 +	../prof/libprof.la	\
    9.20 +	../lua/libgblua.la       
    9.21  
    9.22  # TestEmu_SOURCES = \
    9.23  # 	TestEmu.cpp		\