Filling out win32 gmake embed build.

This commit is contained in:
seawood%netscape.com 2002-03-22 08:27:26 +00:00
Родитель d14c7f830b
Коммит 1599b0f9c7
2 изменённых файлов: 22 добавлений и 3 удалений

Просмотреть файл

@ -28,11 +28,16 @@ include $(topsrcdir)/config/rules.mk
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
BASEBROWSER = basebrowser-mac-macho
_PLATFORM = unix
else
ifeq (windows,$(MOZ_WIDGET_TOOLKIT))
BASEBROWSER = basebrowser-win
_PLATFORM = dos
WINAPP=mfcembed
#WINAPP=winembed
else
BASEBROWSER = basebrowser-unix
_PLATFORM = unix
endif
endif
@ -56,7 +61,21 @@ else
endif
libs:: embed_chrome
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(BASEBROWSER) -o unix -v
$(PERL) $(topsrcdir)/xpinstall/packager/pkgcp.pl -s $(DIST)/bin -d $(DIST) --f $(srcdir)/$(BASEBROWSER) -o $(_PLATFORM) -v
$(NSINSTALL) -t $(srcdir)/installed-chrome.txt $(DIST)/Embed/chrome
$(NSINSTALL) -t $(srcdir)/readme.html $(DIST)/Embed
ifeq ($(OS_ARCH),WINNT)
ifeq ($(WINAPP),mfcembed)
$(NSINSTALL) -t $(DIST)/bin/mfcembed.exe $(DIST)/Embed
$(NSINSTALL) -t $(DIST)/bin/mfcEmbedComponents.dll $(DIST)/Embed
else
ifeq ($(WINAPP),winembed)
$(NSINSTALL) -t $(DIST)/bin/winembed.exe $(DIST)/Embed
endif
endif
ifdef MOZ_DEBUG
$(NSINSTALL) -t $(DIST)/bin/windbgdlg.exe $(DIST)/Embed
endif
endif # WINNT

Просмотреть файл

@ -75,10 +75,10 @@ LOCAL_INCLUDES = \
-I$(srcdir)/../../content/src \
$(NULL)
GARBAGE += $(DIST)/bin/res/ua.css $(DIST)/bin/res/html.css $(DIST)/bin/res/forms.css $(DIST)/bin/res/quirk.css $(DIST)/bin/res/viewsource.css $(DIST)/bin/res/arrow.gif
GARBAGE += $(DIST)/bin/res/ua.css $(DIST)/bin/res/html.css $(DIST)/bin/res/forms.css $(DIST)/bin/res/quirk.css $(DIST)/bin/res/viewsource.css $(DIST)/bin/res/arrow.gif $(DIST)/bin/res/arrowd.gif
libs:: $(TARGETS)
$(INSTALL) $(srcdir)/html.css $(srcdir)/forms.css $(srcdir)/quirk.css $(srcdir)/viewsource.css $(srcdir)/arrow.gif $(DIST)/bin/res
$(INSTALL) $(srcdir)/html.css $(srcdir)/forms.css $(srcdir)/quirk.css $(srcdir)/viewsource.css $(srcdir)/arrow.gif $(srcdir)/arrowd.gif $(DIST)/bin/res
rm -f $(DIST)/bin/res/ua.css
cp $(srcdir)/ua.css $(DIST)/bin/res