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
|
|
|
|
|
1998-11-03 18:48:45 +03:00
|
|
|
MOZ_TOOLKIT = @MOZ_TOOLKIT@
|
1998-08-20 00:42:14 +04:00
|
|
|
MOZ_SECURITY = @MOZ_SECURITY@
|
|
|
|
MOZ_JAVA = @MOZ_JAVA@
|
|
|
|
MOZ_OJI = @MOZ_OJI@
|
|
|
|
MOZ_NETCAST = @MOZ_NETCAST@
|
|
|
|
MOZ_DEBUG = @MOZ_DEBUG@
|
|
|
|
MOZILLA_GPROF = @MOZILLA_GPROF@
|
|
|
|
BUILD_PROFILE = @MOZILLA_GPROF@
|
|
|
|
MOZ_DARK = @MOZ_DARK@
|
1998-09-30 04:48:23 +04:00
|
|
|
MOZ_EDITOR = @MOZ_EDITOR@
|
1998-08-20 00:42:14 +04: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@
|
|
|
|
MOZ_USER_DIR = @MOZ_USER_DIR@
|
1998-08-28 10:55:52 +04:00
|
|
|
SMART_MAIL = @MOZ_SMART_MAIL@
|
|
|
|
DOM = @MOZ_DOM@
|
1998-09-06 00:40:43 +04:00
|
|
|
MOZ_MAIL_COMPOSE = @MOZ_MAIL_COMPOSE@
|
1998-09-10 08:08:00 +04:00
|
|
|
NO_UNIX_LDAP = @NO_UNIX_LDAP@
|
1998-08-20 00:42:14 +04:00
|
|
|
|
|
|
|
MOZ_NATIVE_ZLIB = @SYSTEM_ZLIB@
|
|
|
|
MOZ_NATIVE_JPEG = @SYSTEM_JPEG@
|
|
|
|
MOZ_NATIVE_PNG = @SYSTEM_PNG@
|
|
|
|
|
1998-10-23 04:36:08 +04:00
|
|
|
# Should the extra CFLAGS only be added in Makefile.ins that need them?
|
1998-10-28 06:40:33 +03:00
|
|
|
OS_CFLAGS = @CFLAGS@ $(DSO_CFLAGS)
|
1998-10-26 01:25:25 +03:00
|
|
|
OS_INCLUDES = $(NSPR_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS)
|
1998-10-23 04:36:08 +04:00
|
|
|
OS_LIBS = @LDFLAGS@ @LIBS@
|
1998-10-26 01:25:25 +03:00
|
|
|
DEFINES = @DEFS@
|
1998-10-23 04:36:08 +04:00
|
|
|
|
|
|
|
XCFLAGS = @XCFLAGS@
|
|
|
|
XLDFLAGS = @XLDFLAGS@
|
|
|
|
XLIBS = @XLIBS@
|
1998-08-20 00:42:14 +04:00
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CXX = @CXX@
|
|
|
|
GNU_CC = @GNU_CC@
|
|
|
|
GNU_CXX = @GNU_CXX@
|
|
|
|
|
|
|
|
ACEMACS = @EMACS@
|
|
|
|
ACPERL = @PERL@
|
|
|
|
ACRANLIB = @RANLIB@
|
|
|
|
ACWHOAMI = @WHOAMI@
|
|
|
|
ACUNZIP = @UNZIP@
|
|
|
|
ACZIP = @ZIP@
|
|
|
|
|
|
|
|
OBJDIR_TAG = _AC
|
|
|
|
OBJDIR_NAME = .
|
|
|
|
|
1998-11-11 04:53:49 +03:00
|
|
|
ifdef MOZ_NATIVE_JPEG
|
1998-10-23 04:36:08 +04:00
|
|
|
JPEG_CFLAGS = @JPEG_CFLAGS@
|
|
|
|
JPEG_LIBS = @JPEG_LIBS@
|
1998-11-11 04:53:49 +03: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 04:36:08 +04:00
|
|
|
ZLIB_CFLAGS = @ZLIB_CFLAGS@
|
|
|
|
ZLIB_LIBS = @ZLIB_LIBS@
|
1998-11-11 04:53:49 +03:00
|
|
|
ZLIB_REQUIRES =
|
|
|
|
else
|
|
|
|
ZLIB_CFLAGS = -I$(DIST)/public/zlib
|
|
|
|
ZLIB_LIBS = $(DIST)/lib/libzlib.a
|
|
|
|
ZLIB_REQUIRES = zlib
|
|
|
|
endif
|
|
|
|
|
1998-11-11 06:04:43 +03:00
|
|
|
ifdef MOZ_NATIVE_PNG
|
1998-10-23 04:36:08 +04:00
|
|
|
PNG_CFLAGS = @PNG_CFLAGS@
|
|
|
|
PNG_LIBS = @PNG_LIBS@
|
1998-11-11 04:53:49 +03:00
|
|
|
PNG_REQUIRES =
|
|
|
|
else
|
|
|
|
PNG_CFLAGS = -I$(DIST)/public/png
|
|
|
|
PNG_LIBS = $(DIST)/lib/libpng.a
|
|
|
|
PNG_REQUIRES = png
|
|
|
|
endif
|
|
|
|
|
1998-10-21 06:05:59 +04:00
|
|
|
NSPR_CFLAGS = @NSPR_CFLAGS@
|
1998-10-02 12:10:31 +04:00
|
|
|
NSPR_LIBS = @NSPR_LIBS@
|
|
|
|
|
1998-10-28 06:40:33 +03:00
|
|
|
ifndef NO_SHARED_LIB
|
|
|
|
BUILD_UNIX_PLUGINS = 1
|
|
|
|
DSO_CFLAGS = -fPIC
|
|
|
|
MKSHLIB = @MKSHLIB@
|
|
|
|
DSO_LDOPTS = @DSO_LDOPTS@
|
|
|
|
endif
|
|
|
|
|
1998-11-03 18:48:45 +03:00
|
|
|
TK_MOTIF_CFLAGS = @TK_MOTIF_CFLAGS@
|
|
|
|
TK_MOTIF_LIBS = @TK_MOTIF_LIBS@
|
|
|
|
TK_GTK_CFLAGS = @TK_GTK_CFLAGS@
|
|
|
|
TK_GTK_LIBS = @TK_GTK_LIBS@
|
1998-08-20 00:42:14 +04:00
|
|
|
|
1998-11-03 18:48:45 +03:00
|
|
|
# XXX - these need to be cleaned up and have real checks added -cls
|
1998-10-28 06:40:33 +03:00
|
|
|
NGLAYOUT_PLUGINS=1
|
|
|
|
CM_BLDTYPE=dbg
|
|
|
|
AWT_11=1
|
|
|
|
MODULAR_NETLIB=1
|
|
|
|
MOZ_BITS=32
|
|
|
|
MOZ_GOLD=1
|
|
|
|
OS_TARGET=@OS_TARGET@
|
|
|
|
STANDALONE_IMAGE_LIB=1
|
|
|
|
|