1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24# mak file fuer unxbsda 25 26ASM= 27AFLAGS= 28 29ARCH_FLAGS*= 30 31CC= gcc -c 32CXX= g++ -c 33CDEFS+= -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE 34CDEFS+= -D_REENTRANT # -D_PTHREADS -DPOSIX_PTHREAD_SEMANTICS 35CDEFS+= -DPRINTER_DUMMY 36CFLAGSCC= -fsigned-char $(ARCH_FLAGS) 37CFLAGSCXX= -fsigned-char $(ARCH_FLAGS) 38PICSWITCH:=-fPIC 39CFLAGSOBJGUIMT= 40CFLAGSOBJCUIMT= 41CFLAGSSLOGUIMT=$(PICSWITCH) 42CFLAGSSLOCUIMT=$(PICSWITCH) 43CFLAGSPROF= 44CFLAGSDEBUG= -g 45CFLAGSDBGUTIL= 46CFLAGSOPT= -O2 47CFLAGSNOOPT= 48CFLAGSOUTOBJ= -o 49 50STATIC= -Bstatic 51DYNAMIC= -Bdynamic 52 53THREADLIB= pthread 54LINK= ld -e start -dc -dp 55LINKFLAGS= 56LINKFLAGSAPPGUI= 57LINKFLAGSSHLGUI= 58LINKFLAGSAPPCUI= 59LINKFLAGSSHLCUI= 60LINKFLAGSTACK= 61LINKFLAGSPROF= 62LINKFLAGSDEBUG= 63LINKFLAGSOPT= 64 65STDOBJGUI= /usr/lib/crt0.o 66STDSLOGUI= /usr/lib/crt0.o 67STDOBJCUI= /usr/lib/crt0.o 68STDSLOCUI= /usr/lib/crt0.o 69STDLIBGUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc 70STDLIBCUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc 71STDSHLGUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc 72STDSHLCUIMT= -Bdynamic -lc -Bstatic -lg++ -lstdc++ -Bdynamic -lm -lgcc -lc -lgcc 73 74LIBMGR= ar 75LIBFLAGS= -r 76LIBEXT= .a 77 78IMPLIB= 79IMPLIBFLAGS= 80 81MAPSYM= 82MAPSYMFLAGS= 83 84RC=irc 85RCFLAGS= -fo$@ $(RCFILES) 86RCLINK= 87RCLINKFLAGS= 88RCSETVERSION= 89 90DLLPOSTFIX= 91DLLPRE= lib 92DLLPOST= .so 93 94LDUMP= 95 96