2
# The contents of this file are subject to the Netscape Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/NPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code.
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
23
topsrcdir = @top_srcdir@
27
include $(DEPTH)/config/autoconf.mk
29
# secondary necko protocols
30
PROTOCOLS = $(filter data keyword gopher viewsource,$(NECKO_PROTOCOLS))
32
# we don't need to build anything here at all if there are no protocols
33
ifneq (,$(strip $(PROTOCOLS)))
39
MODULE_NAME = necko_secondary_protocols
42
PACKAGE_FILE = necko2.pkg
49
CPPSRCS = nsNetModule2.cpp
52
SHARED_LIBRARY_LIBS = \
53
$(foreach d,$(PROTOCOLS), \
54
$(DIST)/lib/$(LIB_PREFIX)nk${d}_s.$(LIB_SUFFIX)) \
58
$(foreach d,$(PROTOCOLS), \
59
-I$(srcdir)/../protocol/${d}/src) \
63
$(MOZ_COMPONENT_LIBS) \
68
include $(topsrcdir)/config/rules.mk