root/juggler/tags/1.0.7/Sound/Makefile.in

Revision 8789, 4.0 kB (checked in by patrickh, 7 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, 1999, 2000, 2001, 2002
4 #   by Iowa State University
5 #
6 # Original Authors:
7 #   Allen Bierbaum, Christopher Just,
8 #   Patrick Hartling, Kevin Meinert,
9 #   Carolina Cruz-Neira, Albert Baker
10 #
11 # This library is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU Library General Public
13 # License as published by the Free Software Foundation; either
14 # version 2 of the License, or (at your option) any later version.
15 #
16 # This library is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 # Library General Public License for more details.
20 #
21 # You should have received a copy of the GNU Library General Public
22 # License along with this library; if not, write to the
23 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 # Boston, MA 02111-1307, USA.
25 #
26 # -----------------------------------------------------------------
27 # File:          $RCSfile$
28 # Date modified: $Date$
29 # Version:       $Revision$
30 # -----------------------------------------------------------------
31 #
32 # *************** <auto-copyright.pl END do not edit this line> ***************
33
34 # -----------------------------------------------------------------------------
35 # Makefile.in for juggler/Sound.  It requires GNU make.
36 #
37 # Generated for use on @PLATFORM@
38 # -----------------------------------------------------------------------------
39
40 default: all
41
42 # Define ${_LOCAL_CLEAN} and ${_LOCAL_CLEANDEP} to inform the shared 'clean'
43 # target and shared 'cleandepend' target that there are local '_clean' and
44 # '_cleandepend' targets to be run besides the standard targets.
45 _LOCAL_CLEAN    = 1
46 _LOCAL_CLEANDEP = 1
47
48 # Include common definitions.
49 include @topdir@/Makefile.base
50
51 includedir      = @includedir@/Sound
52 srcdir          = @srcdir@
53 top_srcdir      = @top_srcdir@
54 INSTALL         = @INSTALL@
55 VJROOT          = ${top_srcdir}
56 VJ_SRCDIR       = @VJ_SRCDIR@/Sound
57 WORKDIR         = ${topdir}/Sound
58
59 # Add 'install-recursive' to ${INSTALL_DEPS} so installations will be
60 # completed.  This has to be done before including <vj.install.mk>
61 # unfortunately.
62 INSTALL_DEPS    += install-recursive
63
64 # Prefix for recursive stuff.
65 DIRPRFX         = Sound/
66
67 SUBDIRS         = pf
68
69 # Subdirectories to compile.
70 ifeq (@AUDIO_WORKS@, Y)
71     SUBDIRS     += aw
72 endif
73
74 ifeq (@SL@, Y)
75     SUBDIRS     += sl
76 endif
77
78 # Search path for source code and object files.
79 vpath
80 vpath %.c @srcdir@
81 vpath %.cpp @srcdir@
82 vpath %.${OBJ_FILE_SUFFIX} ${OBJDIR}
83
84 SOUND_SRCS      := vjSound.cpp                        \
85                vjSoundEngine.cpp                \
86                vjSoundFactory.cpp    \
87                vjSoundManager.cpp
88
89 SOUND_OBJECTS   := ${addprefix ${OBJDIR}/,${SOUND_SRCS:.cpp=.${OBJ_FILE_SUFFIX}}}
90 DEPEND_FILES    := ${SOUND_SRCS:.cpp=.d}
91
92 # Include source building, recursive, dependency and installation targets.
93 include ${MKPATH}/vj.compile.mk
94 include ${MKPATH}/vj.rec.mk
95 include ${MKPATH}/vj.dep.mk
96 include ${MKPATH}/vj.install.mk
97
98 # ----------------------------------------------------------------------------- # Library targets.
99 # -----------------------------------------------------------------------------
100 all dbg opt dso ddso obj: ${SOUND_OBJECTS}
101         @${MAKE} RECTARGET="$@" OPTIMIZER="${OPTIMIZER}"        \
102             BASE_OBJDIR="${BASE_OBJDIR}" recursive
103
104 install-recursive:
105         @target=`echo $@ | sed s/-recursive//` ;                \
106             ${MAKE} RECTARGET="$$target" recursive
107
108 # -----------------------------------------------------------------------------
109 # Clean-up.
110 # -----------------------------------------------------------------------------
111 CLEAN_FILES     += ${SOUND_OBJECTS}
112
113 _clean:
114         @${MAKE} RECTARGET="clean" recursive
115
116 _cleandepend:
117         @${MAKE} DO_CLEANDEPEND=1 RECTARGET="cleandepend" recursive
118
119 # -----------------------------------------------------------------------------
120 # Include dependencies generated by make automatically.
121 # -----------------------------------------------------------------------------
122 ifndef DO_CLEANDEPEND
123     -include ${DEPEND_FILES}
124 endif
Note: See TracBrowser for help on using the browser.