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/.
7 topsrcdir
= @top_srcdir@
11 include $(DEPTH
)/config
/autoconf.mk
13 LIBRARY_NAME
= wdgtos2
17 MODULE_NAME
= nsWidgetOS2Module
35 nsScreenManagerOS2.
cpp \
36 nsDeviceContextSpecOS2.
cpp \
37 nsPrintOptionsOS2.
cpp \
39 nsIdleServiceOS2.
cpp \
42 SHARED_LIBRARY_LIBS
= \
43 ..
/xpwidgets
/$(LIB_PREFIX
)xpwidgets_s.
$(LIB_SUFFIX
) \
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
64 $(INSTALL
) $(srcdir)/MozSounds.cmd
$(DIST
)/bin
/
67 $(call mkdir_deps
,res
) \
70 export:: $(export-preqs
)
71 test -f .
/res
/aliasb.ptr || cp
$(srcdir)/res
/*.
* .
/res