mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 06:22:33 +00:00
htmlrobot test now builds on Linux
This commit is contained in:
parent
0fb9fcce7e
commit
38cdc44bfb
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user