Fork me on GitHub

Changeset 982 in svn


Ignore:
Timestamp:
Feb 26, 2013, 4:51:44 PM (12 years ago)
Author:
Pavel Demin
Message:

attempt to fix compilation on MacOSX

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VERSION

    r589 r982  
    1 2.0.2
     12.0.4
  • trunk/genMakefile.tcl

    r742 r982  
    209209#
    210210
    211 -include $(ROOTSYS)/etc/Makefile.arch
    212 -include $(ROOTSYS)/test/Makefile.arch
     211include Makefile.arch
    213212
    214213ifeq ($(ARCH),macosx64)
    215214UNDEFOPT = dynamic_lookup
    216215endif
    217 
    218216
    219217ifneq (,$(findstring macos,$(ARCH)))
     
    227225endif
    228226
    229 
    230227SrcSuf = cc
    231228
     
    237234###
    238235
    239 #SHARED = lib/libUtilities.$(DllSuf) lib/libHector.$(DllSuf)
    240236SHARED = lib/libUtilities.$(DllSuf)
     237SHAREDLIB = lib/libUtilities.lib
     238
    241239VERSION=$(shell cat VERSION)
    242240FOLDER=Delphes_V_$(VERSION)
     
    274272ifeq ($(PLATFORM),macosx)
    275273# We need to make both the .dylib and the .so
    276         @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
     274        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(LIBS)
    277275ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
    278276ifeq ($(MACOSX_MINOR),4)
     
    283281ifeq ($(PLATFORM),win32)
    284282        @bindexplib $* $^ > $*.def
    285         @lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(EVENTLIB)
     283        @lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(SHAREDLIB)
    286284        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) $(OutPutOpt)$@
    287285        @$(MT_DLL)
    288286else
    289         @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
     287        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(LIBS)
    290288        @$(MT_DLL)
    291289endif
Note: See TracChangeset for help on using the changeset viewer.