pjs/config/autoconf.mk.in

262 строки
6.8 KiB
Makefile
Исходник Обычный вид История

1998-08-20 00:42:14 +04:00
# The contents of this file are subject to the Mozilla Public License
# Version 1.0 (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.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
# the License for the specific language governing rights and
# limitations under the License.
#
# The Original Code is this file as it was released upon August 6, 1998.
#
# The Initial Developer of this code under the MPL is Christopher
# Seawood, <cls@seawood.org>. Portions created by Christopher Seawood
# are Copyright (C) 1998 Christopher Seawood. All Rights Reserved.
# A netscape style .mk file for autoconf builds
USE_AUTOCONF = 1
MOZILLA_CLIENT = 1
NO_MDUPDATE = 1
DIST = $(DEPTH)/dist
MOZ_WIDGET_TOOLKIT = @MOZ_WIDGET_TOOLKIT@
MOZ_GFX_TOOLKIT = $(MOZ_WIDGET_TOOLKIT)
MOZ_MONOLITHIC_TOOLKIT = @MOZ_MONOLITHIC_TOOLKIT@
### XXX ### BROKEN MOZ_XLIBRGB_LDFLAGS = @MOZ_XLIBRGB_LDFLAGS@
### XXX ### BROKEN MOZ_USING_XLIBRGB = @MOZ_USING_XLIBRGB@
1999-08-24 18:46:43 +04:00
MOZ_TIMER_LIBS = @MOZ_TIMER_LIBS@
1999-08-03 02:33:44 +04:00
MOZ_GFX_TOOLKIT_LDFLAGS = -lgfx_$(MOZ_WIDGET_TOOLKIT) $(MOZ_XLIBRGB_LDFLAGS)
MOZ_WIDGET_TOOLKIT_LDFLAGS = -lwidget_$(MOZ_WIDGET_TOOLKIT)
1998-08-20 00:42:14 +04:00
MOZ_SECURITY = @MOZ_SECURITY@
MOZ_JAVA = @MOZ_JAVA@
MOZ_OJI = @MOZ_OJI@
MOZ_DEBUG = @MOZ_DEBUG@
MOZ_DEBUG_MODULES = @MOZ_DEBUG_MODULES@
1998-08-20 00:42:14 +04:00
MOZILLA_GPROF = @MOZILLA_GPROF@
BUILD_PROFILE = @MOZILLA_GPROF@
MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@
MOZ_EDITOR = @MOZ_EDITOR@
MOZ_BRPROF = @MOZ_BRPROF@
1998-08-20 00:42:14 +04:00
NO_UNIX_ASYNC_DNS = @NO_UNIX_ASYNC_DNS@
NO_SHARED_LIB = @NO_SHARED_LIB@
NO_NETSCAPE_SHARED = @NO_SHARED_LIB@
NO_STATIC_LIB = @NO_STATIC_LIB@
NO_NETSCAPE_STATIC = @NO_STATIC_LIB@
MOZ_STRIP_NOT_EXPORTED = @MOZ_STRIP_NOT_EXPORTED@
1998-08-20 00:42:14 +04:00
ENABLE_TESTS = @ENABLE_TESTS@
ENABLE_PICS = @ENABLE_PICS@
NO_UNIX_LDAP = @NO_UNIX_LDAP@
BUILD_IDLC = @BUILD_IDLC@
1998-08-20 00:42:14 +04:00
ClientWallet=@ClientWallet@
CookieManagement=@CookieManagement@
SingleSignon=@SingleSignon@
MOZ_POST_DSO_LIB_COMMAND = @MOZ_POST_DSO_LIB_COMMAND@
MOZ_POST_PROGRAM_COMMAND = @MOZ_POST_PROGRAM_COMMAND@
MOZ_ENABLE_GTK_MOZILLA = @MOZ_ENABLE_GTK_MOZILLA@
MOZ_BUILD_ROOT = @MOZ_BUILD_ROOT@
1999-09-05 19:53:04 +04:00
MOZ_GLE = @MOZ_GLE@
1998-08-20 00:42:14 +04:00
MOZ_NATIVE_ZLIB = @SYSTEM_ZLIB@
MOZ_NATIVE_JPEG = @SYSTEM_JPEG@
MOZ_NATIVE_PNG = @SYSTEM_PNG@
MOZ_UPDATE_XTERM = @MOZ_UPDATE_XTERM@
1999-02-17 17:37:18 +03:00
MOZ_INSURE = @MOZ_INSURE@
MOZ_INSURIFYING = @MOZ_INSURIFYING@
MOZ_INSURE_DIRS = @MOZ_INSURE_DIRS@
MOZ_INSURE_EXCLUDE_DIRS = @MOZ_INSURE_EXCLUDE_DIRS@
MOZ_BUILD_XPFE = @MOZ_BUILD_XPFE@
MOZ_NATIVE_NSPR = @MOZ_NATIVE_NSPR@
NECKO = @NECKO@
CROSS_COMPILE = @CROSS_COMPILE@
# Should the extra CFLAGS only be added in Makefile.ins that need them?
OS_CFLAGS = @CFLAGS@
OS_CXXFLAGS = @CXXFLAGS@
OS_CFLAGS += $(DSO_CFLAGS) $(DSO_PIC_CFLAGS)
OS_CXXFLAGS += $(DSO_CFLAGS) $(DSO_PIC_CFLAGS)
1999-03-22 23:43:02 +03:00
OS_LDFLAGS = @LDFLAGS@
OS_INCLUDES = $(NSPR_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS)
1999-03-22 23:43:02 +03:00
OS_LIBS = @LIBS@
1999-03-09 23:11:05 +03:00
ACDEFINES = @DEFS@
XCFLAGS = @XCFLAGS@
XLDFLAGS = @XLDFLAGS@
XLIBS = @XLIBS@
1998-08-20 00:42:14 +04:00
1999-05-06 09:41:10 +04:00
AIX_SHLIB_BIN = @AIX_SHLIB_BIN@
AR = @AR@
AR_FLAGS = @AR_FLAGS@
AR_EXTRACT = @AR_EXTRACT@
AR_LIST = @AR_LIST@
AS = @AS@
ASFLAGS = @ASFLAGS@
AS_DASH_C_FLAG = @AS_DASH_C_FLAG@
LD = @LD@
DLLTOOL = @DLLTOOL@
WINDRES = @WINDRES@
OBJ_SUFFIX = @OBJ_SUFFIX@
LIB_SUFFIX = @LIB_SUFFIX@
DLL_SUFFIX = @DLL_SUFFIX@
# Temp hack. It is not my intention to leave this crap in here for ever.
# Im talking to fur right now to solve the problem without introducing
# NS_USE_NATIVE to the build system -ramiro.
NS_USE_NATIVE = @NS_USE_NATIVE@
CC = @CC@
CXX = @CXX@
1998-08-20 00:42:14 +04:00
GNU_CC = @GNU_CC@
GNU_CXX = @GNU_CXX@
HOST_CC = @HOST_CC@
HOST_CXX = @HOST_CXX@
HOST_CFLAGS = @HOST_CFLAGS@
HOST_CXXFLAGS = @HOST_CXXFLAGS@
HOST_NSPR_MDCPUCFG = @HOST_NSPR_MDCPUCFG@
HOST_AR = @HOST_AR@
HOST_RANLIB = @HOST_RANLIB@
TARGET_NSPR_MDCPUCFG = @TARGET_NSPR_MDCPUCFG@
TARGET_CPU = @TARGET_CPU@
TARGET_OS = @TARGET_OS@
TARGET_MD_ARCH = @TARGET_MD_ARCH@
1999-02-17 17:37:18 +03:00
ifdef MOZ_INSURIFYING
include $(topsrcdir)/config/insure.mk
endif # MOZ_INSURIFYING
EMACS = @EMACS@
PERL = @PERL@
RANLIB = @RANLIB@
WHOAMI = @WHOAMI@
UNZIP_PROG = @UNZIP@
ZIP_PROG = @ZIP@
1998-08-20 00:42:14 +04:00
ifdef MOZ_NATIVE_JPEG
JPEG_CFLAGS = @JPEG_CFLAGS@
JPEG_LIBS = @JPEG_LIBS@
JPEG_REQUIRES =
else
JPEG_CFLAGS = -I$(DIST)/public/jpeg
JPEG_LIBS = $(DIST)/lib/libjpeg.a
JPEG_REQUIRES = jpeg
endif
ifdef MOZ_NATIVE_ZLIB
ZLIB_CFLAGS = @ZLIB_CFLAGS@
ZLIB_LIBS = @ZLIB_LIBS@
ZLIB_REQUIRES =
else
ZLIB_CFLAGS = -I$(DIST)/public/zlib
ZLIB_LIBS = $(DIST)/lib/libzlib.a
ZLIB_REQUIRES = zlib
endif
ifdef MOZ_NATIVE_PNG
PNG_CFLAGS = @PNG_CFLAGS@
PNG_LIBS = @PNG_LIBS@
PNG_REQUIRES =
else
PNG_CFLAGS = -I$(DIST)/public/png
PNG_LIBS = $(DIST)/lib/libpng.a
PNG_REQUIRES = png
endif
NSPR_CFLAGS = @NSPR_CFLAGS@
NSPR_LIBS = @NSPR_LIBS@
1999-04-05 07:11:30 +04:00
NSPR_INCLUDE_DIR= @NSPR_INCLUDE_DIR@
1999-02-02 20:39:37 +03:00
# MKSHLIB_FORCE_ALL is used to force the linker to include all object
# files present in an archive. MKSHLIB_UNFORCE_ALL reverts the linker
# to normal behavior. Makefile's that create shared libraries out of
# archives use these flags to force in all of the .o files in the
# archives into the shared library.
ifndef NO_SHARED_LIB
1999-02-02 20:39:37 +03:00
WRAP_MALLOC_LIB = @WRAP_MALLOC_LIB@
WRAP_MALLOC_CFLAGS = @WRAP_MALLOC_CFLAGS@
BUILD_UNIX_PLUGINS = 1
DSO_CFLAGS = @DSO_CFLAGS@
DSO_PIC_CFLAGS = @DSO_PIC_CFLAGS@
MKSHLIB = @MKSHLIB@
MKCSHLIB = @MKCSHLIB@
MKSHLIB_FORCE_ALL = @MKSHLIB_FORCE_ALL@
MKSHLIB_UNFORCE_ALL = @MKSHLIB_UNFORCE_ALL@
DSO_LDOPTS = @DSO_LDOPTS@
DLL_SUFFIX = @DLL_SUFFIX@
endif
NO_LD_ARCHIVE_FLAGS = @NO_LD_ARCHIVE_FLAGS@
1998-11-15 12:12:37 +03:00
GTK_CONFIG = @GTK_CONFIG@
TK_CFLAGS = @TK_CFLAGS@
TK_LIBS = @TK_LIBS@
1998-08-20 00:42:14 +04:00
MOZ_TOOLKIT_REGISTRY_CFLAGS = \
-DWIDGET_DLL=\"libwidget_$(MOZ_WIDGET_TOOLKIT).$(DLL_SUFFIX)\" \
-DGFXWIN_DLL=\"libgfx_$(MOZ_GFX_TOOLKIT).$(DLL_SUFFIX)\" \
$(TK_CFLAGS)
MOZ_ENABLE_GTK = @MOZ_ENABLE_GTK@
MOZ_ENABLE_MOTIF = @MOZ_ENABLE_MOTIF@
MOZ_ENABLE_XLIB = @MOZ_ENABLE_XLIB@
MOZ_ENABLE_QT = @MOZ_ENABLE_QT@
MOZ_GTK_CFLAGS = @MOZ_GTK_CFLAGS@
MOZ_GTK_LDFLAGS = @MOZ_GTK_LDFLAGS@
MOZ_MOTIF_CFLAGS = @MOZ_MOTIF_CFLAGS@
MOZ_MOTIF_LDFLAGS = @MOZ_MOTIF_LDFLAGS@
MOZ_XLIB_CFLAGS = @MOZ_XLIB_CFLAGS@
MOZ_XLIB_LDFLAGS = @MOZ_XLIB_LDFLAGS@
MOZ_QT_CFLAGS = @MOZ_QT_CFLAGS@
MOZ_QT_LDFLAGS = @MOZ_QT_LDFLAGS@
LIBIDL_CFLAGS = @LIBIDL_CFLAGS@
LIBIDL_LIBS = @LIBIDL_LIBS@
MOZ_NATIVE_MAKEDEPEND = @SYSTEM_MAKEDEPEND@
# Used for LD_LIBRARY_PATH
LIBS_PATH = @LIBS_PATH@
COMPILER_DEPEND = @COMPILER_DEPEND@
1999-03-22 23:43:02 +03:00
MDDEPDIR := @MDDEPDIR@
MOZ_DISABLE_DTD_DEBUG = @MOZ_DISABLE_DTD_DEBUG@
# Pulled these out of configure.in,
# so undefine them now instead of subst
MOZ_NETCAST =
MOZ_LDAP =
SMART_MAIL =
# XXX - these need to be cleaned up and have real checks added -cls
CM_BLDTYPE=dbg
AWT_11=1
MOZ_BITS=32
OS_TARGET=@OS_TARGET@