1998-08-19 20:42:14 +00: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
|
|
|
|
|
1999-03-12 12:43:04 +00:00
|
|
|
MOZ_LIB_UTIL_PREFIX = moz
|
|
|
|
MOZ_LIB_JS_PREFIX = moz
|
|
|
|
MOZ_LIB_DBM_PREFIX = moz
|
|
|
|
|
1998-11-03 15:48:45 +00:00
|
|
|
MOZ_TOOLKIT = @MOZ_TOOLKIT@
|
1998-08-19 20:42:14 +00:00
|
|
|
MOZ_SECURITY = @MOZ_SECURITY@
|
|
|
|
MOZ_JAVA = @MOZ_JAVA@
|
|
|
|
MOZ_OJI = @MOZ_OJI@
|
|
|
|
MOZ_DEBUG = @MOZ_DEBUG@
|
1998-12-15 16:32:37 +00:00
|
|
|
MOZ_DEBUG_MODULES = @MOZ_DEBUG_MODULES@
|
1998-08-19 20:42:14 +00:00
|
|
|
MOZILLA_GPROF = @MOZILLA_GPROF@
|
|
|
|
BUILD_PROFILE = @MOZILLA_GPROF@
|
1999-02-09 23:24:12 +00:00
|
|
|
MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@
|
1998-09-30 00:48:23 +00:00
|
|
|
MOZ_EDITOR = @MOZ_EDITOR@
|
1999-04-01 07:26:42 +00:00
|
|
|
MOZ_BRPROF = @MOZ_BRPROF@
|
1998-08-19 20:42:14 +00:00
|
|
|
UNIX_SKIP_ASSERTS = @UNIX_SKIP_ASSERTS@
|
|
|
|
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@
|
|
|
|
ENABLE_TESTS = @ENABLE_TESTS@
|
1998-08-28 06:55:52 +00:00
|
|
|
DOM = @MOZ_DOM@
|
1998-09-05 20:40:43 +00:00
|
|
|
MOZ_MAIL_COMPOSE = @MOZ_MAIL_COMPOSE@
|
1998-09-10 04:08:00 +00:00
|
|
|
NO_UNIX_LDAP = @NO_UNIX_LDAP@
|
1999-03-12 19:28:09 +00:00
|
|
|
BUILD_XPIDL = @BUILD_XPIDL@
|
1999-03-12 19:34:25 +00:00
|
|
|
BUILD_IDLC = @BUILD_IDLC@
|
1999-02-16 18:29:55 +00:00
|
|
|
MODULAR_NETLIB = @MODULAR_NETLIB@
|
|
|
|
STANDALONE_IMAGE_LIB = @STANDALONE_IMAGE_LIB@
|
1998-08-19 20:42:14 +00:00
|
|
|
|
|
|
|
MOZ_NATIVE_ZLIB = @SYSTEM_ZLIB@
|
|
|
|
MOZ_NATIVE_JPEG = @SYSTEM_JPEG@
|
|
|
|
MOZ_NATIVE_PNG = @SYSTEM_PNG@
|
|
|
|
|
1999-02-08 19:57:15 +00:00
|
|
|
MOZ_UPDATE_XTERM = @MOZ_UPDATE_XTERM@
|
|
|
|
|
1999-02-17 14:37:18 +00:00
|
|
|
MOZ_INSURE = @MOZ_INSURE@
|
|
|
|
MOZ_INSURIFYING = @MOZ_INSURIFYING@
|
|
|
|
MOZ_INSURE_DIRS = @MOZ_INSURE_DIRS@
|
|
|
|
MOZ_INSURE_EXCLUDE_DIRS = @MOZ_INSURE_EXCLUDE_DIRS@
|
|
|
|
|
1999-02-18 04:19:43 +00:00
|
|
|
MOZ_BUILD_XPFE = @MOZ_BUILD_XPFE@
|
1999-04-15 05:43:24 +00:00
|
|
|
MOZ_NO_WALLET_HACK = @MOZ_BUILD_XPFE@
|
1999-04-11 10:32:45 +00:00
|
|
|
MOZ_NATIVE_NSPR = @MOZ_NATIVE_NSPR@
|
1999-02-18 04:19:43 +00:00
|
|
|
|
1998-10-23 00:36:08 +00:00
|
|
|
# Should the extra CFLAGS only be added in Makefile.ins that need them?
|
1999-03-07 05:18:45 +00:00
|
|
|
OS_CFLAGS = @CFLAGS@
|
|
|
|
OS_CXXFLAGS = @CXXFLAGS@
|
1999-03-02 00:54:31 +00:00
|
|
|
|
1999-03-07 05:18:45 +00:00
|
|
|
OS_CFLAGS += $(DSO_CFLAGS)
|
|
|
|
OS_CXXFLAGS += $(DSO_CFLAGS)
|
|
|
|
|
1999-03-22 20:43:02 +00:00
|
|
|
OS_LDFLAGS = @LDFLAGS@
|
|
|
|
|
1998-10-25 22:25:25 +00:00
|
|
|
OS_INCLUDES = $(NSPR_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS)
|
1999-03-22 20:43:02 +00:00
|
|
|
OS_LIBS = @LIBS@
|
1999-03-09 20:11:05 +00:00
|
|
|
ACDEFINES = @DEFS@
|
1999-02-09 23:24:12 +00:00
|
|
|
|
1998-10-23 00:36:08 +00:00
|
|
|
XCFLAGS = @XCFLAGS@
|
|
|
|
XLDFLAGS = @XLDFLAGS@
|
|
|
|
XLIBS = @XLIBS@
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-03-08 15:01:13 +00:00
|
|
|
AS = @AS@
|
|
|
|
ASFLAGS = @ASFLAGS@
|
|
|
|
AS_DASH_C_FLAG = @AS_DASH_C_FLAG@
|
|
|
|
|
|
|
|
# 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@
|
|
|
|
|
1999-03-05 15:36:20 +00:00
|
|
|
CC = @CC@
|
1999-03-07 05:18:45 +00:00
|
|
|
CXX = @CXX@
|
1999-03-05 15:36:20 +00:00
|
|
|
|
1998-08-19 20:42:14 +00:00
|
|
|
GNU_CC = @GNU_CC@
|
|
|
|
GNU_CXX = @GNU_CXX@
|
|
|
|
|
1999-02-17 14:37:18 +00:00
|
|
|
ifdef MOZ_INSURIFYING
|
|
|
|
include $(topsrcdir)/config/insure.mk
|
|
|
|
endif # MOZ_INSURIFYING
|
|
|
|
|
1998-08-19 20:42:14 +00:00
|
|
|
ACEMACS = @EMACS@
|
|
|
|
ACPERL = @PERL@
|
|
|
|
ACRANLIB = @RANLIB@
|
|
|
|
ACWHOAMI = @WHOAMI@
|
|
|
|
ACUNZIP = @UNZIP@
|
|
|
|
ACZIP = @ZIP@
|
|
|
|
|
|
|
|
OBJDIR_TAG = _AC
|
|
|
|
OBJDIR_NAME = .
|
|
|
|
|
1998-11-11 01:53:49 +00:00
|
|
|
ifdef MOZ_NATIVE_JPEG
|
1998-10-23 00:36:08 +00:00
|
|
|
JPEG_CFLAGS = @JPEG_CFLAGS@
|
|
|
|
JPEG_LIBS = @JPEG_LIBS@
|
1998-11-11 01:53:49 +00:00
|
|
|
JPEG_REQUIRES =
|
|
|
|
else
|
|
|
|
JPEG_CFLAGS = -I$(DIST)/public/jpeg
|
|
|
|
JPEG_LIBS = $(DIST)/lib/libjpeg.a
|
|
|
|
JPEG_REQUIRES = jpeg
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_NATIVE_ZLIB
|
1998-10-23 00:36:08 +00:00
|
|
|
ZLIB_CFLAGS = @ZLIB_CFLAGS@
|
|
|
|
ZLIB_LIBS = @ZLIB_LIBS@
|
1998-11-11 01:53:49 +00:00
|
|
|
ZLIB_REQUIRES =
|
|
|
|
else
|
|
|
|
ZLIB_CFLAGS = -I$(DIST)/public/zlib
|
|
|
|
ZLIB_LIBS = $(DIST)/lib/libzlib.a
|
|
|
|
ZLIB_REQUIRES = zlib
|
|
|
|
endif
|
|
|
|
|
1998-11-11 03:04:43 +00:00
|
|
|
ifdef MOZ_NATIVE_PNG
|
1998-10-23 00:36:08 +00:00
|
|
|
PNG_CFLAGS = @PNG_CFLAGS@
|
|
|
|
PNG_LIBS = @PNG_LIBS@
|
1998-11-11 01:53:49 +00:00
|
|
|
PNG_REQUIRES =
|
|
|
|
else
|
|
|
|
PNG_CFLAGS = -I$(DIST)/public/png
|
|
|
|
PNG_LIBS = $(DIST)/lib/libpng.a
|
|
|
|
PNG_REQUIRES = png
|
|
|
|
endif
|
|
|
|
|
1998-10-21 02:05:59 +00:00
|
|
|
NSPR_CFLAGS = @NSPR_CFLAGS@
|
1998-10-02 08:10:31 +00:00
|
|
|
NSPR_LIBS = @NSPR_LIBS@
|
1999-04-05 03:11:30 +00:00
|
|
|
NSPR_INCLUDE_DIR= @NSPR_INCLUDE_DIR@
|
1998-10-02 08:10:31 +00:00
|
|
|
|
1999-02-02 17:39:37 +00: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.
|
1998-10-28 03:40:33 +00:00
|
|
|
ifndef NO_SHARED_LIB
|
1999-02-02 17:39:37 +00:00
|
|
|
WRAP_MALLOC_LIB = @WRAP_MALLOC_LIB@
|
|
|
|
WRAP_MALLOC_CFLAGS = @WRAP_MALLOC_CFLAGS@
|
1998-10-28 03:40:33 +00:00
|
|
|
BUILD_UNIX_PLUGINS = 1
|
1998-11-16 22:11:17 +00:00
|
|
|
DSO_CFLAGS = @DSO_CFLAGS@
|
1998-10-28 03:40:33 +00:00
|
|
|
MKSHLIB = @MKSHLIB@
|
1999-02-02 17:39:37 +00:00
|
|
|
MKSHLIB_FORCE_ALL = @MKSHLIB_FORCE_ALL@
|
|
|
|
MKSHLIB_UNFORCE_ALL = @MKSHLIB_UNFORCE_ALL@
|
1998-10-28 03:40:33 +00:00
|
|
|
DSO_LDOPTS = @DSO_LDOPTS@
|
1998-11-18 05:35:46 +00:00
|
|
|
DLL_SUFFIX = @DLL_SUFFIX@
|
1998-10-28 03:40:33 +00:00
|
|
|
endif
|
|
|
|
|
1998-11-15 09:12:37 +00:00
|
|
|
GTK_CONFIG = @GTK_CONFIG@
|
1999-01-27 19:51:59 +00:00
|
|
|
TK_CFLAGS = @TK_CFLAGS@
|
|
|
|
TK_LIBS = @TK_LIBS@
|
1998-08-19 20:42:14 +00:00
|
|
|
|
1999-04-19 23:14:23 +00:00
|
|
|
ifdef BUILD_XPIDL
|
|
|
|
LIBIDL_CFLAGS = @LIBIDL_CFLAGS@
|
|
|
|
LIBIDL_LIBS = @LIBIDL_LIBS@
|
|
|
|
endif
|
|
|
|
|
1998-12-04 05:07:01 +00:00
|
|
|
MOZ_NATIVE_MAKEDEPEND = @SYSTEM_MAKEDEPEND@
|
|
|
|
|
1999-02-19 18:42:29 +00:00
|
|
|
# Used for LD_LIBRARY_PATH
|
|
|
|
LIBS_PATH = @LIBS_PATH@
|
|
|
|
|
1999-02-19 03:06:32 +00:00
|
|
|
COMPILER_DEPEND = @COMPILER_DEPEND@
|
1999-03-22 20:43:02 +00:00
|
|
|
MDDEPDIR := @MDDEPDIR@
|
1999-02-19 03:06:32 +00:00
|
|
|
|
1999-02-19 18:42:29 +00:00
|
|
|
# Pulled these out of configure.in,
|
|
|
|
# so undefine them now instead of subst
|
|
|
|
MOZ_NETCAST =
|
|
|
|
MOZ_LDAP =
|
|
|
|
SMART_MAIL =
|
|
|
|
|
1998-11-03 15:48:45 +00:00
|
|
|
# XXX - these need to be cleaned up and have real checks added -cls
|
1998-10-28 03:40:33 +00:00
|
|
|
NGLAYOUT_PLUGINS=1
|
|
|
|
CM_BLDTYPE=dbg
|
|
|
|
AWT_11=1
|
|
|
|
MOZ_BITS=32
|
|
|
|
OS_TARGET=@OS_TARGET@
|