Changeset 4024 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
05/10/04 02:46:51 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r4021 r4024  
    2222#PROGRAMS = readraw merpp mars test mona status
    2323PROGRAMS = readdaq readraw merpp star status mars mona
    24 DYLIB    = libmars.so
     24SOLIB    = libmars.so
    2525CINT     = M
    2626
     
    9898        @echo " Linking $(SOLIB) ..."
    9999        $(CXX) $(CXXFLAGS) $(SOFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
    100 
    101100# This is a special workaround to create the shared object (bundle, plugin)
    102101# for root and the dynlib (to be linked with the executable) on Mac OSX
    103 $(DYLIB): $(LIBRARIES) $(OBJS) $(HEADERS)
     102ifdef DYFLAG
    104103        @echo " Linking $(DYLIB) ..."
    105         $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $@
     104        $(CXX) $(CXXFLAGS) $(DYFLAG) $(OBJS) $(SUBDIRS:=/*.o) $(ROOTGLIBS) -o $(@:.so=.dylib)
     105endif
    106106
    107 $(PROGRAMS): $(DYLIB) $(PROGRAMS:=.o)
     107$(PROGRAMS): $(SOLIB) $(PROGRAMS:=.o)
    108108        @echo " Linking $@ ..."
    109         $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(DYLIB) $@.o $(MARS_LIB) -o $@
     109        $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@
    110110
    111111dox: $(SOLIB)
  • trunk/MagicSoft/Mars/Makefile.conf.darwin

    r4021 r4024  
    3030DYFLAG   = -dynamiclib
    3131
    32 SOLIB    = $(DYLIB:.so=.dylib)
    33 
    3432# For debugging information use '-g'
    3533# For producing gmon.out use    '-pg'
Note: See TracChangeset for help on using the changeset viewer.