Changeset 1918 in Sophya for trunk/SophyaLib/Mgr


Ignore:
Timestamp:
Mar 6, 2002, 2:02:30 PM (24 years ago)
Author:
ansari
Message:

Adaptation makefiles MacOSX/Darwin - Reza 06/03/2002

Location:
trunk/SophyaLib/Mgr
Files:
2 edited

Legend:

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

    r1900 r1918  
    166166ifeq (${MACHEROS},Darwin)
    167167  XLDLIBS := -L/usr/X11R6/lib -L/sw/lib -ldl
    168   XCFLAGS := -I/usr/X11R6/include -I/sw/include -fno-coalesce -fkeep-inline-functions
     168  XCFLAGS := -I/usr/X11R6/include -I/sw/include -fno-coalesce -fkeep-inline-functions -fno-common
    169169endif
    170170
     
    231231    LDFLAGS := -static
    232232  endif
     233endif
     234
     235# Compilateur natif (GNU-gcc) sous MacOSX (Darwin)
     236ifeq (${MACHEROS},Darwin)
     237  CFLAGS       := -Wall -Wpointer-arith \
     238                  -Wmissing-prototypes -Wsynth -I$(INC) $(XCFLAGS) \
     239                  $(OPTFLAG) $(DBGFLAG) $(MYCFLAGS)
     240  LDLIBS       := $(LDLIBS) $(XLDLIBS)
    233241endif
    234242
  • trunk/SophyaLib/Mgr/Makefile.slb

    r1783 r1918  
    1818#endif
    1919ifeq ($(MACHEROS), Darwin)
    20   LIBGPP := -L/usr/lib/gcc/darwin/default -lstdc++ -lcc_dynamic
     20  LIBGPP := -L/sw/lib -ldl -L/usr/lib/gcc/darwin/default -lstdc++ -lcc_dynamic
    2121endif
    2222
Note: See TracChangeset for help on using the changeset viewer.