]> git.draconx.ca Git - upkg.git/blob - src/engine/Makefile.inc
engine: Implement Engine.Palette.
[upkg.git] / src / engine / Makefile.inc
1 # Copyright (C) 2009 Nick Bowler
2 # Copying and distribution of this file, with or without modification,
3 # are permitted in any medium without royalty provided the copyright
4 # notice and this notice are preserved.  This file is offered as-is,
5 # without any warranty.
6
7 noinst_HEADERS += engine/texture.h engine/palette.h \
8         engine/music.h engine/music-module.h
9
10 pkglib_LTLIBRARIES += engine.la
11 engine_la_SOURCES   = engine/engine.c engine/music.c engine/texture.c \
12         engine/palette.c
13 engine_la_CFLAGS    = $(GLIB_CFLAGS)
14 engine_la_LIBADD    = $(GLIB_LIBS)
15 engine_la_LDFLAGS   = -module -avoid-version -export-symbols-regex _LTX_
16
17 if USE_DUMMYMOD
18 engine_la_SOURCES += engine/music-dummymod.c
19 endif
20
21 if USE_LIBMODPLUG
22 engine_la_SOURCES += engine/music-modplug.c engine/modplug-types.h
23 engine_la_CFLAGS  += $(LIBMODPLUG_CFLAGS)
24 engine_la_LIBADD  += $(LIBMODPLUG_LIBS)
25 endif