2000-09-20 08:43:26 -05:00
|
|
|
# mk file fuer unxmacxp
|
|
|
|
ASM=
|
|
|
|
AFLAGS=
|
|
|
|
|
|
|
|
LINKOUTPUT_FILTER=
|
|
|
|
|
|
|
|
# _PTHREADS is needed for the stl
|
|
|
|
CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DSTLPORT_VERSION=321 -D_USE_NAMESPACE=1
|
|
|
|
|
|
|
|
.IF "$(SOLAR_JAVA)"!=""
|
|
|
|
JAVADEF=-DSOLAR_JAVA
|
|
|
|
JAVAFLAGSDEBUG=-g
|
|
|
|
JAVA_RUNTIME=-framework JavaVM
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
CC=cc
|
|
|
|
cc=cc
|
|
|
|
objc=cc
|
|
|
|
CFLAGS=-c $(INCLUDE)
|
2000-10-18 16:13:12 -05:00
|
|
|
CFLAGSCC=-pipe -traditional-cpp
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2000-09-27 16:52:33 -05:00
|
|
|
OBJCFLAGS=-no-precomp
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
CFLAGSEXCEPTIONS=-fexceptions
|
|
|
|
CFLAGS_NO_EXCEPTIONS=-fno-exceptions
|
|
|
|
|
2000-09-27 16:52:33 -05:00
|
|
|
CFLAGSCXX=-pipe -fno-for-scope -fpermissive -fno-operator-names
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
CFLAGSOBJGUIST=-fPIC
|
|
|
|
CFLAGSOBJCUIST=-fPIC
|
|
|
|
CFLAGSOBJGUIMT=-fPIC
|
|
|
|
CFLAGSOBJCUIMT=-fPIC
|
|
|
|
CFLAGSSLOGUIMT=-fPIC
|
|
|
|
CFLAGSSLOCUIMT=-fPIC
|
|
|
|
CFLAGSPROF=
|
|
|
|
CFLAGSDEBUG=-g
|
|
|
|
CFLAGSDBGUTIL=
|
|
|
|
CFLAGSOPT=-O2
|
|
|
|
CFLAGSNOOPT=-O
|
|
|
|
CFLAGSOUTOBJ=-o
|
|
|
|
|
2000-10-18 12:17:43 -05:00
|
|
|
SOLARVERSHLLIBS=$(shell -$(FIND) $(SOLARVERSION)$/$(INPATH)$/lib -name $(DLLPRE)\*$(DLLPOST))
|
2000-09-20 08:43:26 -05:00
|
|
|
LINK=cc
|
|
|
|
LINKFLAGS=-dynamic -framework System -framework Cocoa -lcc_dynamic \
|
2000-10-03 13:46:35 -05:00
|
|
|
-lstdc++ $(foreach,i,$(SOLARVERSHLLIBS) '-dylib_file @executable_path$/$(i:f):$i')
|
2000-10-25 15:01:55 -05:00
|
|
|
LINKFLAGSAPPGUI=-Wl,-u,__objcInit
|
2000-10-03 13:46:35 -05:00
|
|
|
LINKFLAGSSHLGUI=-dynamiclib -install_name '@executable_path$/$(@:f)' \
|
2000-09-20 08:43:26 -05:00
|
|
|
-Wl,-U,___progname -Wl,-U,_environ
|
2000-10-25 15:06:21 -05:00
|
|
|
LINKFLAGSAPPCUI=-Wl,-u,__objcInit
|
2000-10-03 13:46:35 -05:00
|
|
|
LINKFLAGSSHLCUI=-dynamiclib -install_name '@executable_path$/$(@:f)' \
|
2000-09-20 08:43:26 -05:00
|
|
|
-Wl,-U,___progname -Wl,-U,_environ
|
|
|
|
LINKFLAGSTACK=
|
|
|
|
LINKFLAGSPROF=
|
|
|
|
LINKFLAGSDEBUG=-g
|
|
|
|
LINKFLAGSOPT=
|
|
|
|
|
|
|
|
LINKVERSIONMAPFLAG=
|
|
|
|
|
|
|
|
# Reihenfolge der libs NICHT egal!
|
|
|
|
|
|
|
|
STDOBJGUI=
|
|
|
|
STDSLOGUI=
|
|
|
|
STDOBJCUI=
|
|
|
|
STDSLOCUI=
|
|
|
|
|
|
|
|
STDLIBGUIST=
|
|
|
|
STDLIBCUIST=
|
|
|
|
STDLIBGUIMT=
|
|
|
|
STDLIBCUIMT=
|
|
|
|
STDSHLGUIMT=
|
|
|
|
STDSHLCUIMT=
|
|
|
|
|
|
|
|
LIBMGR=libtool
|
|
|
|
LIBFLAGS=-o
|
|
|
|
|
|
|
|
IMPLIB=
|
|
|
|
IMPLIBFLAGS=
|
|
|
|
|
|
|
|
MAPSYM=
|
|
|
|
MAPSYMFLAGS=
|
|
|
|
|
|
|
|
RC=irc
|
|
|
|
RCFLAGS=-fo$@ $(RCFILES)
|
|
|
|
RCLINK=
|
|
|
|
RCLINKFLAGS=
|
|
|
|
RCSETVERSION=
|
|
|
|
|
|
|
|
DLLPOSTFIX=mxp
|
|
|
|
DLLPRE=lib
|
|
|
|
DLLPOST=.dylib
|