gecko/embedding/tests/wxEmbed/makefile.vc

76 lines
1.6 KiB
Plaintext

WXDIR = $(WXWIN)
MOZDIR = $(MOZ_SRC)\mozilla
MOZSDK = $(MOZDIR)\dist
PROGRAM = wxEmbed
OBJECTS = \
EmbedApp.obj \
BrowserFrame.obj \
MailFrame.obj \
ChatFrame.obj \
EditorFrame.obj \
GeckoContainer.obj \
GeckoContainerUI.obj \
GeckoFrame.obj \
GeckoWindow.obj \
GeckoWindowCreator.obj \
GeckoProtocolHandler.obj \
resource.obj \
$(NULL)
XRC = \
rc\browser.xrc \
rc\mail.xrc \
rc\chat.xrc \
rc\editor.xrc \
$(NULL)
# Needing to include this big long list of includes STINKS!!!
MOZINC = \
-I$(MOZSDK)\include \
-I$(MOZSDK)\include\nspr \
-I$(MOZSDK)\include\xpcom \
-I$(MOZSDK)\include\string \
-I$(MOZSDK)\include\necko \
-I$(MOZSDK)\include\docshell \
-I$(MOZSDK)\include\webshell \
-I$(MOZSDK)\include\dom \
-I$(MOZSDK)\include\widget \
-I$(MOZSDK)\include\gfx \
-I$(MOZSDK)\include\uriloader \
-I$(MOZSDK)\include\shistory \
-I$(MOZSDK)\include\profile \
-I$(MOZSDK)\include\webbrwsr \
-I$(MOZSDK)\include\embed_base \
-I$(MOZSDK)\include\embedstring \
-I$(MOZSDK)\include\windowwatcher \
-I$(MOZSDK)\include\composer \
-I$(MOZSDK)\include\commandhandler \
$(NULL)
# This isn't much better either!
MOZLIBS = \
$(MOZSDK)\lib\xpcom.lib \
$(MOZSDK)\lib\embed_base_s.lib \
$(NULL)
# $(MOZSDK)\lib\xpcomglue_s.lib \
# -DXPCOM_GLUE \
EXTRAFLAGS = \
-DXP_WIN \
-DXP_WIN32 \
$(NULL)
EXTRALIBS = $(WXDIR)\lib\wxxrc$(LIBEXT).lib $(MOZLIBS)
EXTRAINC = -I$(WXDIR)\contrib\include $(MOZINC)
!include $(WXDIR)\src\makeprog.vc
all:
-copy $(PROGRAM).exe $(MOZDIR)\dist\bin
resource.cpp: $(XRC)
$(WXDIR)\contrib\utils\wxrc\wxrc.exe -v -c -o $@ $(XRC)