Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
78b1703a
Kaydet (Commit)
78b1703a
authored
Şub 19, 2001
tarafından
Sander Vesik
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bring Linux/PPC platform makefile up to date with the rest.
üst
1c6a22a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
9 deletions
+52
-9
unxlngppc.mk
solenv/inc/unxlngppc.mk
+52
-9
No files found.
solenv/inc/unxlngppc.mk
Dosyayı görüntüle @
78b1703a
...
@@ -7,11 +7,14 @@ AFLAGS=
...
@@ -7,11 +7,14 @@ AFLAGS=
SOLAR_JAVA=TRUE
SOLAR_JAVA=TRUE
JAVAFLAGSDEBUG=-g
JAVAFLAGSDEBUG=-g
LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
# filter for supressing verbose messages from linker
#not needed at the moment
#LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
# _PTHREADS is needed for the stl
# _PTHREADS is needed for the stl
CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DPOWERPC -DPPC
CDEFS+=-DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DPOWERPC -DPPC
# this is a platform with JAVA support
.IF "$(SOLAR_JAVA)"!=""
.IF "$(SOLAR_JAVA)"!=""
JAVADEF=-DSOLAR_JAVA
JAVADEF=-DSOLAR_JAVA
.IF "$(debug)"==""
.IF "$(debug)"==""
...
@@ -21,39 +24,70 @@ JAVA_RUNTIME=-ljava_g
...
@@ -21,39 +24,70 @@ JAVA_RUNTIME=-ljava_g
.ENDIF
.ENDIF
.ENDIF
.ENDIF
# name of C++ Compiler
CC=g++
CC=g++
cc=gcc
# name of C Compiler
cc=gcc
# source code is still not signed versus unsigned char clean
CFLAGS=-fsigned-char -w -nostdinc -c $(INCLUDE) -I$(SOLARENV)/unxlngppc/usr/include
CFLAGS=-fsigned-char -w -nostdinc -c $(INCLUDE) -I$(SOLARENV)/unxlngppc/usr/include
CFLAGSCC=-fsigned-char
CFLAGSCC=-fsigned-char
# Flags for enabling exception handling
CFLAGSEXCEPTIONS=-fexceptions
CFLAGSEXCEPTIONS=-fexceptions
# Flags for disabling exception handling
CFLAGS_NO_EXCEPTIONS=-fno-exceptions
CFLAGS_NO_EXCEPTIONS=-fno-exceptions
# -fpermissive should be removed as soon as possible
# -fpermissive should be removed as soon as possible
CFLAGSCXX= -pipe -fno-for-scope -fpermissive
CFLAGSCXX= -pipe -fno-for-scope -fpermissive
#Note: the build is not consistent in that it links static librtaries
# libraries into dynamic libraries in places, so use -fPIC throughout
# until fixed.
# Compiler flags for compiling static object in single threaded environment with graphical user interface
CFLAGSOBJGUIST=-fPIC
CFLAGSOBJGUIST=-fPIC
# Compiler flags for compiling static object in single threaded environment with character user interface
CFLAGSOBJCUIST=-fPIC
CFLAGSOBJCUIST=-fPIC
# Compiler flags for compiling static object in multi threaded environment with graphical user interface
CFLAGSOBJGUIMT=-fPIC
CFLAGSOBJGUIMT=-fPIC
# Compiler flags for compiling static object in multi threaded environment with character user interface
CFLAGSOBJCUIMT=-fPIC
CFLAGSOBJCUIMT=-fPIC
# Compiler flags for compiling shared object in multi threaded environment with graphical user interface
CFLAGSSLOGUIMT=-fPIC
CFLAGSSLOGUIMT=-fPIC
# Compiler flags for compiling shared object in multi threaded environment with character user interface
CFLAGSSLOCUIMT=-fPIC
CFLAGSSLOCUIMT=-fPIC
# Compiler flags for profiling
CFLAGSPROF=
CFLAGSPROF=
# Compiler flags for debugging
CFLAGSDEBUG=-g
CFLAGSDEBUG=-g
CFLAGSDBGUTIL=
CFLAGSDBGUTIL=
# Compiler flags for enabling optimazations
CFLAGSOPT=-O1
CFLAGSOPT=-O1
# Compiler flags for disabling optimazations
CFLAGSNOOPT=-O0
CFLAGSNOOPT=-O0
# Compiler flags for discibing the output path
CFLAGSOUTOBJ=-o
CFLAGSOUTOBJ=-o
# switches for dynamic and static linking
STATIC = -Wl,-Bstatic
STATIC = -Wl,-Bstatic
DYNAMIC = -Wl,-Bdynamic
DYNAMIC = -Wl,-Bdynamic
# name of linker
LINK=gcc
LINK=gcc
# default linker flags
LINKFLAGS=
LINKFLAGS=
# linker flags for linking applications
LINKFLAGSAPPGUI= -Wl,-export-dynamic
LINKFLAGSAPPGUI= -Wl,-export-dynamic
LINKFLAGSAPPCUI= -Wl,-export-dynamic
LINKFLAGSAPPCUI= -Wl,-export-dynamic
# linker flags for linking shared libraries
LINKFLAGSSHLGUI= -shared
LINKFLAGSSHLGUI= -shared
LINKFLAGSSHLCUI= -shared
LINKFLAGSSHLCUI= -shared
...
@@ -71,25 +105,33 @@ LINKFLAGSSHLCUI+=-Wl,-Bsymbolic
...
@@ -71,25 +105,33 @@ LINKFLAGSSHLCUI+=-Wl,-Bsymbolic
LINKVERSIONMAPFLAG=-Wl,--version-script
LINKVERSIONMAPFLAG=-Wl,--version-script
#
Reihenfolge der libs NICHT egal!
#
Sequence of libs does matter !
STDLIBCPP=-lstdc++
STDLIBCPP=-lstdc++
# default objectfilenames to link
STDOBJGUI=
STDOBJGUI=
STDSLOGUI=
STDSLOGUI=
STDOBJCUI=
STDOBJCUI=
STDSLOCUI=
STDSLOCUI=
STDLIBCUIST=-ldl -lm -lstlport_gcc
# libraries for linking applications
STDLIBGUIMT=-ldl -lpthread -lm -lstlport_gcc
STDLIBCUIST=-ldl -lm
STDLIBCUIMT=-ldl -lpthread -lm -lstlport_gcc
STDLIBGUIMT=-lXaw -lXt -lX11 -ldl -lpthread -lm
STDLIBGUIST=-lXaw -lXt -lX11 -ldl -lm
STDLIBCUIMT=-ldl -lpthread -lm
STDSHLGUIMT=-lXaw -lXt -lX11 -lXext -ldl -lpthread -lm -lstlport_gcc
STDLIBGUIST=-lXaw -lXt -lX11 -ldl -lm
STDSHLCUIMT=-ldl -lpthread -lm -lstlport_gcc
# libraries for linking shared libraries
STDSHLGUIMT=-lXaw -lXt -lX11 -lXext -ldl -lpthread -lm
STDSHLCUIMT=-ldl -lpthread -lm
LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
# name of library manager
LIBMGR=ar
LIBMGR=ar
LIBFLAGS=-r
LIBFLAGS=-r
# tool for generating import libraries
IMPLIB=
IMPLIB=
IMPLIBFLAGS=
IMPLIBFLAGS=
...
@@ -102,6 +144,7 @@ RCLINK=
...
@@ -102,6 +144,7 @@ RCLINK=
RCLINKFLAGS=
RCLINKFLAGS=
RCSETVERSION=
RCSETVERSION=
# platform specific identifier for shared libs
DLLPOSTFIX=lp
DLLPOSTFIX=lp
DLLPRE=lib
DLLPRE=lib
DLLPOST=.so
DLLPOST=.so
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment