mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
92 lines
2.2 KiB
Makefile
92 lines
2.2 KiB
Makefile
|
# ***** BEGIN LICENSE BLOCK *****
|
||
|
# Version: Mozilla-sample-code 1.0
|
||
|
#
|
||
|
# Copyright (c) 2002 Netscape Communications Corporation and
|
||
|
# other contributors
|
||
|
#
|
||
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
||
|
# copy of this Mozilla sample software and associated documentation files
|
||
|
# (the "Software"), to deal in the Software without restriction, including
|
||
|
# without limitation the rights to use, copy, modify, merge, publish,
|
||
|
# distribute, sublicense, and/or sell copies of the Software, and to permit
|
||
|
# persons to whom the Software is furnished to do so, subject to the
|
||
|
# following conditions:
|
||
|
#
|
||
|
# The above copyright notice and this permission notice shall be included
|
||
|
# in all copies or substantial portions of the Software.
|
||
|
#
|
||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||
|
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||
|
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||
|
# DEALINGS IN THE SOFTWARE.
|
||
|
#
|
||
|
# Contributor(s):
|
||
|
#
|
||
|
# ***** END LICENSE BLOCK *****
|
||
|
|
||
|
DEPTH = ../../../..
|
||
|
topsrcdir = @top_srcdir@
|
||
|
srcdir = @srcdir@
|
||
|
VPATH = @srcdir@
|
||
|
|
||
|
include $(DEPTH)/config/autoconf.mk
|
||
|
|
||
|
LIBRARY_NAME = mfcEmbedComponents
|
||
|
RESFILE = Dialogs.res
|
||
|
MOZILLA_INTERNAL_API = 1
|
||
|
|
||
|
REQUIRES = \
|
||
|
xpcom \
|
||
|
string \
|
||
|
dom \
|
||
|
content \
|
||
|
layout \
|
||
|
gfx \
|
||
|
widget \
|
||
|
pref \
|
||
|
intl \
|
||
|
webbrwsr \
|
||
|
windowwatcher \
|
||
|
exthandler \
|
||
|
uriloader \
|
||
|
necko \
|
||
|
mimetype \
|
||
|
$(NULL)
|
||
|
|
||
|
CPPSRCS = \
|
||
|
nsPrintDialogUtil.cpp \
|
||
|
nsPrintProgressParams.cpp \
|
||
|
PrintingPromptService.cpp \
|
||
|
PrintProgressDialog.cpp \
|
||
|
Dialogs.cpp \
|
||
|
PromptService.cpp \
|
||
|
HelperAppDlg.cpp \
|
||
|
$(NULL)
|
||
|
|
||
|
EXTRA_DSO_LIBS = gkgfx
|
||
|
|
||
|
EXTRA_DSO_LDOPTS += \
|
||
|
$(EXTRA_DSO_LIBS) \
|
||
|
$(XPCOM_LIBS) \
|
||
|
$(NSPR_LIBS) \
|
||
|
$(MOZ_UNICHARUTIL_LIBS) \
|
||
|
$(NULL)
|
||
|
|
||
|
FORCE_SHARED_LIB = 1
|
||
|
|
||
|
include $(topsrcdir)/config/rules.mk
|
||
|
|
||
|
# UNICODE
|
||
|
ifdef BUILD_UNICODE_MFCEMBED
|
||
|
CXXFLAGS += -D "_UNICODE"
|
||
|
endif
|
||
|
|
||
|
CXXFLAGS += -D "_AFXDLL" -D "USE_SINGLE_SIGN_ON" -D "_WINDLL"
|
||
|
LDFLAGS += -SUBSYSTEM:windows
|
||
|
|
||
|
Dialogs.res: Dialogs.rc resource.h
|
||
|
|