1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
|
#
# This file is part of the MLV Library.
#
# Copyright (C) 2010 Adrien Boussicault, Marc Zipstein
#
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this Library. If not, see <http://www.gnu.org/licenses/>.
#
mlv_includedir=${includedir}/MLV
if OS_IS_APPLE
lib_LTLIBRARIES = libMLV.la libMLVMain.la
else
lib_LTLIBRARIES = libMLV.la
endif
libMLV_la_SOURCES = \
animation.c \
audio.c \
color.c \
event.c \
shapes.c \
image.c \
informations.c \
keyboard.c \
mouse.c \
path.c \
playlist.c \
input_box.c \
input_box_wait.c \
random.c \
sdlkeyboardtochar.c \
text.c \
time.c \
turtle.c \
xml.c \
list.c \
mathematics.c \
key.c \
tree_set.c \
tree_map.c \
window.c
if OS_IS_APPLE
libMLVMain_la_SOURCES = \
SDLMain.m
endif
if MEMORY_DEBUG
libMLV_la_SOURCES += memory_debug.c
endif
if MEMORY_DEBUG
libMLV_la_CFLAGS = ${libxml_CFLAGS} ${glib_CFLAGS} -DDATA_PATH=\"${DATA_PATH}\"
libMLV_la_LIBADD = ${libxml_LIBS} ${glib_LIBS}
else
libMLV_la_CFLAGS = ${sdl_CFLAGS} ${sdlttf_CFLAGS} ${sdlimage_CFLAGS} ${sdlmixer_CFLAGS} ${libxml_CFLAGS} ${glib_CFLAGS} -DDATA_PATH=\"${DATA_PATH}\"
libMLV_la_LIBADD = ${sdl_LIBS} ${libxml_LIBS} ${glib_LIBS} ${sdlttf_LIBS} ${sdlgfx_LIBS} ${sdlimage_LIBS} ${sdlmixer_LIBS}
endif
libMLV_la_LDFLAGS = -version-info $(MLV_CURRENT):$(MLV_REVISION):$(MLV_AGE)
# To Compile .DLL
if RELATIVEPATH
libMLV_la_LDFLAGS += -no-undefined
endif
mlv_include_HEADERS = \
MLV_audio.h \
MLV_all.h \
MLV_animation.h \
MLV_color.h \
MLV_device_with_buttons.h \
MLV_event.h \
MLV_shape.h \
MLV_image.h \
MLV_information.h \
MLV_input_box_va.h \
MLV_keyboard.h \
MLV_mouse.h \
MLV_path.h \
MLV_playlist.h \
MLV_input_box.h \
MLV_random.h \
MLV_text.h \
MLV_text_va.h \
MLV_time.h \
MLV_turtle.h \
MLV_xml.h \
MLV_xml_va.h \
MLV_window.h
noinst_HEADERS = \
image.h \
data_structure.h \
memory_debug.h \
memory_management.h \
platform.h \
input_box.h \
sdlkeyboardtochar.h \
text.h \
warning_error.h \
mathematics.h \
list.h \
key.h \
tree_set.h \
tree_map.h \
turtle.h \
SDLMain.h \
window.h
check_PROGRAMS = \
test_list \
test_random \
test_turtle
TESTS = $(check_PROGRAMS)
test_turtle_SOURCES = test_turtle.c
test_turtle_CPPFLAGS = ${MLV_CPPFLAGS}
test_turtle_LDFLAGS = ${MLV_LDFLAGS}
test_turtle_LDADD = ${MLV_LIBADD}
test_list_SOURCES = test_list.c
test_list_CPPFLAGS = ${MLV_CPPFLAGS}
test_list_LDFLAGS = ${MLV_LDFLAGS}
test_list_LDADD = ${MLV_LIBADD}
test_random_SOURCES = test_random.c
test_random_CPPFLAGS = ${MLV_CPPFLAGS}
test_random_LDFLAGS = ${MLV_LDFLAGS}
test_random_LDADD = ${MLV_LIBADD}
|