| 1 |
# ************** <auto-copyright.pl BEGIN do not edit this line> ************** |
|---|
| 2 |
# |
|---|
| 3 |
# VR Juggler is (C) Copyright 1998, 1999, 2000 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 |
# ----------------------------------------------------------------- |
|---|
| 26 |
# File: $RCSfile$ |
|---|
| 27 |
# Date modified: $Date$ |
|---|
| 28 |
# Version: $Revision$ |
|---|
| 29 |
# ----------------------------------------------------------------- |
|---|
| 30 |
# |
|---|
| 31 |
# *************** <auto-copyright.pl END do not edit this line> *************** |
|---|
| 32 |
|
|---|
| 33 |
# ----------------------------------------------------------------------------- |
|---|
| 34 |
# Makefile.in for juggler/Threads. It requires GNU make. |
|---|
| 35 |
# |
|---|
| 36 |
# Generated for use on @PLATFORM@ |
|---|
| 37 |
# ----------------------------------------------------------------------------- |
|---|
| 38 |
|
|---|
| 39 |
default: all |
|---|
| 40 |
|
|---|
| 41 |
# Include common definitions. |
|---|
| 42 |
include @topdir@/Makefile.base |
|---|
| 43 |
|
|---|
| 44 |
includedir = @includedir@/Threads |
|---|
| 45 |
srcdir = @srcdir@ |
|---|
| 46 |
top_srcdir = @top_srcdir@ |
|---|
| 47 |
INSTALL = @INSTALL@ |
|---|
| 48 |
VJROOT = ${top_srcdir} |
|---|
| 49 |
VJ_SRCDIR = @VJ_SRCDIR@/Threads |
|---|
| 50 |
WORKDIR = ${topdir}/Threads |
|---|
| 51 |
|
|---|
| 52 |
# Include source building, dependency and installation targets. |
|---|
| 53 |
include ${MKPATH}/vj.compile.mk |
|---|
| 54 |
include ${MKPATH}/vj.dep.mk |
|---|
| 55 |
include ${MKPATH}/vj.install.mk |
|---|
| 56 |
|
|---|
| 57 |
# Search path for source code and object files. |
|---|
| 58 |
vpath |
|---|
| 59 |
vpath %.c @srcdir@ |
|---|
| 60 |
vpath %.cpp @srcdir@ |
|---|
| 61 |
vpath %.${OBJ_FILE_SUFFIX} ${OBJDIR} |
|---|
| 62 |
|
|---|
| 63 |
THREAD_SRCS := vjBaseThread.cpp \ |
|---|
| 64 |
vjTSObject.cpp \ |
|---|
| 65 |
vjTSTable.cpp \ |
|---|
| 66 |
vjThreadFunctor.cpp \ |
|---|
| 67 |
vjThreadManager.cpp \ |
|---|
| 68 |
vjThreadPool.cpp |
|---|
| 69 |
|
|---|
| 70 |
ifeq (@THREAD_SYS@,POSIX) |
|---|
| 71 |
THREAD_SRCS += vjThreadPosix.cpp |
|---|
| 72 |
endif |
|---|
| 73 |
ifeq (@THREAD_SYS@, IRIX_SPROC) |
|---|
| 74 |
THREAD_SRCS += vjThreadSGI.cpp |
|---|
| 75 |
endif |
|---|
| 76 |
ifeq (@THREAD_SYS@,WIN32) |
|---|
| 77 |
THREAD_SRCS += vjThreadWin32.cpp |
|---|
| 78 |
endif |
|---|
| 79 |
|
|---|
| 80 |
THREAD_OBJECTS := ${addprefix ${OBJDIR}/,${THREAD_SRCS:.cpp=.${OBJ_FILE_SUFFIX}}} |
|---|
| 81 |
DEPEND_FILES := ${THREAD_SRCS:.cpp=.d} |
|---|
| 82 |
|
|---|
| 83 |
# ----------------------------------------------------------------------------- |
|---|
| 84 |
# Library targets. |
|---|
| 85 |
# ----------------------------------------------------------------------------- |
|---|
| 86 |
all dbg opt dso ddso obj: ${THREAD_OBJECTS} |
|---|
| 87 |
|
|---|
| 88 |
# ----------------------------------------------------------------------------- |
|---|
| 89 |
# Clean-up. |
|---|
| 90 |
# ----------------------------------------------------------------------------- |
|---|
| 91 |
CLEAN_FILES += ${THREAD_OBJECTS} |
|---|
| 92 |
|
|---|
| 93 |
# ----------------------------------------------------------------------------- |
|---|
| 94 |
# Include dependencies generated by make automatically. |
|---|
| 95 |
# ----------------------------------------------------------------------------- |
|---|
| 96 |
ifndef DO_CLEANDEPEND |
|---|
| 97 |
-include ${DEPEND_FILES} |
|---|
| 98 |
endif |
|---|