| 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 VR Juggler 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 |
# VJROOT_ABS - The absolute path to the root of the VR Juggler source tree. |
|---|
| 47 |
# VJ_SHARE_DIR - The name of the directory where the VR Juggler data files, |
|---|
| 48 |
# test programs, and sample apps are installed. This is |
|---|
| 49 |
# only the name of the directory, not the full path to it. |
|---|
| 50 |
# |
|---|
| 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 |
# VJ_LIBRARY - The base name of the core Juggler library that will be built |
|---|
| 69 |
# with no file extension. |
|---|
| 70 |
# GL_LIBRARY - The base name of the OpenGL Juggler API library with no file |
|---|
| 71 |
# extension. |
|---|
| 72 |
# PF_LIBRARY - The base name of the Performer Juggler API library with no |
|---|
| 73 |
# file extension. |
|---|
| 74 |
# ============================================================================= |
|---|
| 75 |
|
|---|
| 76 |
# ----------------------------------------------------------------------------- |
|---|
| 77 |
# Base variables needed by all makefiles. |
|---|
| 78 |
# ----------------------------------------------------------------------------- |
|---|
| 79 |
MAJOR_VERSION= @MAJOR_VERSION@ |
|---|
| 80 |
MINOR_VERSION= @MINOR_VERSION@ |
|---|
| 81 |
MICRO_VERSION= @MICRO_VERSION@ |
|---|
| 82 |
|
|---|
| 83 |
VERSION_DOT= @VERSION_DOT@ |
|---|
| 84 |
VERSION_UNDERSCORE= @VERSION_UNDERSCORE@ |
|---|
| 85 |
|
|---|
| 86 |
mtreedir= $(topdir)/mtree |
|---|
| 87 |
projdatadir= $(datadir)/@DATA_VERSION@ |
|---|
| 88 |
releasedir= @JUGGLERROOT_ABS@/release |
|---|
| 89 |
scriptdir= $(releasedir)/scripts |
|---|
| 90 |
topdir= @topdir@ |
|---|
| 91 |
top_srcdir= @top_srcdir@ |
|---|
| 92 |
instprefix= @prefix@ |
|---|
| 93 |
|
|---|
| 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 |
VJROOT_ABS= @VJROOT_ABS@ |
|---|
| 106 |
JUGGLERROOT_ABS= @JUGGLERROOT_ABS@ |
|---|
| 107 |
VJ_SHARE_DIR= @VJ_SHARE_DIR@ |
|---|
| 108 |
|
|---|
| 109 |
GL_API= @OPENGL_API@ |
|---|
| 110 |
|
|---|
| 111 |
ifndef NO_PERFORMER |
|---|
| 112 |
PF_API= @PERFORMER_API@ |
|---|
| 113 |
endif |
|---|
| 114 |
|
|---|
| 115 |
# ----------------------------------------------------------------------------- |
|---|
| 116 |
# Extra information for the Doozer++ file common.defs.mk. |
|---|
| 117 |
# ----------------------------------------------------------------------------- |
|---|
| 118 |
EXTRA_CFLAGS= $(CFLAGS_DYNLIB) |
|---|
| 119 |
EXTRA_CXXFLAGS= $(CXXFLAGS_DYNLIB) |
|---|
| 120 |
EXTRA_DEFS= -DVJ_ROOT_DIR="\"$(instprefix)\"" \ |
|---|
| 121 |
-DVJ_SHARE_DIR="\"$(VJ_SHARE_DIR)\"" -D_VRJ_BUILD_ |
|---|
| 122 |
EXTRA_DEPEND_FLAGS= -I$(VJROOT_ABS) |
|---|
| 123 |
EXTRA_INCLUDES= -I$(top_srcdir) |
|---|
| 124 |
EXTRA_LDFLAGS= @EXTRA_LDFLAGS@ |
|---|
| 125 |
|
|---|
| 126 |
# ----------------------------------------------------------------------------- |
|---|
| 127 |
# Makedepend commands. Doozer++ uses $(MKDEP_C) and $(MKDEP_CXX). |
|---|
| 128 |
# ----------------------------------------------------------------------------- |
|---|
| 129 |
MKDEP_C= $(DEPGEN_TOOL_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
|---|
| 130 |
MKDEP_CXX= $(DEPGEN_TOOL_CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) |
|---|
| 131 |
|
|---|
| 132 |
# ----------------------------------------------------------------------------- |
|---|
| 133 |
# Platform- and binary-specific options. |
|---|
| 134 |
# ----------------------------------------------------------------------------- |
|---|
| 135 |
ifdef vjABI |
|---|
| 136 |
dppABI= $(vjABI) |
|---|
| 137 |
endif |
|---|
| 138 |
|
|---|
| 139 |
# ----------------------------------------------------------------------------- |
|---|
| 140 |
# Library names. |
|---|
| 141 |
# ----------------------------------------------------------------------------- |
|---|
| 142 |
VJ_LIBRARY= @LIB_PREFIX@vrj |
|---|
| 143 |
GL_LIBRARY= @LIB_PREFIX@vrj_ogl |
|---|
| 144 |
PF_LIBRARY= @LIB_PREFIX@vrj_pf |
|---|
| 145 |
|
|---|
| 146 |
include $(topdir)/common.defs.mk |
|---|