Changeset 2432 in Sophya for trunk/SophyaLib/Mgr/Makefile.slb


Ignore:
Timestamp:
Sep 12, 2003, 11:48:28 AM (22 years ago)
Author:
ansari
Message:

Adaptation makefile.darwin et Makefile.slb pour MacOSX 10.2 - g++ 3.1 , Reza 12/09/2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Mgr/Makefile.slb

    r2348 r2432  
    1818#endif
    1919ifeq ($(MACHEROS), Darwin)
    20   #LIBGPP := -L/sw/lib -ldl -L/usr/lib/gcc/darwin/default -lstdc++ -lcc_dynamic
    21   LIBGPP := -L/sw/lib -ldl -L/usr/lib/ -lstdc++ -lcc_dynamic
     20#  LIBGPP := -L/sw/lib -ldl -L/usr/X11R6/lib -L/usr/local/lib -llanginfo -L/usr/lib/gcc/darwin/default -lstdc++ -lcc_dynamic
     21  LIBGPP := -L/sw/lib -ldl
     22  LIBXPILIST := -L/usr/X11R6/lib -L/usr/local/lib  -lXm -lmotiflanginfo  -lXt -lX11
    2223endif
    2324
     
    126127endif
    127128
    128 # Construction de shared-libs sous OSX
     129# Construction de shared-libs sous Mac OSX
    129130ifeq ($(MACHEROS), Darwin)
     131#
     132#  ---- Septembre 2003 : D'apres les instructions de fink
     133# (http://fink.sourceforge.net , Documentation/Porting
     134# > cc -fno-common -c source.c
     135# > cc -fno-common -c code.c
     136# > cc -dynamiclib -install_name /usr/local/lib/libfoo.2.dylib \
     137#       -compatibility_version 2.4 -current_version 2.4.5 \
     138#       -o libfoo.2.4.5.dylib source.o code.o
     139# > rm -f libfoo.2.dylib libfoo.dylib
     140# > ln -s libfoo.2.4.5.dylib libfoo.2.dylib
     141# > ln -s libfoo.2.4.5.dylib libfoo.dylib
     142# Mis directement ds makefile.darwin -----
     143#
    130144  override CMDSHL := libtool -dynamic
    131145  override FGSHLA :=
Note: See TracChangeset for help on using the changeset viewer.