X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWGJE%2FMakefile;h=85a336997d268d105656ca562484f712da849eb7;hb=4a527e08be90b62e06eec8d45bde98100dc9f5fb;hp=2e692add03b6b6b7aa235fb0b36fdd828fdf6a49;hpb=d3aa6a6df33bdc982612c50d0aa47e8ea481c306;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWGJE/Makefile b/PWGJE/Makefile index 2e692add03b..85a336997d2 100644 --- a/PWGJE/Makefile +++ b/PWGJE/Makefile @@ -1,6 +1,6 @@ PACKAGE = invalid-only-for-proof -include $(ROOTSYS)/test/Makefile.arch +include Makefile.arch ifndef PACKCXXFLAGS PACKCXXFLAGS = $(CXXFLAGS) @@ -116,28 +116,7 @@ PARFILE = $(PACKAGE).par lib$(PACKAGE).so: $(OBJS_PWGJE) @echo "Linking" $@ ... @/bin/rm -f $@ -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 + $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS) @chmod a+x $@ @echo "done"