From 7b07ebcb0351cef57aa2397f49ef25979fab7472 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 14 Jun 2008 10:19:44 +0000 Subject: updated automake project files --- src/Makefile.am | 2 +- src/audio/Makefile.am | 6 ++++++ src/client/Makefile.am | 8 +++++++- src/render/Makefile.am | 6 ++++++ 4 files changed, 20 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 3f82bdd..7385b2f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,7 +8,7 @@ if BUILD_CLIENT MAYBE_CLIENT_SUBDIRS = audio render client endif -SUBDIRS = sys math auxiliary filesystem model core server $(MAYBE_CLIENT_SUBDIRS) game +SUBDIRS = sys math auxiliary filesystem model core server audio render client game noinst_HEADERS = config.h diff --git a/src/audio/Makefile.am b/src/audio/Makefile.am index f1116d8..62c482d 100644 --- a/src/audio/Makefile.am +++ b/src/audio/Makefile.am @@ -1,6 +1,12 @@ INCLUDES = -I$(top_srcdir)/src METASOURCES = AUTO + +if BUILD_DEDICATED +noinst_LTLIBRARIES = +else noinst_LTLIBRARIES = libaudio.la +endif + libaudio_la_LDFLAGS = -avoid-version -no-undefined noinst_HEADERS = audio.h buffers.h pcm.h sources.h wav.h libaudio_la_SOURCES = audio.cc buffers.cc pcm.cc sources.cc wav.cc diff --git a/src/client/Makefile.am b/src/client/Makefile.am index 56a2cc2..629102f 100644 --- a/src/client/Makefile.am +++ b/src/client/Makefile.am @@ -1,11 +1,17 @@ METASOURCES = AUTO INCLUDES = -I$(top_srcdir)/src +if BUILD_DEDICATED +noinst_LTLIBRARIES = +else +noinst_LTLIBRARIES = libclient.la +endif + libclient_la_SOURCES = chat.cc client.cc console.cc hud.cc input.cc key.cc \ keyboard.cc radar.cc video.cc view.cc libclient_la_CFLAGS = $(LIBSDL_CFLAGS) $(GL_CFLAGS) libclient_la_LDFLAGS = -avoid-version -no-undefined $(GL_LIBS) $(LIBSDL_LIBS) -noinst_LTLIBRARIES = libclient.la + noinst_HEADERS = chat.h client.h console.h input.h key.h keyboard.h radar.h \ video.h view.h libclient_la_LIBADD = $(top_builddir)/src/render/librender.la \ diff --git a/src/render/Makefile.am b/src/render/Makefile.am index 389c141..166aa99 100644 --- a/src/render/Makefile.am +++ b/src/render/Makefile.am @@ -1,6 +1,12 @@ INCLUDES = -I$(top_srcdir)/src METASOURCES = AUTO + +if BUILD_DEDICATED +noinst_LTLIBRARIES = +else noinst_LTLIBRARIES = librender.la +endif + librender_la_LDFLAGS = -avoid-version -no-undefined @GL_LIBS@ librender_la_LIBADD = $(top_builddir)/src/math/libmath.la librender_la_SOURCES = camera.cc draw.cc gl.cc image.cc render.cc text.cc \ -- cgit v1.2.3