Changeset 546
- Timestamp:
- 01/17/01 17:28:21 (24 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Makefile
r543 r546 37 37 SUBDIRS = mgui mdatacheck mbase mraw 38 38 39 # 40 # Library rules 41 # 42 MARS_LIB = -Llib $(SUBDIRS:%=-l%) 43 MARS_LIBB = $(SUBDIRS:%=lib%.a) 44 INCLUDES = -I. $(SUBDIRS:%=-I%) 45 39 LIBRARIES = $(SUBDIRS:=.a) 46 40 47 41 #------------------------------------------------------------------------------ … … 60 54 61 55 # Use $(CXX) -v ... for a more verbose output 62 $(PROGRAMS): $( MARS_LIBB) $(PROGRAMS:=.o) $(OBJS) MCint.o56 $(PROGRAMS): $(LIBRARIES) $(OBJS) MCint.o $(PROGRAMS:=.o) 63 57 @echo " Linking $@ ..." 64 58 $(CXX) $(CXXFLAGS) $@.o $(OBJS) $(MARS_LIB) MCint.o $(ROOTGLIBS) -o $@ 65 59 66 $(SOLIB): $( OBJS) $(MARS_LIBB) MCint.o60 $(SOLIB): $(LIBRARIES) $(OBJS) MCint.o 67 61 @echo " Linking $(SOLIB) ..." 68 $(CXX) -shared $(CXXFLAGS) $(SUBDIRS: %=%/*.o) $(ROOTGLIBS) -o $@62 $(CXX) -shared $(CXXFLAGS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@ 69 63 mv mars.so lib 70 64 71 $( MARS_LIBB):72 @echo " Creating $@:"73 (cd $ (@:lib%.a=%); make; cd ..; mv $(@:lib%.a=%)/$@ lib)65 $(LIBRARIES): 66 @echo " Creating lib$@:" 67 (cd $*; make; cd ..; mv $*/$@ lib/lib$@) 74 68 75 69 dox: 76 70 @echo " Creating html documentation:" 77 71 root -b -q dohtml.C 78 79 72 80 73 include Makefile.rules -
trunk/MagicSoft/Mars/Makefile.conf.linux-gnu
r545 r546 23 23 DEBUG = -g 24 24 25 MARS_LIB = -Llib $(SUBDIRS:%=-l%) 26 INCLUDES = -I. $(SUBDIRS:%=-I%) 27 25 28 # uncomment this for quiet compilation 26 29 -
trunk/MagicSoft/Mars/Makefile.conf.osf1
r463 r546 11 11 12 12 # 13 # ----->>> includes14 #15 16 INCLUDE_ROOT = $(ROOTSYS)/include17 INCLUDE_CPLUS = /usr/include/cxx18 19 #20 13 # compilers 21 14 # 22 15 23 CC 24 CXX 25 F77 26 AR 16 CC = cc 17 CXX = cxx 18 F77 = f77 19 AR = ar -c -r 27 20 28 21 # … … 30 23 # 31 24 32 OPTIM = -O2 -ieee -arch host 33 DEBUG = -g 25 OPTIM = -O2 -ieee -arch host 26 DEBUG = -g 27 28 MARS_LIB = -Llib $(SUBDIRS/*/-l&) 29 INCLUDES = -I. $(SUBDIRS/*/-I&) 34 30 35 31 # uncomment this for quiet compilation -
trunk/MagicSoft/Mars/Makefile.rules
r466 r546 5 5 6 6 $(LIB): $(OBJS) $(CINT)Cint.o 7 @echo " - Building Library $(LIB) ... "7 @echo " - Building Library lib$(LIB) ... " 8 8 $(AR) $(LIB) *.o 9 9 -
trunk/MagicSoft/Mars/mbase/Makefile
r466 r546 25 25 26 26 CINT = Base 27 LIB = libmbase.a27 LIB = mbase.a 28 28 29 29 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mdatacheck/Makefile
r462 r546 22 22 # @code 23 23 24 LIB = libmdatacheck.a24 LIB = mdatacheck.a 25 25 26 26 # -
trunk/MagicSoft/Mars/mgui/Makefile
r461 r546 22 22 # @code 23 23 24 LIB = libmgui.a24 LIB = mgui.a 25 25 26 26 # -
trunk/MagicSoft/Mars/mraw/Makefile
r466 r546 17 17 # Library name to creatre 18 18 # 19 LIB = libmraw.a19 LIB = mraw.a 20 20 21 21 #
Note:
See TracChangeset
for help on using the changeset viewer.