mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
c125f80248
Add temporary --enable-nspr-autoconf option to allow platforms to test the newly added autoconf setup for nspr (bug 11893) before turning it on as default.
108 lines
1.8 KiB
Makefile
108 lines
1.8 KiB
Makefile
#
|
|
# The contents of this file are subject to the Netscape Public License
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
# http://www.mozilla.org/NPL/
|
|
#
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
# for the specific language governing rights and limitations under the
|
|
# NPL.
|
|
#
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
# Reserved.
|
|
#
|
|
|
|
DEPTH = .
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
DIRS = config build
|
|
|
|
#
|
|
ifdef MOZ_L10N
|
|
DIRS += l10n
|
|
endif
|
|
|
|
|
|
ifndef MOZ_NATIVE_NSPR
|
|
ifdef USE_NSPR_AUTOCONF
|
|
DIRS += nsprpub
|
|
else
|
|
DIRS += $(topsrcdir)/nsprpub
|
|
# NSPR does not use Makefile.in
|
|
STATIC_MAKEFILES := $(topsrcdir)/nsprpub
|
|
endif
|
|
endif
|
|
|
|
DIRS += dbm modules/libreg xpcom
|
|
|
|
ifndef MOZ_NATIVE_ZLIB
|
|
DIRS += modules/zlib
|
|
endif
|
|
|
|
ifndef MOZ_NATIVE_JPEG
|
|
DIRS += jpeg
|
|
endif
|
|
|
|
DIRS += \
|
|
include \
|
|
netwerk \
|
|
modules/libutil \
|
|
intl \
|
|
js \
|
|
modules/security/freenav \
|
|
modules/libpref \
|
|
modules/libimg \
|
|
modules/oji \
|
|
modules/plugin \
|
|
modules/libjar \
|
|
caps \
|
|
expat \
|
|
htmlparser \
|
|
widget/timer \
|
|
gfx \
|
|
dom \
|
|
view \
|
|
widget \
|
|
layout \
|
|
db \
|
|
rdf \
|
|
webshell \
|
|
editor \
|
|
xpinstall \
|
|
sun-java \
|
|
profile \
|
|
$(NULL)
|
|
|
|
ifdef MOZ_BUILD_XPFE
|
|
DIRS += xpfe extensions
|
|
endif
|
|
|
|
ifdef MOZ_MAIL_NEWS
|
|
DIRS += mailnews
|
|
endif
|
|
|
|
ifdef MOZ_LEAKY
|
|
DIRS += tools/leaky
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
real_all: all
|
|
|
|
real_export: export
|
|
|
|
real_libs: libs
|
|
|
|
real_install: install
|
|
|
|
real_clobber: clobber
|
|
|
|
real_depend: depend
|