1 #
2 # The 3D Studio File Format Library
3 # Copyright (C) 1996-2007 by Jan Eric Kyprianidis <www.kyprianidis.com>
4 # All rights reserved.
5 #
6 # This program is  free  software;  you can redistribute it and/or modify it
7 # under the terms of the  GNU Lesser General Public License  as published by
8 # the  Free Software Foundation;  either version 2.1 of the License,  or (at
9 # your option) any later version.
10 #
11 # This  program  is  distributed in  the  hope that it will  be useful,  but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 # or  FITNESS FOR A  PARTICULAR PURPOSE.  See the  GNU Lesser General Public
14 # License for more details.
15 #
16 # You should  have received  a copy of the GNU Lesser General Public License
17 # along with  this program;  if not, write to the  Free Software Foundation,
18 # Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 #
20 # $Id: Makefile.am,v 1.15 2007/06/15 09:53:20 jeh Exp $
21 #
22
23lib3dsdir=$(includedir)/lib3ds
24
25INCLUDES = -I$(top_srcdir)
26
27lib_LTLIBRARIES = lib3ds.la
28
29lib3ds_la_LDFLAGS = \
30  -version-info $(LIB3DS_MINOR_VERSION):$(LIB3DS_MICRO_VERSION):0 \
31  -release $(LIB3DS_MAJOR_VERSION)
32
33lib3ds_la_LIBADD = -lm
34
35lib3ds_la_SOURCES = \
36  io.c \
37  vector.c \
38  matrix.c \
39  quat.c \
40  tcb.c \
41  ease.c \
42  chunktable.h \
43  chunk.c \
44  file.c \
45  background.c \
46  atmosphere.c \
47  shadow.c \
48  viewport.c \
49  material.c \
50  mesh.c \
51  camera.c \
52  light.c \
53  tracks.c \
54  node.c
55
56lib3ds_HEADERS = \
57  types.h \
58  io.h \
59  vector.h \
60  matrix.h \
61  quat.h \
62  tcb.h \
63  ease.h \
64  chunk.h \
65  file.h \
66  background.h \
67  atmosphere.h \
68  shadow.h \
69  viewport.h \
70  material.h \
71  mesh.h \
72  camera.h \
73  light.h \
74  tracks.h \
75  node.h
76
77EXTRA_DIST = \
78  types.txt \
79  chunktable.sed
80
81chunktable.h: chunk.h chunktable.sed
82	sed -f chunktable.sed chunk.h >chunktable.h
83
84chunk.c: chunktable.h
85
86
87