# # The contents of this file are subject to the Mozilla Public # 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.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 the Original Code is Christopher # Seawood. Portions created by Christopher Seawood are # Copyright (C) 1998 Christopher Seawood. All # Rights Reserved. # # Contributor(s): # A netscape style .mk file for autoconf builds INCLUDED_AUTOCONF_MK = 1 USE_AUTOCONF = 1 MOZILLA_CLIENT = 1 NO_MDUPDATE = 1 BUILD_MODULES = @BUILD_MODULES@ MOZILLA_VERSION = @MOZILLA_VERSION@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ includedir = @includedir@/mozilla-$(MOZILLA_VERSION) libdir = @libdir@ datadir = @datadir@ mandir = @mandir@ mozappdir = $(libdir)/mozilla-$(MOZILLA_VERSION) mredir = $(libdir)/mre/mre-$(MOZILLA_VERSION) mrelibdir = $(mredir)/lib DIST = $(DEPTH)/dist MOZ_CHROME_FILE_FORMAT = @MOZ_CHROME_FILE_FORMAT@ MOZ_WIDGET_TOOLKIT = @MOZ_WIDGET_TOOLKIT@ MOZ_GFX_TOOLKIT = $(MOZ_WIDGET_TOOLKIT) MOZ_JS_LIBS = @MOZ_JS_LIBS@ MOZ_GFX_TOOLKIT_LDFLAGS = @MOZ_GFX_TOOLKIT_LDFLAGS@ MOZ_WIDGET_TOOLKIT_LDFLAGS = @MOZ_WIDGET_TOOLKIT_LDFLAGS@ MOZ_DEBUG = @MOZ_DEBUG@ MOZ_DEBUG_MODULES = @MOZ_DEBUG_MODULES@ MOZ_PROFILE_MODULES = @MOZ_PROFILE_MODULES@ MOZ_DEBUG_ENABLE_DEFS = @MOZ_DEBUG_ENABLE_DEFS@ MOZ_DEBUG_DISABLE_DEFS = @MOZ_DEBUG_DISABLE_DEFS@ MOZ_DEBUG_FLAGS = @MOZ_DEBUG_FLAGS@ MOZ_DEBUG_LDFLAGS=@MOZ_DEBUG_LDFLAGS@ MOZ_DBGRINFO_MODULES = @MOZ_DBGRINFO_MODULES@ MOZ_EXTENSIONS = @MOZ_EXTENSIONS@ MOZ_JSDEBUGGER = @MOZ_JSDEBUGGER@ MOZ_PERF_METRICS = @MOZ_PERF_METRICS@ MOZ_LEAKY = @MOZ_LEAKY@ MOZ_JPROF = @MOZ_JPROF@ MOZ_XPCTOOLS = @MOZ_XPCTOOLS@ ENABLE_EAZEL_PROFILER=@ENABLE_EAZEL_PROFILER@ EAZEL_PROFILER_CFLAGS=@EAZEL_PROFILER_CFLAGS@ EAZEL_PROFILER_LIBS=@EAZEL_PROFILER_LIBS@ GC_LEAK_DETECTOR = @GC_LEAK_DETECTOR@ NS_TRACE_MALLOC = @NS_TRACE_MALLOC@ USE_ELF_DYNSTR_GC = @USE_ELF_DYNSTR_GC@ MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@ MOZ_CALENDAR = @MOZ_CALENDAR@ MOZ_PLAINTEXT_EDITOR_ONLY = @MOZ_PLAINTEXT_EDITOR_ONLY@ BUILD_SHARED_LIBS = @BUILD_SHARED_LIBS@ BUILD_STATIC_LIBS = @BUILD_STATIC_LIBS@ MOZ_STATIC_COMPONENTS = @MOZ_STATIC_COMPONENTS@ MOZ_META_COMPONENTS = @MOZ_META_COMPONENTS@ MOZ_STATIC_COMPONENT_LIBS = @MOZ_STATIC_COMPONENT_LIBS@ ENABLE_TESTS = @ENABLE_TESTS@ IBMBIDI = @IBMBIDI@ SUNCTL = @SUNCTL@ ACCESSIBILITY = @ACCESSIBILITY@ MOZ_LDAP_XPCOM = @MOZ_LDAP_XPCOM@ MOZ_LDAP_XPCOM_EXPERIMENTAL = @MOZ_LDAP_XPCOM_EXPERIMENTAL@ XPCOM_USE_LEA = @XPCOM_USE_LEA@ JS_ULTRASPARC_OPTS = @JS_ULTRASPARC_OPTS@ MOZ_ENABLE_POSTSCRIPT = @MOZ_ENABLE_POSTSCRIPT@ MOZ_INSTALLER = @MOZ_INSTALLER@ MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS = @MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS@ MOZ_COMPONENT_NSPR_LIBS=@MOZ_COMPONENT_NSPR_LIBS@ MOZ_COMPONENT_XPCOM_LIBS=@MOZ_COMPONENT_XPCOM_LIBS@ XPCOM_LIBS=@XPCOM_LIBS@ MOZ_REORDER=@MOZ_REORDER@ MOZ_TIMELINE=@MOZ_TIMELINE@ ENABLE_STRIP = @ENABLE_STRIP@ ClientWallet=1 CookieManagement=1 SingleSignon=1 MOZ_OJI=1 MOZ_POST_DSO_LIB_COMMAND = @MOZ_POST_DSO_LIB_COMMAND@ MOZ_POST_PROGRAM_COMMAND = @MOZ_POST_PROGRAM_COMMAND@ MOZ_BUILD_ROOT = @MOZ_BUILD_ROOT@ MOZ_GLE = @MOZ_GLE@ MOZ_XUL = @MOZ_XUL@ MOZ_NATIVE_ZLIB = @SYSTEM_ZLIB@ MOZ_NATIVE_JPEG = @SYSTEM_JPEG@ MOZ_NATIVE_PNG = @SYSTEM_PNG@ MOZ_NATIVE_MNG = @SYSTEM_MNG@ MOZ_INTERNAL_LIBART_LGPL = @MOZ_INTERNAL_LIBART_LGPL@ MOZ_UPDATE_XTERM = @MOZ_UPDATE_XTERM@ MOZ_MATHML = @MOZ_MATHML@ MOZ_SVG = @MOZ_SVG@ MOZ_LIBART_CFLAGS = @MOZ_LIBART_CFLAGS@ TX_EXE = @TX_EXE@ # Mac's don't like / in a #include, so we include the libart # headers locally if we're using the external library ifdef MOZ_LIBART_CFLAGS ifndef MOZ_INTERNAL_LIBART_LGPL MOZ_LIBART_CFLAGS := $(MOZ_LIBART_CFLAGS)/libart_lgpl endif endif MOZ_LIBART_LIBS = @MOZ_LIBART_LIBS@ MOZ_INSURE = @MOZ_INSURE@ MOZ_INSURIFYING = @MOZ_INSURIFYING@ MOZ_INSURE_DIRS = @MOZ_INSURE_DIRS@ MOZ_INSURE_EXCLUDE_DIRS = @MOZ_INSURE_EXCLUDE_DIRS@ MOZ_NATIVE_NSPR = @MOZ_NATIVE_NSPR@ CROSS_COMPILE = @CROSS_COMPILE@ OS_CPPFLAGS = @CPPFLAGS@ OS_CFLAGS = $(OS_CPPFLAGS) @CFLAGS@ OS_CXXFLAGS = $(OS_CPPFLAGS) @CXXFLAGS@ OS_LDFLAGS = @LDFLAGS@ OS_COMPILE_CFLAGS = $(OS_CPPFLAGS) @COMPILE_CFLAGS@ OS_COMPILE_CXXFLAGS = $(OS_CPPFLAGS) @COMPILE_CXXFLAGS@ OS_INCLUDES = $(NSPR_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(MNG_CFLAGS) $(ZLIB_CFLAGS) OS_LIBS = @LIBS@ ACDEFINES = @DEFS@ MOZ_OPTIMIZE = @MOZ_OPTIMIZE@ MOZ_OPTIMIZE_FLAGS = @MOZ_OPTIMIZE_FLAGS@ MOZ_OPTIMIZE_LDFLAGS = @MOZ_OPTIMIZE_LDFLAGS@ XCFLAGS = @XCFLAGS@ XLDFLAGS = @XLDFLAGS@ XLIBS = @XLIBS@ AIX_SHLIB_BIN = @AIX_SHLIB_BIN@ AR = @AR@ AR_FLAGS = @AR_FLAGS@ AR_EXTRACT = @AR_EXTRACT@ AR_LIST = @AR_LIST@ AR_DELETE = @AR_DELETE@ AS = @AS@ ASFLAGS = @ASFLAGS@ AS_DASH_C_FLAG = @AS_DASH_C_FLAG@ LD = @LD@ DLLTOOL = @DLLTOOL@ RC = @RC@ RCFLAGS = @RCFLAGS@ WINDRES = @WINDRES@ USE_SHORT_LIBNAME = @USE_SHORT_LIBNAME@ IMPLIB = @IMPLIB@ FILTER = @FILTER@ BIN_FLAGS = @BIN_FLAGS@ LIB_PREFIX = @LIB_PREFIX@ OBJ_SUFFIX = @OBJ_SUFFIX@ LIB_SUFFIX = @LIB_SUFFIX@ DLL_SUFFIX = @DLL_SUFFIX@ BIN_SUFFIX = @BIN_SUFFIX@ ASM_SUFFIX = @ASM_SUFFIX@ USE_N32 = @USE_N32@ HAVE_64BIT_OS = @HAVE_64BIT_OS@ # 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@ GNU_AS = @GNU_AS@ GNU_LD = @GNU_LD@ GNU_CC = @GNU_CC@ GNU_CXX = @GNU_CXX@ HAVE_GCC3_ABI = @HAVE_GCC3_ABI@ 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@ HOST_LIBIDL_CONFIG = @HOST_LIBIDL_CONFIG@ HOST_LIBIDL_CFLAGS = @HOST_LIBIDL_CFLAGS@ HOST_LIBIDL_LIBS = @HOST_LIBIDL_LIBS@ TARGET_NSPR_MDCPUCFG = @TARGET_NSPR_MDCPUCFG@ TARGET_CPU = @TARGET_CPU@ TARGET_VENDOR = @TARGET_VENDOR@ TARGET_OS = @TARGET_OS@ TARGET_MD_ARCH = @TARGET_MD_ARCH@ AUTOCONF = @AUTOCONF@ EMACS = @EMACS@ PERL = @PERL@ RANLIB = @RANLIB@ WHOAMI = @WHOAMI@ UNZIP_PROG = @UNZIP@ ZIP_PROG = @ZIP@ XARGS = @XARGS@ STRIP = @STRIP@ DOXYGEN = @DOXYGEN@ ifdef MOZ_NATIVE_JPEG JPEG_CFLAGS = @JPEG_CFLAGS@ JPEG_LIBS = @JPEG_LIBS@ JPEG_REQUIRES = else JPEG_CFLAGS = @MOZ_JPEG_CFLAGS@ JPEG_LIBS = @MOZ_JPEG_LIBS@ JPEG_REQUIRES = jpeg endif ifdef MOZ_NATIVE_ZLIB ZLIB_CFLAGS = @ZLIB_CFLAGS@ ZLIB_LIBS = @ZLIB_LIBS@ ZLIB_REQUIRES = else ZLIB_CFLAGS = @MOZ_ZLIB_CFLAGS@ ZLIB_LIBS = @MOZ_ZLIB_LIBS@ ZLIB_REQUIRES = zlib endif ifdef MOZ_NATIVE_PNG PNG_CFLAGS = @PNG_CFLAGS@ PNG_LIBS = @PNG_LIBS@ PNG_REQUIRES = else PNG_CFLAGS = @MOZ_PNG_CFLAGS@ PNG_LIBS = @MOZ_PNG_LIBS@ PNG_REQUIRES = png endif ifdef MOZ_NATIVE_MNG MNG_CFLAGS = @MNG_CFLAGS@ MNG_LIBS = @MNG_LIBS@ MNG_REQUIRES = else MNG_CFLAGS = @MOZ_MNG_CFLAGS@ MNG_LIBS = @MOZ_MNG_LIBS@ MNG_REQUIRES = mng endif NSPR_CFLAGS = @NSPR_CFLAGS@ NSPR_LIBS = @NSPR_LIBS@ LDAP_CFLAGS = @LDAP_CFLAGS@ LDAP_LIBS = @LDAP_LIBS@ # UNIX98 iconv support LIBICONV = @LIBICONV@ # 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. WRAP_MALLOC_LIB = @WRAP_MALLOC_LIB@ WRAP_MALLOC_CFLAGS = @WRAP_MALLOC_CFLAGS@ 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@ NO_LD_ARCHIVE_FLAGS = @NO_LD_ARCHIVE_FLAGS@ GTK_CONFIG = @GTK_CONFIG@ TK_CF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INERAMA@ MOZ_XINERAMA_LIBS = @MOZ_XINERAMA_LIBS@ MOZ_XIE_LIBS = @MOZ_XIE_LIBS@ XT_LIBS = @XT_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GLIB_GMODULE_LIBS = @GLIB_GMODULE_LIBS@ LIBIDL_CFLAGS = @LIBIDL_CFLAGS@ LIBIDL_LIBS = @LIBIDL_LIBS@ MOZ_NATIVE_MAKEDEPEND = @SYSTEM_MAKEDEPEND@ # Used for LD_LIBRARY_PATH LIBS_PATH = @LIBS_PATH@ MOZ_AUTO_DEPS = @MOZ_AUTO_DEPS@ COMPILER_DEPEND = @COMPILER_DEPEND@ MDDEPDIR := @MDDEPDIR@ MOZ_DISABLE_DTD_DEBUG = @MOZ_DISABLE_DTD_DEBUG@ MOZ_DEMANGLE_SYMBOLS = @MOZ_DEMANGLE_SYMBOLS@ # 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@ OS_ARCH=@OS_ARCH@ OS_RELEASE=@OS_RELEASE@ OS_TEST=@OS_TEST@ # For OS/2 build MOZ_OS2_TOOLS = @MOZ_OS2_TOOLS@ MOZ_OS2_EMX_OBJECTFORMAT = @MOZ_OS2_EMX_OBJECTFORMAT@ HAVE_XIE=@HAVE_XIE@ MOZ_MOVEMAIL=@MOZ_MOVEMAIL@ MOZ_PSM=@MOZ_PSM@ # for Qt build MOC=@MOC@ # Win32 options MOZ_PROFILE = @MOZ_PROFILE@ MOZ_COVERAGE = @MOZ_COVERAGE@ MOZ_MAPINFO = @MOZ_MAPINFO@ MOZ_BROWSE_INFO = @MOZ_BROWSE_INFO@ MOZ_TOOLS_DIR = @MOZ_TOOLS_DIR@