htmlrobot test now builds on Linux

This commit is contained in:
mcafee%netscape.com 1999-02-02 03:21:01 +00:00
parent 0fb9fcce7e
commit 38cdc44bfb
2 changed files with 62 additions and 48 deletions

View File

@ -15,43 +15,50 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
CPPSRCS = \
RobotMain.cpp \
CPPSRCS = \
nsDebugRobot.cpp \
nsRobotSink.cpp \
$(NULL)
REQUIRES=xpcom raptor
include $(topsrcdir)/config/config.mk
OBJS = $(CPPSRCS:.cpp=.o)
EX_LIBS = \
$(DIST)/lib/libraptorbase.a \
$(DIST)/lib/libraptorhtmlpars.a \
$(DIST)/lib/libnetlib.a \
$(DIST)/lib/libpref.a \
$(DIST)/lib/libxp.a \
$(DIST)/lib/libjs.a \
$(DIST)/lib/libxpcom.a \
$(NSPR_LIBS) \
-lXm \
-lm \
LIBS = \
-lraptorbase \
-lraptorhtmlpars \
-lnetlib \
-lgmbase$(MOZ_TOOLKIT) \
-lftpurl \
-lfileurl \
-labouturl \
-lgophurl \
-lremoturl \
-lnetcnvts \
-lnetwork \
-lsockstuburl \
-lnetutil \
-lmimetype \
-lnetcache \
-lhttpurl \
-lpwcac \
-lsecfree \
-lpref \
-lxp \
-ljs \
-lxpcom \
$(TK_LIBS) \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \
$(NULL)
PROG = htmlrobot
$(PROG):$(OBJS)
@$(MAKE_OBJDIR)
$(CCC) -o $@ $(OBJS) $(LDFLAGS) $(EX_LIBS) $(OS_LIBS)
TARGETS = $(PROG)
PROGRAM = htmlrobot
include $(topsrcdir)/config/rules.mk

View File

@ -15,43 +15,50 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
CPPSRCS = \
RobotMain.cpp \
CPPSRCS = \
nsDebugRobot.cpp \
nsRobotSink.cpp \
$(NULL)
REQUIRES=xpcom raptor
include $(topsrcdir)/config/config.mk
OBJS = $(CPPSRCS:.cpp=.o)
EX_LIBS = \
$(DIST)/lib/libraptorbase.a \
$(DIST)/lib/libraptorhtmlpars.a \
$(DIST)/lib/libnetlib.a \
$(DIST)/lib/libpref.a \
$(DIST)/lib/libxp.a \
$(DIST)/lib/libjs.a \
$(DIST)/lib/libxpcom.a \
$(NSPR_LIBS) \
-lXm \
-lm \
LIBS = \
-lraptorbase \
-lraptorhtmlpars \
-lnetlib \
-lgmbase$(MOZ_TOOLKIT) \
-lftpurl \
-lfileurl \
-labouturl \
-lgophurl \
-lremoturl \
-lnetcnvts \
-lnetwork \
-lsockstuburl \
-lnetutil \
-lmimetype \
-lnetcache \
-lhttpurl \
-lpwcac \
-lsecfree \
-lpref \
-lxp \
-ljs \
-lxpcom \
$(TK_LIBS) \
$(ZLIB_LIBS) \
$(NSPR_LIBS) \
$(NULL)
PROG = htmlrobot
$(PROG):$(OBJS)
@$(MAKE_OBJDIR)
$(CCC) -o $@ $(OBJS) $(LDFLAGS) $(EX_LIBS) $(OS_LIBS)
TARGETS = $(PROG)
PROGRAM = htmlrobot
include $(topsrcdir)/config/rules.mk