2003-03-27 04:48:49 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
|
|
|
# $RCSfile: unxfbsdi.mk,v $
|
|
|
|
#
|
2003-04-28 10:46:28 -05:00
|
|
|
# $Revision: 1.6 $
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
2003-04-28 10:46:28 -05:00
|
|
|
# last change: $Author: hr $ $Date: 2003-04-28 16:46:28 $
|
2003-03-27 04:48:49 -06:00
|
|
|
#
|
|
|
|
# The Contents of this file are made available subject to the terms of
|
|
|
|
# either of the following licenses
|
|
|
|
#
|
|
|
|
# - GNU Lesser General Public License Version 2.1
|
|
|
|
# - Sun Industry Standards Source License Version 1.1
|
|
|
|
#
|
|
|
|
# Sun Microsystems Inc., October, 2000
|
|
|
|
#
|
|
|
|
# GNU Lesser General Public License Version 2.1
|
|
|
|
# =============================================
|
|
|
|
# Copyright 2000 by Sun Microsystems, Inc.
|
|
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License version 2.1, as published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
# MA 02111-1307 USA
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Sun Industry Standards Source License Version 1.1
|
|
|
|
# =================================================
|
|
|
|
# The contents of this file are subject to the Sun Industry Standards
|
|
|
|
# Source License Version 1.1 (the "License"); You may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of the
|
|
|
|
# License at http://www.openoffice.org/license.html.
|
|
|
|
#
|
|
|
|
# Software provided under this License is provided on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
|
|
|
# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
|
|
|
# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
|
|
|
# See the License for the specific provisions governing your rights and
|
|
|
|
# obligations concerning the Software.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
|
|
|
|
#
|
|
|
|
# Copyright: 2000 by Sun Microsystems, Inc.
|
|
|
|
#
|
|
|
|
# All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s): _______________________________________
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#*************************************************************************
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2003-03-27 04:48:49 -06:00
|
|
|
# mak file for unxfbsdi
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
ASM=
|
|
|
|
AFLAGS=
|
|
|
|
|
2001-04-08 15:05:54 -05:00
|
|
|
SOLAR_JAVA=TRUE
|
|
|
|
JAVAFLAGSDEBUG=-g
|
|
|
|
|
|
|
|
LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
|
|
|
|
|
|
|
|
|
2003-03-27 04:48:49 -06:00
|
|
|
CC= gcc
|
|
|
|
CXX= g++
|
2001-04-08 15:05:54 -05:00
|
|
|
CDEFS+= -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=400
|
|
|
|
CDEFS+= -D_REENTRANT -D_PTHREADS -D_THREAD_SAFE
|
2003-04-28 10:46:28 -05:00
|
|
|
CFLAGS+= -c $(INCLUDE)
|
2001-04-08 15:05:54 -05:00
|
|
|
CFLAGS+= -I/usr/X11R6/include
|
|
|
|
CFLAGSCC= -pipe
|
|
|
|
CFLAGSCXX= -pipe -fno-for-scope -fpermissive
|
|
|
|
CFLAGSEXCEPTIONS= -fexceptions
|
|
|
|
CFLAGS_NO_EXCEPTIONS= -fno-exceptions
|
|
|
|
CFLAGSOBJGUIST= -fPIC
|
|
|
|
CFLAGSOBJCUIST= -fPIC
|
|
|
|
CFLAGSOBJGUIMT= -fPIC
|
|
|
|
CFLAGSOBJCUIMT= -fPIC
|
2000-09-20 08:43:26 -05:00
|
|
|
CFLAGSSLOGUIMT= -fPIC
|
|
|
|
CFLAGSSLOCUIMT= -fPIC
|
|
|
|
CFLAGSPROF= -pg
|
|
|
|
CFLAGSDEBUG= -g
|
|
|
|
CFLAGSDBGUTIL=
|
2001-04-08 15:05:54 -05:00
|
|
|
CFLAGSOPT= -O2
|
|
|
|
CFLAGSNOOPT= -O
|
|
|
|
CFLAGSOUTOBJ= -o
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2001-04-08 15:05:54 -05:00
|
|
|
STATIC= -Wl,-Bstatic
|
|
|
|
DYNAMIC= -Wl,-Bdynamic
|
2000-09-20 08:43:26 -05:00
|
|
|
|
2001-04-08 15:05:54 -05:00
|
|
|
#THREADLIB= -pthread
|
|
|
|
LINK= gcc
|
2000-09-20 08:43:26 -05:00
|
|
|
# -v -nostdlib
|
|
|
|
LINKFLAGS=
|
2001-04-08 15:05:54 -05:00
|
|
|
LINKFLAGSAPPGUI= -Wl,-export-dynamic
|
|
|
|
LINKFLAGSAPPCUI= -Wl,-export-dynamic
|
2000-09-20 08:43:26 -05:00
|
|
|
LINKFLAGSSHLGUI= -shared
|
|
|
|
LINKFLAGSSHLCUI= -shared
|
|
|
|
LINKFLAGSTACK=
|
|
|
|
LINKFLAGSPROF=
|
2001-04-08 15:05:54 -05:00
|
|
|
LINKFLAGSDEBUG=-g
|
2000-09-20 08:43:26 -05:00
|
|
|
LINKFLAGSOPT=
|
|
|
|
|
2001-04-08 15:05:54 -05:00
|
|
|
.IF "$(NO_BSYMBOLIC)"==""
|
|
|
|
.IF "$(PRJNAME)" != "envtest"
|
|
|
|
LINKFLAGSSHLGUI+= -Wl,-Bsymbolic
|
|
|
|
LINKFLAGSSHLCUI+= -Wl,-Bsymbolic
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
LINKVERSIONMAPFLAG=-Wl,--version-script
|
|
|
|
|
|
|
|
STDLIBCPP=-lstdc++
|
|
|
|
|
|
|
|
# _SYSLIBS= -L/usr/lib -lm
|
2001-10-24 11:21:47 -05:00
|
|
|
# _X11LIBS= -L/usr/X11R6/lib -lXext -lX11
|
2001-04-08 15:05:54 -05:00
|
|
|
# _CXXLIBS= -L/usr/lib -lstdc++ -L/usr/local/lib
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
STDOBJGUI=
|
|
|
|
STDSLOGUI=
|
|
|
|
STDOBJCUI=
|
|
|
|
STDSLOCUI=
|
|
|
|
|
2001-04-08 15:05:54 -05:00
|
|
|
STDLIBCUIST=-lm
|
2001-10-24 11:21:47 -05:00
|
|
|
STDLIBGUIST=-lX11 -lm
|
|
|
|
STDLIBGUIMT=-lX11 -lXext -pthread -lm -lstlport_gcc
|
2001-04-08 15:05:54 -05:00
|
|
|
STDLIBCUIMT=-pthread -lm -lstlport_gcc
|
2001-10-24 11:21:47 -05:00
|
|
|
STDSHLGUIMT=-lX11 -lXext -pthread -lm -lstlport_gcc
|
2001-04-08 15:05:54 -05:00
|
|
|
STDSHLCUIMT=-pthread -lm -lstlport_gcc
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
LIBMGR= ar
|
|
|
|
LIBFLAGS= -r
|
|
|
|
LIBEXT= .a
|
|
|
|
|
|
|
|
IMPLIB=
|
|
|
|
IMPLIBFLAGS=
|
|
|
|
|
|
|
|
MAPSYM=
|
|
|
|
MAPSYMFLAGS=
|
|
|
|
|
|
|
|
RC=irc
|
|
|
|
RCFLAGS= -fo$@ $(RCFILES)
|
|
|
|
RCLINK=
|
|
|
|
RCLINKFLAGS=
|
|
|
|
RCSETVERSION=
|
|
|
|
|
|
|
|
DLLPOSTFIX= fi
|
|
|
|
DLLPRE= lib
|
2001-04-08 15:05:54 -05:00
|
|
|
DLLPOST= .so
|
2000-09-20 08:43:26 -05:00
|
|
|
LDUMP=
|