embedding/tests/wxEmbed/makefile.vc
author dtownsend@oxymoronical.com
Tue, 29 Jan 2008 18:00:45 -0800
changeset 10979 6e65d9a3ce0fe82b0205f096b7725a91da479bb0
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Bug 406807: Remove unneccesary parts of xpinstall. r=bsmedberg, sr=dveditz, a=damons

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)