X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RAW%2FMakefile;h=bdcf1d29c05d8ec76645d5e15829d238257bf39c;hb=7f7e8823fbf3bfc6bbf9682c138f54929209776d;hp=c486b1caddf444db59107dbbabbf105768274f5e;hpb=4aa418779d51071508882a601fae75aefe126321;p=u%2Fmrichter%2FAliRoot.git diff --git a/RAW/Makefile b/RAW/Makefile index c486b1caddf..bdcf1d29c05 100644 --- a/RAW/Makefile +++ b/RAW/Makefile @@ -62,9 +62,25 @@ endif ##### MACROS and TARGETS ##### -include Make-macros - - -##### DEPENDENCIES ##### - -#include Make-depend +ifeq ($(PLATFORM),macosx) +# We need to make both the .dylib and the .so + $(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ +ifneq ($(subst $(MACOSX_MINOR),,1234),1234) +ifeq ($(MACOSX_MINOR),4) + ln -sf $@ $(subst .$(DllSuf),.so,$@) +else + $(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ \ + $(OutPutOpt) $(subst .$(DllSuf),.so,$@) +endif +endif +else +ifeq ($(PLATFORM),win32) + bindexplib $* $^ > $*.def + lib -nologo -MACHINE:IX86 $^ -def:$*.def \ + $(OutPutOpt)$(EVENTLIB) + $(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) \ + $(OutPutOpt)$@ +else + $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS) +endif +endif