IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2007, 9:59:02 AM (19 years ago)
Author:
eugene
Message:

various fixes to support Mac OS X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/Makefile.Common

    r12160 r12840  
    6262        @echo ""
    6363
     64$(LIB)/%.$(ARCH).dylib:
     65        @if [ ! -d $(LIB) ]; then mkdir -p $(LIB); fi
     66        rm -f $@
     67        gcc -dynamiclib -o $@ $^ -lc
     68        @echo "compiled shared library $*"
     69        @echo ""
     70
    6471# shared objects have a different compilation on solaris:
    6572# gcc -shared -o $@ $^ -lc
    6673
    6774$(DESTLIB)/%.so: $(LIB)/%.$(ARCH).so
     75        @if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi
     76        rm -f $@
     77        cp $< $@
     78        @echo "installed shared library $*"
     79        @echo ""
     80
     81$(DESTLIB)/%.dylib: $(LIB)/%.$(ARCH).dylib
    6882        @if [ ! -d $(DESTLIB) ]; then mkdir -p $(DESTLIB); fi
    6983        rm -f $@
Note: See TracChangeset for help on using the changeset viewer.