Bug 867104 - Add a crashtest. r=ehsan
[gecko.git] / widget / os2 / Makefile.in
blobe618b7556699d1328e04e1c30a07da3529651a9c
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 DEPTH = @DEPTH@
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = @srcdir@
11 include $(DEPTH)/config/autoconf.mk
13 LIBRARY_NAME = wdgtos2
14 EXPORT_LIBRARY = 1
15 IS_COMPONENT = 1
16 RESFILE = widget.res
17 MODULE_NAME = nsWidgetOS2Module
18 LIBXUL_LIBRARY = 1
21 CPPSRCS = \
22 nsAppShell.cpp \
23 nsBidiKeyboard.cpp \
24 nsClipboard.cpp \
25 nsFilePicker.cpp \
26 os2FrameWindow.cpp \
27 nsLookAndFeel.cpp \
28 nsOS2Uni.cpp \
29 nsPrintOS2.cpp \
30 nsSound.cpp \
31 nsWidgetFactory.cpp \
32 nsWindow.cpp \
33 nsDragService.cpp \
34 nsScreenOS2.cpp \
35 nsScreenManagerOS2.cpp \
36 nsDeviceContextSpecOS2.cpp \
37 nsPrintOptionsOS2.cpp \
38 nsRwsService.cpp \
39 nsIdleServiceOS2.cpp \
40 $(NULL)
42 SHARED_LIBRARY_LIBS = \
43 ../xpwidgets/$(LIB_PREFIX)xpwidgets_s.$(LIB_SUFFIX) \
44 $(NULL)
46 include $(topsrcdir)/config/rules.mk
48 CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)
50 DEFINES += -D_IMPL_NS_WIDGET
52 DEFINES += -DUSE_OS2_TOOLKIT_HEADERS
54 DEFINES += -DMOZ_APP_DISPLAYNAME=\"$(MOZ_APP_DISPLAYNAME)\"
56 LOCAL_INCLUDES = -I. -I$(srcdir)/../xpwidgets -I$(srcdir)
58 install-readme: README.$(MOZ_APP_NAME)
59 ifneq (,$(filter-out xulrunner sunbird,$(MOZ_APP_NAME)))
60 cp -f $^ $(DIST)/bin/README.txt
61 endif
63 libs:: install-readme
64 $(INSTALL) $(srcdir)/MozSounds.cmd $(DIST)/bin/
66 export-preqs = \
67 $(call mkdir_deps,res) \
68 $(NULL)
70 export:: $(export-preqs)
71 test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.* ./res