~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/netwerk/build2/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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/
 
6
#
 
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.
 
11
#
 
12
# The Original Code is mozilla.org code.
 
13
#
 
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
 
17
# Rights Reserved.
 
18
#
 
19
# Contributor(s): 
 
20
#
 
21
 
 
22
DEPTH           = ../..
 
23
topsrcdir       = @top_srcdir@
 
24
srcdir          = @srcdir@
 
25
VPATH           = @srcdir@
 
26
 
 
27
include $(DEPTH)/config/autoconf.mk
 
28
 
 
29
# secondary necko protocols
 
30
PROTOCOLS = $(filter data keyword gopher viewsource,$(NECKO_PROTOCOLS))
 
31
 
 
32
# we don't need to build anything here at all if there are no protocols
 
33
ifneq (,$(strip $(PROTOCOLS)))
 
34
 
 
35
MODULE          = necko2
 
36
LIBRARY_NAME    = necko2
 
37
EXPORT_LIBRARY = 1
 
38
IS_COMPONENT    = 1
 
39
MODULE_NAME     = necko_secondary_protocols
 
40
GRE_MODULE      = 1
 
41
 
 
42
PACKAGE_FILE = necko2.pkg
 
43
 
 
44
REQUIRES        = xpcom \
 
45
                  string \
 
46
                  necko \
 
47
                  $(NULL)
 
48
 
 
49
CPPSRCS         = nsNetModule2.cpp
 
50
 
 
51
 
 
52
SHARED_LIBRARY_LIBS = \
 
53
                $(foreach d,$(PROTOCOLS), \
 
54
                        $(DIST)/lib/$(LIB_PREFIX)nk${d}_s.$(LIB_SUFFIX)) \
 
55
                $(NULL)
 
56
 
 
57
LOCAL_INCLUDES  = \
 
58
                $(foreach d,$(PROTOCOLS), \
 
59
                        -I$(srcdir)/../protocol/${d}/src) \
 
60
                $(NULL)
 
61
 
 
62
EXTRA_DSO_LDOPTS = \
 
63
                $(MOZ_COMPONENT_LIBS) \
 
64
                $(NULL)
 
65
 
 
66
endif # !PROTOCOLS
 
67
 
 
68
include $(topsrcdir)/config/rules.mk