Debian Codegraph @

debian/external_deps/fetk/sg/src/aaa_lib/Makefile.am

raw
1 ### ##########################################################################
2 ### SG = < Socket Graphics >
3 ### Copyright (C) 1994-- Michael Holst
4 ###
5 ### This library is free software; you can redistribute it and/or
6 ### modify it under the terms of the GNU Lesser General Public
7 ### License as published by the Free Software Foundation; either
8 ### version 2.1 of the License, or (at your option) any later version.
9 ###
10 ### This library is distributed in the hope that it will be useful,
11 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ### Lesser General Public License for more details.
14 ###
15 ### You should have received a copy of the GNU Lesser General Public
16 ### License along with this library; if not, write to the Free Software
17 ### Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 ###
19 ### rcsid="$Id: Makefile.am,v 1.23 2010/08/12 04:56:14 fetk Exp $"
20 ### ##########################################################################
21
22 ## ###########################################################################
23 ## File: Makefile.am
24 ##
25 ## Purpose: Automatically generate Makefile.in for autoconf using automake.
26 ##
27 ## Notes: The final makefile produced by autoconf will use the following:
28 ##
29 ## COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
30 ## LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
31 ##
32 ## Author: Michael Holst
33 ## ###########################################################################
34
35 AUTOMAKE_OPTIONS = no-dependencies
36 SUFFIXES = .y .l .H .h .m .C .cc .c .f .java .o
37 always_built_SUBDIRS =
38 SUBDIRS = $(always_built_SUBDIRS) .
39
40 BASE_LIBS = ../base/libbase.la
41 OGL_LIBS = ../ogl/libogl.la
42 VGL_LIBS = ../vgl/libvgl.la
43
44 GL_LIBS = ../gl/libGL.la
45 if BUILD_GL
46 LIBGL = libGL.la
47 else
48 LIBGL =
49 endif
50
51 GLU_LIBS = ../glu/libGLU.la
52 if BUILD_GLU
53 LIBGLU = libGLU.la
54 else
55 LIBGLU =
56 endif
57
58 GLW_LIBS = ../glw/libGLw.la
59 if BUILD_GLW
60 LIBGLW = libGLw.la
61 else
62 LIBGLW =
63 endif
64
65 libdir = ${prefix}/lib
66 lib_LTLIBRARIES = libsg.la ${LIBGL} ${LIBGLU} ${LIBGLW}
67
68 libsg_la_SOURCES =
69 libsg_la_LIBADD = ${BASE_LIBS} ${OGL_LIBS} ${VGL_LIBS}
70 libsg_la_LDFLAGS = -version-info ${FETK_VERSION}
71
72 libGL_la_SOURCES =
73 libGL_la_LIBADD = ${GL_LIBS}
74 libGL_la_LDFLAGS = -version-info ${FETK_VERSION}
75
76 libGLU_la_SOURCES =
77 libGLU_la_LIBADD = ${GLU_LIBS}
78 libGLU_la_LDFLAGS = -version-info ${FETK_VERSION}
79
80 libGLw_la_SOURCES =
81 libGLw_la_LIBADD = ${GLW_LIBS}
82 libGLw_la_LDFLAGS = -version-info ${FETK_VERSION}
83