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

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