Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/genMakefile.tcl

    r910bd98 r71eba5e  
    346346        @mkdir -p $(@D)
    347347        @echo ">> Building $@"
     348ifeq ($(ARCH),aix5)
     349        @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
     350else
    348351ifeq ($(PLATFORM),macosx)
     352# We need to make both the .dylib and the .so
    349353        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     354ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
     355ifeq ($(MACOSX_MINOR),4)
     356        @ln -sf $@ $(subst .$(DllSuf),.so,$@)
     357endif
     358endif
    350359else
    351360ifeq ($(PLATFORM),win32)
     
    356365else
    357366        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     367        @$(MT_DLL)
     368endif
    358369endif
    359370endif
     
    362373        @mkdir -p $(@D)
    363374        @echo ">> Building $@"
     375ifeq ($(ARCH),aix5)
     376        @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
     377else
    364378ifeq ($(PLATFORM),macosx)
     379# We need to make both the .dylib and the .so
    365380        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     381ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
     382ifeq ($(MACOSX_MINOR),4)
     383        @ln -sf $@ $(subst .$(DllSuf),.so,$@)
     384endif
     385endif
    366386else
    367387ifeq ($(PLATFORM),win32)
     
    372392else
    373393        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     394        @$(MT_DLL)
     395endif
    374396endif
    375397endif
     
    378400        @mkdir -p $(@D)
    379401        @echo ">> Building $@"
     402ifeq ($(ARCH),aix5)
     403        @$(MAKESHARED) $(OutPutOpt) $@ $(DISPLAY_LIBS) -p 0 $^
     404else
    380405ifeq ($(PLATFORM),macosx)
     406# We need to make both the .dylib and the .so
    381407        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
     408ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
     409ifeq ($(MACOSX_MINOR),4)
     410        @ln -sf $@ $(subst .$(DllSuf),.so,$@)
     411endif
     412endif
    382413else
    383414ifeq ($(PLATFORM),win32)
     
    388419else
    389420        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
     421        @$(MT_DLL)
     422endif
    390423endif
    391424endif
Note: See TracChangeset for help on using the changeset viewer.