1999-06-29 03:18:55 +04:00
|
|
|
#
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
1999-06-29 03:18:55 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
1999-06-29 03:18:55 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2002-03-22 02:29:11 +03:00
|
|
|
MODULE = widget
|
2000-05-04 15:00:47 +04:00
|
|
|
LIBRARY_NAME = wdgtos2
|
2002-03-22 02:29:11 +03:00
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
RESFILE = widget.res
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = nsWidgetOS2Module
|
2002-12-28 04:15:07 +03:00
|
|
|
GRE_MODULE = 1
|
2004-12-09 22:28:35 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2002-03-22 02:29:11 +03:00
|
|
|
|
1999-06-29 03:18:55 +04:00
|
|
|
|
1999-09-16 05:09:42 +04:00
|
|
|
CPPSRCS = \
|
|
|
|
nsAppShell.cpp \
|
2001-02-15 02:13:07 +03:00
|
|
|
nsBidiKeyboard.cpp \
|
2000-10-03 02:10:26 +04:00
|
|
|
nsClipboard.cpp \
|
2000-07-05 23:53:21 +04:00
|
|
|
nsFilePicker.cpp \
|
2010-03-06 20:52:10 +03:00
|
|
|
os2FrameWindow.cpp \
|
1999-09-16 05:09:42 +04:00
|
|
|
nsLookAndFeel.cpp \
|
2007-09-08 20:22:56 +04:00
|
|
|
nsOS2Uni.cpp \
|
|
|
|
nsPrintOS2.cpp \
|
2009-10-18 11:29:08 +04:00
|
|
|
nsSound.cpp \
|
1999-09-16 05:09:42 +04:00
|
|
|
nsWidgetFactory.cpp \
|
|
|
|
nsWindow.cpp \
|
2002-04-16 02:56:31 +04:00
|
|
|
nsDragService.cpp \
|
2006-01-13 20:56:40 +03:00
|
|
|
nsScreenOS2.cpp \
|
|
|
|
nsScreenManagerOS2.cpp \
|
2006-02-14 01:32:23 +03:00
|
|
|
nsDeviceContextSpecOS2.cpp \
|
|
|
|
nsPrintOptionsOS2.cpp \
|
2008-01-10 01:24:05 +03:00
|
|
|
nsRwsService.cpp \
|
2008-02-14 00:46:42 +03:00
|
|
|
nsIdleServiceOS2.cpp \
|
1999-09-16 05:09:42 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2001-12-15 02:49:04 +03:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2007-03-10 10:23:01 +03:00
|
|
|
../xpwidgets/$(LIB_PREFIX)xpwidgets_s.$(LIB_SUFFIX) \
|
2001-03-02 03:10:24 +03:00
|
|
|
$(NULL)
|
2000-05-04 15:00:47 +04:00
|
|
|
|
1999-09-16 05:09:42 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-07-18 08:09:51 +04:00
|
|
|
|
2012-05-26 10:44:00 +04:00
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)
|
2009-05-20 09:47:08 +04:00
|
|
|
|
2002-03-22 02:29:11 +03:00
|
|
|
DEFINES += -D_IMPL_NS_WIDGET
|
|
|
|
|
2006-02-14 01:32:23 +03:00
|
|
|
DEFINES += -DUSE_OS2_TOOLKIT_HEADERS
|
|
|
|
|
2008-05-24 20:18:27 +04:00
|
|
|
DEFINES += -DMOZ_APP_DISPLAYNAME=\"$(MOZ_APP_DISPLAYNAME)\"
|
|
|
|
|
2003-03-22 08:29:37 +03:00
|
|
|
LOCAL_INCLUDES = -I. -I$(srcdir)/../xpwidgets -I$(srcdir)
|
1999-07-18 08:09:51 +04:00
|
|
|
|
2009-11-05 02:20:12 +03:00
|
|
|
install-readme: README.$(MOZ_APP_NAME)
|
2009-07-30 22:20:44 +04:00
|
|
|
ifneq (,$(filter-out xulrunner sunbird,$(MOZ_APP_NAME)))
|
2008-12-06 00:11:22 +03:00
|
|
|
cp -f $^ $(DIST)/bin/README.txt
|
2009-07-30 22:20:44 +04:00
|
|
|
endif
|
2008-12-06 00:11:22 +03:00
|
|
|
|
2009-11-05 02:20:12 +03:00
|
|
|
libs:: install-readme
|
|
|
|
$(INSTALL) $(srcdir)/MozSounds.cmd $(DIST)/bin/
|
|
|
|
|
2002-03-22 02:29:11 +03:00
|
|
|
export::
|
2003-01-16 00:36:53 +03:00
|
|
|
test -d ./res || mkdir ./res
|
2003-10-23 01:57:01 +04:00
|
|
|
test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.* ./res
|
1999-06-29 03:18:55 +04:00
|
|
|
|
2006-01-13 20:56:40 +03:00
|
|
|
|