source: trunk/src/octave/Makefile.in @ 675

Last change on this file since 675 was 665, checked in by dkearney, 17 years ago

Updates to Rappture::Utils::progress for all languages
removed the dependancy on Rappture.Units from within number.py, it should only depend on Rappture which will include Rappture.Units
added Rappture.Units as a module to load when people import Rappture in python.
added -V pbs variable to queue.py to include qsub environment variables in the submitted job.
updated setup.py.in to install Rappture.Utils
added progress bar to all app-fermi examples showing how to use the Rappture::Utils::progress function in all languages.
added destructor definitions to Node classes in src2/core

File size: 4.5 KB
Line 
1
2ifndef RP_INSTALL_BASE
3RP_INSTALL_BASE = @prefix@
4endif
5
6# tell make where to find the expat & libscew headers
7INCL_RP_DEPS    = -I$(RP_INSTALL_BASE)/include
8
9LIB_SCEW_FLAG   = -L$(RP_INSTALL_BASE)/lib -lscew
10
11# define the top of the rappture directory structure
12RP_BASE   = @RP_BASE@
13
14# define our compiling environment
15#
16OCT             = @MKOCTFILE@
17
18# define our directories
19#
20INCLUDES_DIR    = $(RP_BASE)/src
21LIB_DIR         = $(RP_BASE)/src
22OCTAVE_SRC      = $(SRC_DIR)/octave
23LIB_RAPPTURE    = -L$(LIB_DIR) -lrappture
24INCL_CORE       = -I$(INCLUDES_DIR)/core
25INCL_OCTAVE     = -I$(INCLUDES_DIR)/octave
26
27all: RpOctave install_octave
28install: install_octave
29
30#### Octave ########################################################
31install_octave: RpOctave
32        if test ! -d $(RP_INSTALL_BASE)/lib/octave; then \
33                mkdir $(RP_INSTALL_BASE)/lib/octave; \
34        fi
35        cp *.oct* $(RP_INSTALL_BASE)/lib/octave
36####################################################################
37
38OCT_INCLS = $(INCL_OCTAVE) $(INCL_CORE) $(INCL_RP_DEPS)
39OCTAVE_COMP_ARGS = $(OCT_INCLS) $(LIB_RAPPTURE) $(LIB_SCEW_FLAG)
40RpOctave:       rpAddPresets.oct \
41                        rpUtilsProgress.oct \
42                        rpLib.oct \
43                        rpLibChildrenByType.oct \
44                        rpLibChildren.oct \
45                        rpLibElementAsComp.oct \
46                        rpLibElementAsId.oct \
47                        rpLibElementAsObject.oct \
48                        rpLibElementAsType.oct \
49                        rpLibElement.oct \
50                        rpLibGet.oct \
51                        rpLibGetString.oct \
52                        rpLibGetDouble.oct \
53                        rpLibNodeComp.oct \
54                        rpLibNodeId.oct \
55                        rpLibNodeType.oct \
56                        rpLibPut.oct \
57                        rpLibPutDouble.oct \
58                        rpLibPutSingle.oct \
59                        rpLibPutFile.oct \
60                        rpLibResult.oct \
61                        rpLibXml.oct \
62                        rpUnitsConvert.oct \
63                        rpUnitsConvertDbl.oct \
64                        rpUnitsConvertStr.oct \
65                        rpUnitsConvertObjDbl.oct \
66                        rpUnitsConvertObjStr.oct \
67                        rpUnitsDefineUnit.oct \
68                        rpUnitsFind.oct \
69                        rpUnitsGetBasis.oct \
70                        rpUnitsGetExponent.oct \
71                        rpUnitsGetUnits.oct \
72                        rpUnitsGetUnitsName.oct
73
74rpAddPresets.oct:
75        $(OCT) rpAddPresets.cc            $(OCTAVE_COMP_ARGS)
76rpUtilsProgress.oct:
77        $(OCT) rpUtilsProgress.cc         $(OCTAVE_COMP_ARGS)
78rpLib.oct:
79        $(OCT) rpLib.cc                   $(OCTAVE_COMP_ARGS)
80rpLibChildrenByType.oct:
81        $(OCT) rpLibChildrenByType.cc     $(OCTAVE_COMP_ARGS)
82rpLibChildren.oct:
83        $(OCT) rpLibChildren.cc           $(OCTAVE_COMP_ARGS)
84rpLibElementAsComp.oct:
85        $(OCT) rpLibElementAsComp.cc      $(OCTAVE_COMP_ARGS)
86rpLibElementAsId.oct:
87        $(OCT) rpLibElementAsId.cc        $(OCTAVE_COMP_ARGS)
88rpLibElementAsObject.oct:
89        $(OCT) rpLibElementAsObject.cc    $(OCTAVE_COMP_ARGS)
90rpLibElementAsType.oct:
91        $(OCT) rpLibElementAsType.cc      $(OCTAVE_COMP_ARGS)
92rpLibElement.oct:
93        $(OCT) rpLibElement.cc            $(OCTAVE_COMP_ARGS)
94rpLibGet.oct:
95        $(OCT) rpLibGet.cc                $(OCTAVE_COMP_ARGS)
96rpLibGetString.oct:
97        $(OCT) rpLibGetString.cc          $(OCTAVE_COMP_ARGS)
98rpLibGetDouble.oct:
99        $(OCT) rpLibGetDouble.cc          $(OCTAVE_COMP_ARGS)
100rpLibNodeComp.oct:
101        $(OCT) rpLibNodeComp.cc           $(OCTAVE_COMP_ARGS)
102rpLibNodeId.oct:
103        $(OCT) rpLibNodeId.cc             $(OCTAVE_COMP_ARGS)
104rpLibNodeType.oct:
105        $(OCT) rpLibNodeType.cc           $(OCTAVE_COMP_ARGS)
106rpLibPut.oct:
107        $(OCT) rpLibPut.cc                $(OCTAVE_COMP_ARGS)
108rpLibPutDouble.oct:
109        $(OCT) rpLibPutDouble.cc          $(OCTAVE_COMP_ARGS)
110rpLibPutSingle.oct:
111        $(OCT) rpLibPutString.cc          $(OCTAVE_COMP_ARGS)
112rpLibPutFile.oct:
113        $(OCT) rpLibPutFile.cc            $(OCTAVE_COMP_ARGS)
114rpLibResult.oct:
115        $(OCT) rpLibResult.cc             $(OCTAVE_COMP_ARGS)
116rpLibXml.oct:
117        $(OCT) rpLibXml.cc                $(OCTAVE_COMP_ARGS)
118rpUnitsConvert.oct:
119        $(OCT) rpUnitsConvert.cc          $(OCTAVE_COMP_ARGS)
120rpUnitsConvertDbl.oct:
121        $(OCT) rpUnitsConvertDbl.cc       $(OCTAVE_COMP_ARGS)
122rpUnitsConvertStr.oct:
123        $(OCT) rpUnitsConvertStr.cc       $(OCTAVE_COMP_ARGS)
124rpUnitsConvertObjDbl.oct:
125        $(OCT) rpUnitsConvertObjDbl.cc    $(OCTAVE_COMP_ARGS)
126rpUnitsConvertObjStr.oct:
127        $(OCT) rpUnitsConvertObjStr.cc    $(OCTAVE_COMP_ARGS)
128rpUnitsDefineUnit.oct:
129        $(OCT) rpUnitsDefineUnit.cc       $(OCTAVE_COMP_ARGS)
130rpUnitsFind.oct:
131        $(OCT) rpUnitsFind.cc             $(OCTAVE_COMP_ARGS)
132rpUnitsGetBasis.oct:
133        $(OCT) rpUnitsGetBasis.cc         $(OCTAVE_COMP_ARGS)
134rpUnitsGetExponent.oct:
135        $(OCT) rpUnitsGetExponent.cc      $(OCTAVE_COMP_ARGS)
136rpUnitsGetUnits.oct:
137        $(OCT) rpUnitsGetUnits.cc         $(OCTAVE_COMP_ARGS)
138rpUnitsGetUnitsName.oct:
139        $(OCT) rpUnitsGetUnitsName.cc     $(OCTAVE_COMP_ARGS)
140
141docs:
142        if test ! -d docs; then \
143                mkdir docs; \
144        fi
145        if test ! -d docs/doxygen; then \
146                mkdir docs/doxygen; \
147        fi
148        doxygen
149
150#### CLEAN UP ############################################################
151clean:
152        - rm -f rp*.o*
153
154distclean: clean
155        - rm Makefile
Note: See TracBrowser for help on using the repository browser.