Changeset 2225 in Sophya
- Timestamp:
- Oct 23, 2002, 11:57:40 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toimanager.h
r2220 r2225 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: toimanager.h,v 1.1 6 2002-10-23 21:05:18aubourg Exp $7 // $Id: toimanager.h,v 1.17 2002-10-23 21:57:40 aubourg Exp $ 8 8 9 9 … … 43 43 public: 44 44 static TOIManager* getManager(); 45 virtual ~TOIManager() {} 45 46 void setRequestedSample(int begin, int end); 46 47 int getRequestedBegin(); -
trunk/ArchTOIPipe/Makefile.in
r2208 r2225 111 111 endif 112 112 113 114 113 ### Shared libs, repris de Sophya en attendant une integration 114 ### plus propre a configure 115 116 # librairie compilateur GNU (g++) 117 LIBGPP := -lstdc++ 118 ifeq ($(MACHEROS), Darwin) 119 LIBGPP := -L/sw/lib -ldl -L/usr/lib/gcc/darwin/default -lstdc++ -lcc_dynamic 120 endif 121 122 # External libraries 123 EXTLIB := 124 EXTSLB := 125 126 # Commande de construction de shared-lib 127 CMDSHL := ld -partage 128 # Flag d'inclusion/fin d'inclusion de tous les points d'entree 129 FGSHLA := -tout 130 FGSHLN := -rien 131 # Librairies specifiques 132 LIBLSHL := -lpthread -lm -lc 133 # Librairie d'instanciation des templates 134 TILSHL := 135 TILSHLPI := 136 # Commande de construction de la librairie d'instanciation des templates 137 CMDTILSHL := echo 'No Template instanciation library (.a)' 138 CMDTILSHLPI := echo 'No Template instanciation library (.a)' 139 # Utilisation du compilo C++ comme driver pour fabrication des shared-libs 140 CMDSHLCXX := $(LINK.cc) 141 FGSHLACXX := 142 FGSHLNCXX := 143 # S'il faut utiliser $(CMDSHLCXX) pour fabrication des shared-libs 144 USECXX4SO := Y 145 # On utilise le compilo g++ pour la fabrication des shared libs 146 ifeq ($(EROSCXX), g++) 147 override USECXX4SO := Y 148 override CMDSHLCXX := $(LINK.cc) -shared 149 override LIBLSHL := $(LIBGPP) $(LIBLSHL) 150 endif 151 152 # On utilise le compilo KCC pour la fabrication des shared libs 153 ifeq ($(EROSCXX), KCC) 154 override USECXX4SO := Y 155 override CMDSHLCXX := $(LINK.cc) 156 endif 157 158 # On utilise le compilo aCC (HP) pour la fabrication des shared libs 159 ifeq ($(EROSCXX), aCC) 160 override USECXX4SO := Y 161 override CMDSHLCXX := $(LINK.cc) -b 162 endif 163 164 165 # Construction de shared-libs sous OSF1 166 ifeq ($(MACHEROS),OSF1) 167 override CMDSHL := ld -shared -update_registry $(SLB)so_locations 168 override FGSHLA := -all 169 override FGSHLN := -none 170 # override LIBLSHL := -lcxxstd -lcxx -lexc -lm -lc -lrt 171 override LIBLSHL := $(LIBLSHL) -lrt 172 override TILSHL := $(LIB)libertcxx.a 173 override CMDTILSHL := rm -f $(LIB)libsotcxx.a ; cd $(REP); $(AR) $(ARFLAGS) $(LIB)libso 174 tcxx.a *.o 175 override TILSHLPI := $(LIB)libsotcxxpi.a 176 override CMDTILSHLPI := rm -f $(LIB)libsotcxxpi.a ; cd $(REPPI); $(AR) $(ARFLAGS) $(LIB 177 )libsotcxxpi.a *.o 178 ifeq ($(CXX),g++) 179 override TILSHL := 180 override TILSHLPI := 181 endif 182 # Attention - Dangereux de mettre -expect_unresolved , enleve Reza 17/11/99 183 override CMDSHLCXX := $(CXX) $(CXXFLAGS) -shared 184 override FGSHLACXX := 185 override FGSHLNCXX := 186 override USECXX4SO := Y 187 endif 188 189 # Construction de shared-libs sous Linux 190 ifeq ($(MACHEROS),Linux) 191 override CMDSHL := ld -shared 192 override FGSHLA := --whole-archive 193 override FGSHLN := --no-whole-archiv 194 override CMDSHLCXX := $(LINK.cc) -shared 195 ifeq ($(EROSCXX), KCC) 196 override CMDSHLCXX := $(LINK.cc) 197 endif 198 override FGSHLACXX := 199 override FGSHLNCXX := 200 override LIBLSHL := $(LIBLSHL) -ldl 201 override TILSHL := 202 override LIBXPIPATH := -L/usr/X11/lib -L/usr/X11R6/lib 203 override LIBXPILIST := -lXm -lXt -lXext -lX11 204 endif 205 206 # Construction de shared-libs sous Sun-OS 207 ifeq ($(MACHEROS),SunOS) 208 override CMDSHL := ld -G 209 override FGSHLA := -z allextract 210 override FGSHLN := -z weakextract 211 override TILSHL := 212 override LIBXPIPATH := -L/usr/X11/lib 213 override USECXX4SO := Y 214 endif 215 216 # Construction de shared-libs sous SGI 217 ifeq ($(MACHEROS), IRIX64) 218 override CMDSHL := ld -shared 219 override FGSHLA := -all 220 override FGSHLN := -notall 221 override TILSHL := 222 ifeq ($(EROSCXX), CC) 223 override CMDSHLCXX := CC -shared 224 endif 225 override LIBXPIPATH := -L/usr/X11/lib 226 override USECXX4SO := Y 227 endif 228 229 # Construction de shared-libs sous OSX 230 ifeq ($(MACHEROS), Darwin) 231 override CMDSHL := libtool -dynamic 232 override FGSHLA := 233 override FGSHLN := 234 override TILSHL := 235 override CMDSHLCXX := libtool -dynamic 236 endif 237 238 SLBNAME = libpipe.so 239 ifeq ($(MACHEROS),Darwin) 240 SLBNAME = libpipe.dylib 241 endif 242 243 244 slb: $(SLBNAME) 245 246 $(SLBNAME) : build_kernel build_processors build_sophya 247 $(CMDSHLCXX) -o $(SLBNAME) \ 248 Kernel/*.o Processors/*.o ProcWSophya/*.o \ 249 $(FGSHLNCXX) -L$(SLB) -lsophya -lextsophya $(EXTLIB) $(LIBLSHL) 250 251 -
trunk/ArchTOIPipe/Processors/wienerdecor.cc
r2187 r2225 1 #include <math.h> 1 2 #include "toimanager.h" 2 3 #include "correl.h" 3 4 #include "wienerdecor.h" 4 #include <math.h>5 5 extern "C" { 6 6 #include "nrutil.h" -
trunk/ArchTOIPipe/TestPipes/Makefile.in
r2224 r2225 91 91 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm 92 92 93 xmlpipe: xmlpipe.o $(FILES) $(LIBDEPS) 94 $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ -lm -L$(HOME)/expat -lexpat 95 96 xmlpipe.o:$(srcdir)/xmlpipe.cc 97 $(COMPILE.cc) -I$(HOME)/expat -o $@ $< 98 93 99 %.o:$(srcdir)/%.cc 94 100 $(COMPILE.cc) -o $@ $<
Note:
See TracChangeset
for help on using the changeset viewer.