Fork me on GitHub

Changes in Makefile [910bd98:71eba5e] in git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r910bd98 r71eba5e  
    24192419        @mkdir -p $(@D)
    24202420        @echo ">> Building $@"
     2421ifeq ($(ARCH),aix5)
     2422        @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
     2423else
    24212424ifeq ($(PLATFORM),macosx)
     2425# We need to make both the .dylib and the .so
    24222426        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     2427ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
     2428ifeq ($(MACOSX_MINOR),4)
     2429        @ln -sf $@ $(subst .$(DllSuf),.so,$@)
     2430endif
     2431endif
    24232432else
    24242433ifeq ($(PLATFORM),win32)
     
    24292438else
    24302439        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     2440        @$(MT_DLL)
     2441endif
    24312442endif
    24322443endif
     
    24352446        @mkdir -p $(@D)
    24362447        @echo ">> Building $@"
     2448ifeq ($(ARCH),aix5)
     2449        @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
     2450else
    24372451ifeq ($(PLATFORM),macosx)
     2452# We need to make both the .dylib and the .so
    24382453        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     2454ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
     2455ifeq ($(MACOSX_MINOR),4)
     2456        @ln -sf $@ $(subst .$(DllSuf),.so,$@)
     2457endif
     2458endif
    24392459else
    24402460ifeq ($(PLATFORM),win32)
     
    24452465else
    24462466        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
     2467        @$(MT_DLL)
     2468endif
    24472469endif
    24482470endif
     
    24512473        @mkdir -p $(@D)
    24522474        @echo ">> Building $@"
     2475ifeq ($(ARCH),aix5)
     2476        @$(MAKESHARED) $(OutPutOpt) $@ $(DISPLAY_LIBS) -p 0 $^
     2477else
    24532478ifeq ($(PLATFORM),macosx)
     2479# We need to make both the .dylib and the .so
    24542480        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
     2481ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
     2482ifeq ($(MACOSX_MINOR),4)
     2483        @ln -sf $@ $(subst .$(DllSuf),.so,$@)
     2484endif
     2485endif
    24552486else
    24562487ifeq ($(PLATFORM),win32)
     
    24612492else
    24622493        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
     2494        @$(MT_DLL)
     2495endif
    24632496endif
    24642497endif
Note: See TracChangeset for help on using the changeset viewer.