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

« back to all changes in this revision

Viewing changes to mozilla/xpfe/bootstrap/appleevents/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
MODULE          = appleevents
 
30
LIBRARY_NAME    = appleevents_s
 
31
REQUIRES        = xpcom \
 
32
                  string \
 
33
                  dom \
 
34
                  content \
 
35
                  gfx \
 
36
                  widget \
 
37
                  necko \
 
38
                  pref \
 
39
                  docshell \
 
40
                  webbrwsr \
 
41
                  appshell \
 
42
                  caps \
 
43
                  uriloader \
 
44
                  $(NULL)
 
45
 
 
46
#    PatriciaTree.cpp \
 
47
#    nsAppleEventsService.cpp \
 
48
 
 
49
CSRCS = \
 
50
        patricia.c \
 
51
        $(NULL)
 
52
 
 
53
CPPSRCS         = \
 
54
    nsAEApplicationClass.cpp \
 
55
    nsAEClassDispatcher.cpp \
 
56
    nsAEClassIterator.cpp \
 
57
    nsAECoercionHandlers.cpp \
 
58
    nsAECompare.cpp \
 
59
    nsAECoreClass.cpp \
 
60
    nsAEDocumentClass.cpp \
 
61
    nsAEEventHandling.cpp \
 
62
    nsAEGenericClass.cpp \
 
63
    nsAEGetURLSuiteHandler.cpp \
 
64
    nsAEMozillaSuiteHandler.cpp \
 
65
    nsAESpyglassSuiteHandler.cpp \
 
66
    nsAETokens.cpp \
 
67
    nsAEUtils.cpp \
 
68
    nsAEWindowClass.cpp \
 
69
    nsMacUtils.cpp \
 
70
    nsWindowUtils.cpp \
 
71
    nsDocLoadObserver.cpp \
 
72
    $(NULL)
 
73
 
 
74
 
 
75
# we don't want the shared lib, but we want to force the creation of a static lib.
 
76
FORCE_STATIC_LIB = 1
 
77
 
 
78
LOCAL_INCLUDES  = \
 
79
        -I$(srcdir) \
 
80
        -I$(srcdir)/.. \
 
81
        -I$(srcdir)/../../appshell/src/ \
 
82
        $(NULL)
 
83
 
 
84
include $(topsrcdir)/config/rules.mk
 
85
 
 
86
 
 
87
# convert AppleScript dictionary .sdef file into .r format, and thence to .rsrc
 
88
SDP_TOOL = $(SDP)
 
89
REZ_TOOL = /Developer/Tools/Rez
 
90
SDEF_SRC = $(srcdir)/mozilla.sdef
 
91
RES_DEST = mozillaSuite.r
 
92
RSRC_DEST = mozillaSuite.rsrc
 
93
PACKAGE_DIR = $(DIST)/package
 
94
 
 
95
$(RSRC_DEST): $(SDEF_SRC) $(PACKAGE_DIR)
 
96
        NEXT_ROOT= $(SDP_TOOL) -fa -o $(RES_DEST) $(SDEF_SRC) 
 
97
        $(REZ_TOOL) -useDF -o $(RSRC_DEST) $(RES_DEST) 
 
98
        cp $(RSRC_DEST) $(PACKAGE_DIR)
 
99
        rm -f $(RES_DEST)
 
100
 
 
101
$(PACKAGE_DIR):
 
102
        mkdir $(PACKAGE_DIR)
 
103
 
 
104
libs:: $(RSRC_DEST)
 
105
 
 
106
# workaround gcc -MD dependency issue by copying source to local dir
 
107
export:: $(srcdir)/../nsDocLoadObserver.cpp
 
108
        $(INSTALL) $< .
 
109
 
 
110
GARBAGE += $(RES_DEST) $(RSRC_DEST) \
 
111
        ../nsDocLoadObserver.$(OBJ_SUFFIX) nsDocLoadObserver.cpp \
 
112
        $(NULL)
 
113
 
 
114
OS_CXXFLAGS += -fexceptions