1999-12-15 12:40:24 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The contents of this file are subject to the Netscape 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/NPL/
|
1998-08-21 07:34:44 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# 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.
|
1998-08-21 07:34:44 +04:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-08-21 07:34:44 +04:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-08-21 07:34:44 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
DEPTH = .
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-04-18 13:42:12 +04:00
|
|
|
include $(topsrcdir)/build/unix/modules.mk
|
|
|
|
|
|
|
|
ifneq ($(BUILD_MODULES),all)
|
|
|
|
|
|
|
|
DIRS = $(BUILD_MODULE_DIRS)
|
|
|
|
|
2000-06-28 08:32:15 +04:00
|
|
|
ifdef USE_ELF_DYNSTR_GC
|
|
|
|
DIRS += tools/elf-dynstr-gc
|
|
|
|
endif
|
|
|
|
|
2000-04-18 13:42:12 +04:00
|
|
|
else
|
|
|
|
|
1999-11-16 20:33:41 +03:00
|
|
|
DIRS = config build
|
1998-11-11 04:53:49 +03:00
|
|
|
|
2000-06-28 08:32:15 +04:00
|
|
|
ifdef USE_ELF_DYNSTR_GC
|
|
|
|
DIRS += tools/elf-dynstr-gc
|
|
|
|
endif
|
|
|
|
|
1999-10-08 05:32:44 +04:00
|
|
|
ifdef MOZ_L10N
|
|
|
|
DIRS += l10n
|
|
|
|
endif
|
|
|
|
|
2000-03-09 05:08:23 +03:00
|
|
|
ifdef MOZ_JAVA_SUPPLEMENT
|
|
|
|
DIRS += \
|
|
|
|
java/util \
|
|
|
|
java/webclient \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
1999-10-08 05:32:44 +04:00
|
|
|
|
2000-04-18 13:42:12 +04:00
|
|
|
DIRS += $(NSPRPUB_DIR)
|
1998-11-11 04:53:49 +03:00
|
|
|
|
1999-10-19 03:14:16 +04:00
|
|
|
# boehm needs to be built before XPCOM
|
|
|
|
ifdef GC_LEAK_DETECTOR
|
|
|
|
DIRS += gc/boehm
|
|
|
|
endif
|
|
|
|
|
2000-05-20 06:45:59 +04:00
|
|
|
DIRS += dbm modules/libreg js xpcom js/src/xpconnect
|
|
|
|
|
|
|
|
ifdef MOZ_OJI
|
|
|
|
DIRS += js/src/liveconnect
|
|
|
|
endif
|
1998-11-11 04:53:49 +03:00
|
|
|
|
|
|
|
ifndef MOZ_NATIVE_ZLIB
|
1999-09-09 02:59:23 +04:00
|
|
|
DIRS += modules/zlib
|
1998-11-11 04:53:49 +03:00
|
|
|
endif
|
|
|
|
|
1999-02-02 20:39:01 +03:00
|
|
|
ifndef MOZ_NATIVE_JPEG
|
1999-09-09 02:59:23 +04:00
|
|
|
DIRS += jpeg
|
1999-02-02 20:39:01 +03:00
|
|
|
endif
|
|
|
|
|
2000-04-23 00:45:12 +04:00
|
|
|
ifdef MOZ_ENABLE_GTK
|
|
|
|
DIRS += widget/src/gtksuperwin widget/src/gtkxtbin
|
|
|
|
endif
|
|
|
|
|
1999-09-09 02:59:23 +04:00
|
|
|
DIRS += \
|
2000-03-02 16:29:03 +03:00
|
|
|
widget/timer \
|
1999-10-09 02:36:46 +04:00
|
|
|
include \
|
1999-12-22 02:55:04 +03:00
|
|
|
modules/libutil \
|
2000-03-11 07:33:39 +03:00
|
|
|
security \
|
1999-09-09 02:59:23 +04:00
|
|
|
netwerk \
|
1999-11-18 09:03:27 +03:00
|
|
|
uriloader \
|
1999-09-09 02:59:23 +04:00
|
|
|
intl \
|
|
|
|
modules/libpref \
|
|
|
|
modules/libimg \
|
|
|
|
modules/oji \
|
|
|
|
modules/libjar \
|
|
|
|
caps \
|
|
|
|
expat \
|
|
|
|
htmlparser \
|
|
|
|
gfx \
|
2000-07-22 05:27:15 +04:00
|
|
|
modules/plugin \
|
1999-09-09 02:59:23 +04:00
|
|
|
dom \
|
|
|
|
view \
|
|
|
|
widget \
|
|
|
|
layout \
|
|
|
|
db \
|
|
|
|
rdf \
|
1999-11-30 01:22:20 +03:00
|
|
|
docshell \
|
1999-09-09 02:59:23 +04:00
|
|
|
webshell \
|
2000-02-02 07:12:22 +03:00
|
|
|
embedding \
|
1999-09-09 02:59:23 +04:00
|
|
|
editor \
|
|
|
|
sun-java \
|
|
|
|
profile \
|
2000-05-20 06:45:59 +04:00
|
|
|
themes \
|
1999-09-09 02:59:23 +04:00
|
|
|
$(NULL)
|
1998-11-19 01:35:21 +03:00
|
|
|
|
2000-03-04 04:50:50 +03:00
|
|
|
# This must preceed xpfe
|
|
|
|
ifdef MOZ_JPROF
|
|
|
|
DIRS += tools/jprof
|
|
|
|
endif
|
|
|
|
|
1999-02-18 07:19:43 +03:00
|
|
|
ifdef MOZ_BUILD_XPFE
|
1999-11-16 18:56:31 +03:00
|
|
|
DIRS += xpfe
|
|
|
|
endif
|
|
|
|
|
1999-12-08 04:26:04 +03:00
|
|
|
DIRS += xpinstall
|
|
|
|
|
1999-11-16 18:56:31 +03:00
|
|
|
ifdef MOZ_EXTENSIONS
|
|
|
|
DIRS += extensions
|
1999-02-18 07:19:43 +03:00
|
|
|
endif
|
1998-10-28 06:40:33 +03:00
|
|
|
|
1999-02-02 22:34:49 +03:00
|
|
|
ifdef MOZ_MAIL_NEWS
|
1999-09-09 02:59:23 +04:00
|
|
|
DIRS += mailnews
|
1999-02-02 22:34:49 +03:00
|
|
|
endif
|
|
|
|
|
1999-09-26 00:44:48 +04:00
|
|
|
ifdef MOZ_LEAKY
|
|
|
|
DIRS += tools/leaky
|
|
|
|
endif
|
|
|
|
|
2000-03-02 16:29:03 +03:00
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
DIRS += xpcom/tests
|
|
|
|
endif
|
|
|
|
|
2000-06-01 04:26:48 +04:00
|
|
|
ifdef MOZ_LDAP_XPCOM
|
|
|
|
DIRS += directory/c-sdk/ldap directory/xpcom
|
|
|
|
endif
|
|
|
|
|
2000-06-27 04:24:48 +04:00
|
|
|
DIRS += l10n
|
|
|
|
|
2000-04-18 13:42:12 +04:00
|
|
|
endif # BUILD_MODULES == all
|
|
|
|
|
2000-05-04 02:49:47 +04:00
|
|
|
STATIC_MAKEFILES := $(NSPRPUB_DIR)
|
|
|
|
|
2000-03-14 20:55:03 +03:00
|
|
|
GARBAGE += dist
|
2000-03-17 03:49:15 +03:00
|
|
|
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
|
2000-06-13 03:02:14 +04:00
|
|
|
dependencies.beos config/autoconf.mk config/myrules.mk config/myconfig.mk \
|
2000-07-07 14:34:45 +04:00
|
|
|
$(shell cat unallmakefiles) unallmakefiles \
|
|
|
|
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
|
1998-10-28 06:40:33 +03:00
|
|
|
|
2000-03-14 09:16:27 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2000-02-24 01:47:39 +03:00
|
|
|
|