- Timestamp:
- 01/17/01 15:48:50 (24 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r466 r543 1 1 -*-*- END -*-*- 2 3 2000/01/17: Thomas Bretz 4 5 * Makefile: 6 - Exchanged explicit rules to make library by implicit ones 7 - The shared object works now. I exchanged the libraries with the object files. 8 But I don't know why the libraries don't work. 9 10 * Makefile.conf.linux-gnu: 11 - replaced CC with gcc (instead of g++) 12 13 * mdatacheck/DataCheckLinkDef.h: 14 - removed unused statements 15 16 * mraw/RawLinkDef.h: 17 - added globals 18 19 * mraw/MerppLinkDef.h: 20 - removed unused file 21 22 2 23 2000/01/12: Thomas Bretz 3 24 4 25 * MLinkDef.h, MIncl.h, marslogo.xpm, magiclogo.xpm: 5 26 - added 27 6 28 * LinkDef.h: 7 29 - removed … … 27 49 2001/01/11: Harald Kornmayer 28 50 29 * ./ :51 * ./ 30 52 readraw.cc, Makefile, Makefile.rules, LinkDef.h, MParList.cc, MReadTree.cc, 31 53 MReadTree.h, mbase/Makefile, mraw/Makefile 32 54 - small changes in this files. Not really critical. 33 55 34 56 * mars.cc 35 57 - added the main file for the gui 36 58 37 59 * mgui/ 38 60 GuiIncl.h, MGMarsMain.cc, GuiLinkDef.h, MGMarsMain.h, MGDataCheckMain.cc, 39 61 Makefile, MGDataCheckMain.h 40 62 - added the subdir mgui and this files 41 63 42 64 * mdatacheck/ 43 65 DataCheckIncl.h, DataCheckLinkDef.h, MHistosAdc.cc, MHistosAdc.h, 44 66 MDumpEvtHeader.cc, MDumpEvtHeader.h, MShowSpect.cc, MShowSpect.h, -
trunk/MagicSoft/Mars/Makefile
r466 r543 18 18 include Makefile.conf.general 19 19 20 # @endcode 21 22 # @code 20 # 23 21 24 22 PROGRAMS = merpp readraw mars … … 30 28 # 31 29 # WARNING: the result (whether the linkage works or not) depends on the 32 # order of the libraries 30 # order of the libraries. It seems, that the most base library 31 # must be the last one 33 32 # 34 #35 INCLUDES = -I. -Imgui -Imbase -Imraw -Imdatacheck36 33 37 34 # 38 35 # ----->>> mars libraries 39 36 # 37 SUBDIRS = mgui mdatacheck mbase mraw 40 38 41 MARS_LIB = -Llib -lmgui -lmdatacheck -lmraw -lmbase 42 MARS_LIBB = libmbase.a libmgui.a libmraw.a libmdatacheck.a 39 # 40 # Library rules 41 # 42 MARS_LIB = -Llib $(SUBDIRS:%=-l%) 43 MARS_LIBB = $(SUBDIRS:%=lib%.a) 44 INCLUDES = -I. $(SUBDIRS:%=-I%) 43 45 44 46 … … 46 48 47 49 .SUFFIXES: .c .cc .h .o 48 49 50 50 51 SRCFILES = … … 63 64 $(CXX) $(CXXFLAGS) $@.o $(OBJS) $(MARS_LIB) MCint.o $(ROOTGLIBS) -o $@ 64 65 65 $(SOLIB): $( MARS_LIBB) $(OBJS) MCint.o66 $(SOLIB): $(OBJS) $(MARS_LIBB) MCint.o 66 67 @echo " Linking $(SOLIB) ..." 67 $(CXX) $(CXXFLAGS) -shared $(OBJS2) $(OBJS) $(MARS_LIB) MCint.o $(ROOTLIBS) $(ROOTGLIBS) -o $@68 $(CXX) -shared $(CXXFLAGS) $(SUBDIRS:%=%/*.o) $(ROOTGLIBS) -o $@ 68 69 mv mars.so lib 69 70 70 libmbase.a:71 @echo " Creating libmbase.a:"72 (cd mbase; make; cd ..; mv mbase/libmbase.alib)71 $(MARS_LIBB): 72 @echo " Creating $@:" 73 (cd $(@:lib%.a=%); make; cd ..; mv $(@:lib%.a=%)/$@ lib) 73 74 74 libmraw.a:75 @echo " Creating libmraw.a:"76 (cd mraw; make; cd ..; mv mraw/libmraw.a lib)77 78 libmgui.a:79 @echo " Creating libmgui.a:"80 (cd mgui; make; cd ..; mv mgui/libmgui.a lib)81 82 libmdatacheck.a:83 @echo " Creating libmdatacheck.a:"84 (cd mdatacheck; make; cd ..; mv mdatacheck/libmdatacheck.a lib)85 86 75 dox: 87 76 @echo " Creating html documentation:" -
trunk/MagicSoft/Mars/Makefile.conf.linux-gnu
r454 r543 10 10 # @code 11 11 12 #13 # ----->>> includes14 #15 16 INCLUDE_ROOT = ${ROOTSYS}/include17 INCLUDE_CPLUS = /usr/include/g++18 INCLUDE_MBASE = ./mbase19 20 21 12 # compilers 22 13 23 CC = g ++14 CC = gcc 24 15 CXX = g++ 25 16 F77 = f77 … … 34 25 # uncomment this for quiet compilation 35 26 36 .SILENT:27 #.SILENT: 37 28 38 29 # @endcode
Note:
See TracChangeset
for help on using the changeset viewer.