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
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
RESFILE = widget.res
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = nsWidgetOS2Module
|
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
|
|
|
|
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/
|
|
|
|
|
2013-03-05 21:27:58 +04:00
|
|
|
export-preqs = \
|
|
|
|
$(call mkdir_deps,res) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
export:: $(export-preqs)
|
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
|
|
|
|