зеркало из https://github.com/mozilla/pjs.git
Make it 'work' on unix.
This commit is contained in:
Родитель
d8cf844cca
Коммит
c0e75811c1
|
@ -15,7 +15,7 @@
|
|||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
|
||||
DEPTH = ../../..
|
||||
DEPTH=../../..
|
||||
|
||||
include $(DEPTH)/config/config.mk
|
||||
|
||||
|
@ -29,146 +29,295 @@ ifeq ($(USE_NGLAYOUT_GTK),1)
|
|||
-DWIDGET_DLL=\"libwidgetgtk.so\" \
|
||||
-DGFXWIN_DLL=\"libgfxgtk.so\"
|
||||
|
||||
TOOLKIT_CPPSRCS =
|
||||
TOOLKIT_CPPSRCS = \
|
||||
nsGTKMain.cpp \
|
||||
nsGTKMenu.cpp
|
||||
|
||||
TOOLKIT_INCLUDES = $(shell gtk-config --cflags)
|
||||
|
||||
else
|
||||
|
||||
TOOLKIT_GFX_LIB = -lgfxmotif
|
||||
TOOLKIT_WIDGET_LIB = -lwidgetmotif
|
||||
TOOLKIT_BASE_LIB = -lgmbasemotif
|
||||
TOOLKIT_GFX_LIB = -lgfxmotif
|
||||
TOOLKIT_WIDGET_LIB = -lwidgetmotif
|
||||
TOOLKIT_BASE_LIB = -lgmbasemotif
|
||||
|
||||
TOOLKIT_CFLAGS = \
|
||||
-DWIDGET_DLL=\"libwidgetmotif.so\" \
|
||||
-DGFXWIN_DLL=\"libgfxmotif.so\"
|
||||
|
||||
TOOLKIT_CPPSRCS =
|
||||
TOOLKIT_CPPSRCS = \
|
||||
nsMotifMenu.cpp \
|
||||
nsUnixMain.cpp
|
||||
|
||||
endif
|
||||
|
||||
|
||||
CPPSRCS = \
|
||||
$(TOOLKIT_CPPSRCS) \
|
||||
nsBrowserMain.cpp \
|
||||
nsBrowserWindow.cpp \
|
||||
nsFindDialog.cpp \
|
||||
nsSetupRegistry.cpp \
|
||||
nsSetupRegistry.cpp \
|
||||
nsUnixStubs.cpp \
|
||||
nsBrowserWindow.cpp \
|
||||
nsBrowserMain.cpp \
|
||||
nsViewerApp.cpp \
|
||||
nsXPBaseWindow.cpp \
|
||||
nsViewerApp.cpp \
|
||||
$(NULL)
|
||||
|
||||
# This file is still a Windows-only file: -mcafee
|
||||
# JSConsole.cpp
|
||||
CFLAGS += $(TOOLKIT_CFLAGS)
|
||||
|
||||
PROGS = $(OBJDIR)/xpviewer
|
||||
|
||||
TARGETS = $(PROGS)
|
||||
|
||||
INCLUDES = \
|
||||
-I$(DIST)/include \
|
||||
-I$(DEPTH)/dist/include \
|
||||
-I$(DEPTH)/include \
|
||||
-I$(PUBLIC)/dom \
|
||||
-I$(PUBLIC)/raptor \
|
||||
-I$(PUBLIC)/xpcom \
|
||||
$(NULL)
|
||||
INCLUDES += \
|
||||
-I$(PUBLIC)/raptor \
|
||||
-I$(PUBLIC)/xpcom \
|
||||
-I$(PUBLIC)/dom \
|
||||
-I$(PUBLIC)/netlib \
|
||||
-I$(PUBLIC)/js \
|
||||
-I$(PUBLIC)/pref \
|
||||
-I$(PUBLIC)/network \
|
||||
-I$(PUBLIC)/xp
|
||||
|
||||
ifdef MOZ_OJI
|
||||
JSJ_LIB = -ljsj
|
||||
endif
|
||||
|
||||
LDFLAGS += \
|
||||
$(DIST)/lib/libraptorhtmlbase_s.a \
|
||||
$(DIST)/lib/libraptorhtmlstyle_s.a \
|
||||
$(DIST)/lib/libjsdomcss_s.a \
|
||||
$(DIST)/lib/libraptorlayout_s.a \
|
||||
$(DIST)/lib/libraptorevents_s.a \
|
||||
$(DIST)/lib/libjsdombase_s.a \
|
||||
$(DIST)/lib/libjsdomhtml_s.a \
|
||||
$(DIST)/lib/libjsdomcore_s.a \
|
||||
OBJS = $(CPPSRCS:.cpp=.o)
|
||||
|
||||
EX_LIBS = \
|
||||
-L$(DIST)/bin \
|
||||
-ljs \
|
||||
-lpref \
|
||||
-limg \
|
||||
-lraptorbase \
|
||||
-lpng \
|
||||
-ljpeg \
|
||||
-lraptorhtmlpars \
|
||||
-lraptorwebwidget \
|
||||
-lpref \
|
||||
-lraptorbase \
|
||||
-lxpcom \
|
||||
$(TOOLKIT_WIDGET_LIB) \
|
||||
-lraptorgfx \
|
||||
$(JSJ_LIB) \
|
||||
-lhttpurl \
|
||||
$(TOOLKIT_GFX_LIB) \
|
||||
-lraptorhtml \
|
||||
$(DIST)/lib/libraptorhtmlforms_s.a \
|
||||
$(TOOLKIT_BASE_LIB) \
|
||||
-lraptorhtmlpars \
|
||||
-lraptorview \
|
||||
-lreg \
|
||||
-labouturl \
|
||||
-lfileurl \
|
||||
-lftpurl \
|
||||
-lgophurl \
|
||||
-lhttpurl \
|
||||
-limg \
|
||||
-ljpeg \
|
||||
-ljs \
|
||||
-ljsdom \
|
||||
$(DIST)/lib/libjsdomcore_s.a \
|
||||
$(JSJ_LIB) \
|
||||
-lmimetype \
|
||||
-lnetlib \
|
||||
-lnetwork \
|
||||
-lnetcache \
|
||||
-lnetcnvts \
|
||||
-lfileurl \
|
||||
-ljsurl \
|
||||
-lgophurl \
|
||||
-lftpurl \
|
||||
-lremoturl \
|
||||
-lnetlib \
|
||||
-lnetutil \
|
||||
-lpwcac \
|
||||
-lsecfree \
|
||||
-lzlib \
|
||||
-lxp \
|
||||
-lutil \
|
||||
-lplc21 \
|
||||
-lnetwork \
|
||||
-lnspr21 \
|
||||
-lplc21 \
|
||||
-lplds21 \
|
||||
$(TOOLKIT_WIDGET_LIB) \
|
||||
$(TOOLKIT_BASE_LIB) \
|
||||
-lraptorwebwidget \
|
||||
-lreg \
|
||||
-lremoturl \
|
||||
-lsecfree \
|
||||
-lstubnj \
|
||||
-lstubsj \
|
||||
-ltestdynamic \
|
||||
-lutil \
|
||||
-lxp \
|
||||
-lxpcom \
|
||||
-lzlib \
|
||||
-lutil \
|
||||
-lxp \
|
||||
-lxpcom \
|
||||
-lzlib \
|
||||
-lraptorplugin \
|
||||
$(NULL)
|
||||
|
||||
ifneq (,$(filter Linux SunOS,$(OS_ARCH)))
|
||||
EX_LIBS += \
|
||||
-lpwcac \
|
||||
-ldbm \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifneq (,$(filter Linux SunOS,$(OS_ARCH)))
|
||||
EX_LIBS += \
|
||||
-lpwcac \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
PROGS = $(OBJDIR)/xpviewer
|
||||
|
||||
TARGETS = $(PROGS)
|
||||
|
||||
include $(DEPTH)/config/rules.mk
|
||||
|
||||
# Reasonable? defaults
|
||||
TOOLKIT_LIB_PATH = -L/usr/X11R6/lib
|
||||
TOOLKIT_LDFLAGS = -lXm -lXt -lXext -lX11
|
||||
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
TOOLKIT_LIB_PATH = -L/usr/X11R6/lib
|
||||
TOOLKIT_LDFLAGS = -lXm -lXp -lXt -lXext -lX11 -lSM -lICE
|
||||
EXTRA_PRE_LDFLAGS = -rdynamic
|
||||
EXTRA_POST_LDFLAGS =
|
||||
POST_LINK_COMMAND = true
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),IRIX)
|
||||
TOOLKIT_LIB_PATH =
|
||||
TOOLKIT_LDFLAGS = -lXm -lXt -lX11
|
||||
EXTRA_PRE_LDFLAGS = -woff 84,85
|
||||
EXTRA_POST_LDFLAGS =
|
||||
POST_LINK_COMMAND = true
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),SunOS)
|
||||
TOOLKIT_LIB_PATH = -L/usr/openwin/lib -L/usr/dt/lib
|
||||
TOOLKIT_LDFLAGS = -lXm -lXt -lXext -lX11
|
||||
EXTRA_PRE_LDFLAGS =
|
||||
EXTRA_POST_LDFLAGS =
|
||||
POST_LINK_COMMAND = true
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),HP-UX)
|
||||
TOOLKIT_LIB_PATH = -L/usr/lib/X11R5 -L/usr/lib/Motif1.2
|
||||
TOOLKIT_LDFLAGS = -lXm -lXt -lX11
|
||||
EXTRA_PRE_LDFLAGS =
|
||||
EXTRA_POST_LDFLAGS = -lpthread
|
||||
POST_LINK_COMMAND = chatr +s enable
|
||||
endif
|
||||
|
||||
|
||||
$(PROGS): $(OBJS)
|
||||
$(PROGS): $(OBJS) # $(EX_LIBS)
|
||||
@$(MAKE_OBJDIR)
|
||||
$(CCC) $(EXTRA_PRE_LDFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(EX_LIBS) $(OS_LIBS) $(TOOLKIT_LIB_PATH) $(TOOLKIT_LDFLAGS) $(EXTRA_POST_LDFLAGS)
|
||||
$(POST_LINK_COMMAND) $@
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
$(CCC) -rdynamic -o $@ $(OBJS) $(LDFLAGS) $(EX_LIBS) $(OS_LIBS) -L/usr/X11R6/lib -lXm -lXt -lX11 -lXp -lXext
|
||||
else
|
||||
$(CCC) -o $@ -woff 84,85 $(LDFLAGS) $(OBJS) $(EX_LIBS) $(OS_LIBS) -lXm -lXt -lX11
|
||||
endif
|
||||
|
||||
export::
|
||||
|
||||
install:: $(TARGETS)
|
||||
$(INSTALL) $(PROGS) $(DIST)/bin
|
||||
$(INSTALL) samples/test0.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test1.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test2.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test3.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test4.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test5.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test6.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test7.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test8.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test8siz.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test8sca.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test8tab.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test9.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test9a.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/test9b.html $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/raptor.jpg $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/Anieyes.gif $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/gear1.gif $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/rock_gra.gif $(DIST)/bin/res/samples
|
||||
$(INSTALL) samples/bg.jpg $(DIST)/bin/res/samples
|
||||
$(INSTALL) resources/throbber/LargeAnimation00.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation01.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation02.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation03.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation04.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation05.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation06.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation07.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation08.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation09.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation10.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation11.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation12.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation13.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation14.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation15.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation16.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation17.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation18.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation19.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation20.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation21.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation22.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation23.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation24.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation25.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation26.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation27.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation28.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation29.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation30.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation31.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation32.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation33.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation34.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation35.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation36.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation37.gif $(DIST)/bin/res/throbber
|
||||
$(INSTALL) resources/throbber/LargeAnimation38.gif $(DIST)/bin/res/throbber
|
||||
|
||||
$(INSTALL) resources/toolbar/DialogAddrIcon.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/DialogAddrIcon_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/DialogCompIcon.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/DialogCompIcon_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/DialogMailIcon.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/DialogMailIcon_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/DialogNavIcon.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/DialogNavIcon_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Back.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Back_dis.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Back_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Bookmarks.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Bookmarks_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Edit.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Forward.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Forward_dis.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Forward_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Home.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Home_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_HTab.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_HTab_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_LoadImages.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_LoadImages.mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Location.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Location_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_MiniAddr.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_MiniComp.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_MiniMail.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_MiniNav.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_MiniTab.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_MixSecurity.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_MixSecurity.mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Netscape.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Netscape_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_PersonalIcon.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Places.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Places_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Print.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Print_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Reload.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Reload_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Search.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Search_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Secure.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Secure_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Stop.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Stop.mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Stop_dis.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Stop_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Tab.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_TabSmall.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_TabSmall_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Tab_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Unsecure.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_Unsecure.mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_WhatsRelated.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/TB_WhatsRelated_mo.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/StatusBar-insecure.gif $(DIST)/bin/res/toolbar
|
||||
$(INSTALL) resources/toolbar/StatusBar-secure.gif $(DIST)/bin/res/toolbar
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)/bin/viewer.exe
|
||||
rm -f $(DIST)/bin/res/samples/test0.html
|
||||
rm -f $(DIST)/bin/res/samples/test1.html
|
||||
rm -f $(DIST)/bin/res/samples/test2.html
|
||||
rm -f $(DIST)/bin/res/samples/test3.html
|
||||
rm -f $(DIST)/bin/res/samples/test4.html
|
||||
rm -f $(DIST)/bin/res/samples/test5.html
|
||||
rm -f $(DIST)/bin/res/samples/test6.html
|
||||
rm -f $(DIST)/bin/res/samples/test7.html
|
||||
rm -f $(DIST)/bin/res/samples/test8.html
|
||||
rm -f $(DIST)/bin/res/samples/test8siz.html
|
||||
rm -f $(DIST)/bin/res/samples/test8sca.html
|
||||
rm -f $(DIST)/bin/res/samples/test8tab.html
|
||||
rm -f $(DIST)/bin/res/samples/test9.html
|
||||
rm -f $(DIST)/bin/res/samples/test9a.html
|
||||
rm -f $(DIST)/bin/res/samples/test9b.html
|
||||
rm -f $(DIST)/bin/res/samples/raptor.jpg
|
||||
rm -f $(DIST)/bin/res/samples/Anieyes.gif
|
||||
rm -f $(DIST)/bin/res/samples/gear1.gif
|
||||
rm -f $(DIST)/bin/res/samples/rock_gra.gif
|
||||
rm -f $(DIST)/bin/res/samples/bg.jpg
|
||||
rm -f $(DIST)/bin/res/throbber/anims00.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims01.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims02.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims03.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims04.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims05.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims06.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims07.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims08.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims09.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims10.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims11.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims12.gif
|
||||
rm -f $(DIST)/bin/res/throbber/anims13.gif
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
|
||||
|
||||
|
||||
#include "xp_mcom.h"
|
||||
#include "net.h"
|
||||
#include "xp_linebuf.h"
|
||||
#include "mkbuf.h"
|
||||
|
||||
extern "C" XP_Bool ValidateDocData(MWContext *window_id)
|
||||
{
|
||||
printf("ValidateDocData not implemented, stubbed in webshell/tests/viewer/nsStubs.cpp\n");
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
/* dist/public/xp/xp_linebuf.h */
|
||||
int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size,
|
||||
uint32 desired_buffer_size,
|
||||
char **bufferP, uint32 *buffer_sizeP,
|
||||
uint32 *buffer_fpP,
|
||||
int32 (*per_buffer_fn) (char *buffer,
|
||||
uint32 buffer_size,
|
||||
void *closure),
|
||||
void *closure)
|
||||
{
|
||||
|
||||
printf("XP_ReBuffer not implemented, stubbed in webshell/tests/viewer/nsStubs.cpp\n");
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* mozilla/include/xp_trace.h */
|
||||
|
||||
extern "C" void XP_Trace( const char *, ... )
|
||||
{
|
||||
printf("XP_Trace not implemented, stubbed in webshell/tests/viewer/nsStubs.cpp\n");
|
||||
|
||||
|
||||
}
|
||||
|
||||
extern "C" char *fe_GetConfigDir(void) {
|
||||
printf("fe_GetConfigDir() not implemented, stubbed in xpfe/xpviewer/src/nsUnixStubs.cpp\n");
|
||||
return strdup("/tmp");
|
||||
}
|
Загрузка…
Ссылка в новой задаче