root/juggler/branches/2.2/modules/vrjuggler/plugins/make.defs.mk.in

Revision 20574, 5.2 kB (checked in by patrick, 1 year ago)

Use Flagpoll in the VR Juggler plug-in build process to figure out where to
install things.

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