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

Revision 19729, 5.7 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 Gadgeteer 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 # GADGETROOT_ABS - The absolute path to the root of the Gadgeteer source tree.
47 #
48 # DPP_SCRIPTDIR  - The directory containing Doozer++ helper scripts.
49 # MKDEPS_CC      - Compiler for C dependencies.
50 # MKDEPS_CXX     - Compiler for CXX dependencies.
51 # MKINSTALLDIRS  - Path to shell script for making directories.
52 # MKPATH         - Path to shared dpp.*.mk file directory.
53 # MTREE_CMD      - Path to a BSD-compatible mtree.
54 #
55 # ABI           - Application Binary Interface type.  This may be used for
56 #                 other binary types when supported by the operating system
57 #                 (e.g., "ELF", "N32" or "64").
58 # ISA           - Instruction Set Architecture.  This may be used for other
59 #                 binary types when supported by the operating system (e.g.,
60 #                 "mips3" or "i386").
61 # LIBBITSUF     - Suffix for the library path used by the linker on IRIX only.
62 #                 For n32 binaries, it will be 32.  For 64-bit binaries, it
63 #                 will be 64.
64 #
65 # GADGET_LIBRARY - The base name of the core Gadgeteer library that will be
66 #                  built with no file extension.
67 # =============================================================================
68
69 # -----------------------------------------------------------------------------
70 # Base variables needed by all makefiles.
71 # -----------------------------------------------------------------------------
72 MAJOR_VERSION=          @MAJOR_VERSION@
73 MINOR_VERSION=          @MINOR_VERSION@
74 MICRO_VERSION=          @MICRO_VERSION@
75
76 VERSION_DOT=            @VERSION_DOT@
77 VERSION_UNDERSCORE=     @VERSION_UNDERSCORE@
78
79 mtreedir=               $(topdir)/mtree
80 projdatadir=            $(datadir)/@DATA_VERSION@
81 releasedir=             @JUGGLERROOT_ABS@/release
82 scriptdir=              $(releasedir)/scripts
83 topdir=                 @topdir@
84 top_srcdir=             @top_srcdir@
85 instprefix=             @prefix@
86
87 DPP_SCRIPTDIR=          $(JUGGLERROOT_ABS)/Doozer++/scripts
88 MAKEFLAGS+=             --no-print-directory
89 DEPGEN_TOOL_CC=         @CC@
90 DEPGEN_TOOL_CXX=        @CXX@
91 MKINSTALLDIRS=          $(scriptdir)/mkinstalldirs
92 MKPATH=                 $(JUGGLERROOT_ABS)/Doozer++/mk
93 MTREE_CMD=              @MTREE_CMD@
94 PROFLIB_EXT=            _p
95 PROF_OPT_FLAGS=         $(DBG_FLAGS)
96 RM_LN=                  @RM_LN@
97 WARNS=                  2
98 GADGETROOT_ABS=         @GADGETROOT_ABS@
99 JUGGLERROOT_ABS=        @JUGGLERROOT_ABS@
100 GADGET_SHARE_DIR=       @GADGET_SHARE_DIR@
101
102 STATICLIB_EXT=          @STATICLIB_EXT@
103 DYNAMICLIB_EXT=         @DYNAMICLIB_EXT@
104
105 # -----------------------------------------------------------------------------
106 # Extra information for the Doozer++ file common.defs.mk.
107 # -----------------------------------------------------------------------------
108 EXTRA_CFLAGS=           $(CFLAGS_DYNLIB)
109 EXTRA_CXXFLAGS=         $(CXXFLAGS_DYNLIB)
110 EXTRA_DEFS=             -DGADGET_ROOT_DIR="\"$(instprefix)\"" \
111                         -DGADGET_SHARE_DIR="\"$(GADGET_SHARE_DIR)\"" \
112                         -D_GADGET_BUILD_
113 EXTRA_DEPEND_FLAGS=     -I$(GADGETROOT_ABS)
114 EXTRA_INCLUDES=         -I$(top_srcdir)
115 EXTRA_LDFLAGS=          @EXTRA_LDFLAGS@
116
117 # -----------------------------------------------------------------------------
118 # Makedepend commands.  Doozer++ uses $(MKDEP_C) and $(MKDEP_CXX).
119 # -----------------------------------------------------------------------------
120 MKDEP_C=        $(DEPGEN_TOOL_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
121 MKDEP_CXX=      $(DEPGEN_TOOL_CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
122
123 # -----------------------------------------------------------------------------
124 # Platform- and binary-specific options.
125 # -----------------------------------------------------------------------------
126 ifdef gadgetABI
127     dppABI=     $(gadgetABI)
128 endif
129
130 # -----------------------------------------------------------------------------
131 # Library names.
132 # -----------------------------------------------------------------------------
133 GADGET_LIBRARY= @LIB_PREFIX@gadget
134
135 include $(topdir)/common.defs.mk
Note: See TracBrowser for help on using the browser.