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
30
LIBRARY_NAME = appleevents_s
47
# nsAppleEventsService.cpp \
54
nsAEApplicationClass.cpp \
55
nsAEClassDispatcher.cpp \
56
nsAEClassIterator.cpp \
57
nsAECoercionHandlers.cpp \
60
nsAEDocumentClass.cpp \
61
nsAEEventHandling.cpp \
62
nsAEGenericClass.cpp \
63
nsAEGetURLSuiteHandler.cpp \
64
nsAEMozillaSuiteHandler.cpp \
65
nsAESpyglassSuiteHandler.cpp \
71
nsDocLoadObserver.cpp \
75
# we don't want the shared lib, but we want to force the creation of a static lib.
81
-I$(srcdir)/../../appshell/src/ \
84
include $(topsrcdir)/config/rules.mk
87
# convert AppleScript dictionary .sdef file into .r format, and thence to .rsrc
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
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)
106
# workaround gcc -MD dependency issue by copying source to local dir
107
export:: $(srcdir)/../nsDocLoadObserver.cpp
110
GARBAGE += $(RES_DEST) $(RSRC_DEST) \
111
../nsDocLoadObserver.$(OBJ_SUFFIX) nsDocLoadObserver.cpp \
114
OS_CXXFLAGS += -fexceptions