root/juggler/branches/2.2/modules/sonix/make.defs.mk.in

Revision 19729, 5.9 kB (checked in by patrick, 2 years ago)

Copyright update.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # ***************** <SNX heading BEGIN do not edit this line> *****************
2 #
3 # sonix
4 #
5 # Original Authors:
6 #   Kevin Meinert, Carolina Cruz-Neira
7 #
8 # ****************** <SNX heading END do not edit this line> ******************
9 # ************** <auto-copyright.pl BEGIN do not edit this line> **************
10 #
11 # VR Juggler is (C) Copyright 1998-2007 by Iowa State University
12 #
13 # Original Authors:
14 #   Allen Bierbaum, Christopher Just,
15 #   Patrick Hartling, Kevin Meinert,
16 #   Carolina Cruz-Neira, Albert Baker
17 #
18 # This library is free software; you can redistribute it and/or
19 # modify it under the terms of the GNU Library General Public
20 # License as published by the Free Software Foundation; either
21 # version 2 of the License, or (at your option) any later version.
22 #
23 # This library is distributed in the hope that it will be useful,
24 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
26 # Library General Public License for more details.
27 #
28 # You should have received a copy of the GNU Library General Public
29 # License along with this library; if not, write to the
30 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
31 # Boston, MA 02111-1307, USA.
32 #
33 # *************** <auto-copyright.pl END do not edit this line> ***************
34
35 # =============================================================================
36 # This file <make.defs.mk> provides variable information shared by all
37 # makefiles in the Sonix source tree.  It requires GNU make.
38 #
39 # Generated for use on @PLATFORM@
40 # -----------------------------------------------------------------------------
41 # All makefiles in the source tree should include this file for maximum
42 # information sharing.
43 # -----------------------------------------------------------------------------
44 # Variables defined here are:
45 #
46 # mtreedir       - Base directory containing the mtree directory hierarchy
47 #                  specifications.
48 # projdatadir    - Project-specific data directory.  This is a subdirectory
49 #                  of $(datadir).
50 # releasedir     - The absolute path to the release directory.
51 # scriptdir      - The path to the directory containing scripts used in the
52 #                  build and install/release process.
53 # topdir         - The top of the build tree.
54 # ROOT_ABS       - The absolute path to the root of the Sonix source tree.
55 #
56 # DPP_SCRIPTDIR  - The directory containing Doozer++ helper scripts.
57 # MKDEPS_CC      - Compiler for C dependencies.
58 # MKDEPS_CXX     - Compiler for CXX dependencies.
59 # MKINSTALLDIRS  - Path to shell script for making directories.
60 # MKPATH         - Path to shared dpp.*.mk file directory.
61 # MTREE_CMD      - Path to a BSD-compatible mtree.
62 #
63 # ABI           - Application Binary Interface type.  This may be used for
64 #                 other binary types when supported by the operating system
65 #                 (e.g., "ELF", "N32" or "64").
66 # ISA           - Instruction Set Architecture.  This may be used for other
67 #                 binary types when supported by the operating system (e.g.,
68 #                 "mips3" or "i386").
69 # LIBBITSUF     - Suffix for the library path used by the linker on IRIX only.
70 #                 For n32 binaries, it will be 32.  For 64-bit binaries, it
71 #                 will be 64.
72 #
73 # SNX_LIBRARY   - The base name of the core Sonix library that will be built
74 #                 with no file extension.
75 # =============================================================================
76
77 # -----------------------------------------------------------------------------
78 # Base variables needed by all makefiles.
79 # -----------------------------------------------------------------------------
80 MAJOR_VERSION=          @MAJOR_VERSION@
81 MINOR_VERSION=          @MINOR_VERSION@
82 MICRO_VERSION=          @MICRO_VERSION@
83
84 VERSION_DOT=            @VERSION_DOT@
85 VERSION_UNDERSCORE=     @VERSION_UNDERSCORE@
86
87 mtreedir=               $(topdir)/mtree
88 projdatadir=            $(datadir)/@DATA_VERSION@
89 releasedir=             $(JUGGLERROOT_ABS)/release
90 scriptdir=              $(releasedir)/scripts
91 topdir=                 @topdir@
92 top_srcdir=             @top_srcdir@
93 instprefix=             @prefix@
94
95 DPP_SCRIPTDIR=          $(JUGGLERROOT_ABS)/Doozer++/scripts
96 MAKEFLAGS+=             --no-print-directory
97 DEPGEN_TOOL_CC=         @CC@
98 DEPGEN_TOOL_CXX=        @CXX@
99 MKINSTALLDIRS=          $(scriptdir)/mkinstalldirs
100 MKPATH=                 $(JUGGLERROOT_ABS)/Doozer++/mk
101 MTREE_CMD=              @MTREE_CMD@
102 PROFLIB_EXT=            _p
103 PROF_OPT_FLAGS=         $(DBG_FLAGS)
104 RM_LN=                  @RM_LN@
105 WARNS=                  2
106 ROOT_ABS=               @projectdir@
107 JUGGLERROOT_ABS=        @JUGGLERROOT_ABS@
108 SNX_SHARE_DIR=          @SNX_SHARE_DIR@
109
110 STATICLIB_EXT=          @STATICLIB_EXT@
111 DYNAMICLIB_EXT=         @DYNAMICLIB_EXT@
112
113 # -----------------------------------------------------------------------------
114 # Extra information for the Doozer++ file common.defs.mk.
115 # -----------------------------------------------------------------------------
116 EXTRA_CFLAGS=           $(CFLAGS_DYNLIB)
117 EXTRA_CXXFLAGS=         $(CXXFLAGS_DYNLIB)
118 EXTRA_DEFS=             -DSNX_ROOT_DIR="\"$(instprefix)\""     \
119                         -DSNX_SHARE_DIR="\"$(SNX_SHARE_DIR)\"" -D_SNX_BUILD_
120 EXTRA_DEPEND_FLAGS=     -I$(ROOT_ABS)
121 EXTRA_INCLUDES=         -I$(top_srcdir)
122 EXTRA_LDFLAGS=          @EXTRA_LDFLAGS@
123
124 # -----------------------------------------------------------------------------
125 # Makedepend commands.  Doozer++ uses $(MKDEP_C) and $(MKDEP_CXX).
126 # -----------------------------------------------------------------------------
127 MKDEP_C=        $(DEPGEN_TOOL_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
128 MKDEP_CXX=      $(DEPGEN_TOOL_CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
129
130 # -----------------------------------------------------------------------------
131 # Platform- and binary-specific options.
132 # -----------------------------------------------------------------------------
133 ifdef snxABI
134    dppABI=      $(snxABI)
135 endif
136
137 # -----------------------------------------------------------------------------
138 # Library names.
139 # -----------------------------------------------------------------------------
140 SNX_LIBRARY=            @LIB_PREFIX@sonix
141
142 include $(topdir)/common.defs.mk
Note: See TracBrowser for help on using the browser.