gecko/widget/os2/Makefile.in

35 lines
911 B
Makefile

#
# 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/.
RESFILE = widget.res
SHARED_LIBRARY_LIBS = \
../xpwidgets/$(LIB_PREFIX)xpwidgets_s.$(LIB_SUFFIX) \
$(NULL)
include $(topsrcdir)/config/rules.mk
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)
DEFINES += -DUSE_OS2_TOOLKIT_HEADERS
DEFINES += -DMOZ_APP_DISPLAYNAME=\"$(MOZ_APP_DISPLAYNAME)\"
LOCAL_INCLUDES = -I. -I$(srcdir)/../xpwidgets -I$(srcdir)
install-readme: README.$(MOZ_APP_NAME)
ifneq (,$(filter-out xulrunner sunbird,$(MOZ_APP_NAME)))
cp -f $^ $(DIST)/bin/README.txt
endif
libs:: install-readme
$(INSTALL) $(srcdir)/MozSounds.cmd $(DIST)/bin/
export-preqs = \
$(call mkdir_deps,res) \
$(NULL)
export:: $(export-preqs)
test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.* ./res