зеркало из https://github.com/mozilla/pjs.git
Fix for FreeBSD 2.x.
This commit is contained in:
Родитель
16fc5734b9
Коммит
d6be4cf10e
|
@ -1,4 +1,3 @@
|
|||
#!gmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
|
@ -14,56 +13,57 @@
|
|||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
DEPTH = ../..
|
||||
DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
PROGRAM = htmlrobot
|
||||
|
||||
CPPSRCS = \
|
||||
nsDebugRobot.cpp \
|
||||
nsRobotSink.cpp \
|
||||
$(NULL)
|
||||
CPPSRCS = nsDebugRobot.cpp nsRobotSink.cpp
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
LIBS = \
|
||||
-lraptorhtmlpars \
|
||||
-lexpat \
|
||||
-lxmltok \
|
||||
-lnetlib \
|
||||
-lftpurl \
|
||||
-lfileurl \
|
||||
-labouturl \
|
||||
-lgophurl \
|
||||
-lremoturl \
|
||||
-lnetcnvts \
|
||||
-lnetwork \
|
||||
-lsockstuburl \
|
||||
-lmimetype \
|
||||
-lnetcache \
|
||||
-lhttpurl \
|
||||
-lpwcac \
|
||||
-lsecfree \
|
||||
-lpref \
|
||||
-lxp \
|
||||
-l$(MOZ_LIB_JS_PREFIX)js \
|
||||
-lgfx$(MOZ_TOOLKIT) \
|
||||
-lraptorgfx \
|
||||
-lgfxps \
|
||||
-limg \
|
||||
-lmozutil \
|
||||
-lxpcom \
|
||||
-lreg \
|
||||
$(TK_LIBS) \
|
||||
$(ZLIB_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
LIBS = \
|
||||
-lraptorhtmlpars \
|
||||
-lexpat \
|
||||
-lxmltok \
|
||||
-lnetlib \
|
||||
-lftpurl \
|
||||
-lfileurl \
|
||||
-labouturl \
|
||||
-lgophurl \
|
||||
-lremoturl \
|
||||
-lnetcnvts \
|
||||
-lnetwork \
|
||||
-lsockstuburl \
|
||||
-lmimetype \
|
||||
-lnetcache \
|
||||
-lhttpurl \
|
||||
-lpwcac \
|
||||
-lsecfree \
|
||||
-lpref \
|
||||
-lxp \
|
||||
-l$(MOZ_LIB_JS_PREFIX)js \
|
||||
-lgfx$(MOZ_TOOLKIT) \
|
||||
-lraptorgfx \
|
||||
-lgfxps \
|
||||
-limg \
|
||||
-lmozutil \
|
||||
-lxpcom \
|
||||
-lreg \
|
||||
$(TK_LIBS) \
|
||||
$(ZLIB_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
PROGRAM = htmlrobot
|
||||
# Needed to resolve __yylex (?)
|
||||
ifeq ($(OS_ARCH)$(OS_RELEASE),FreeBSD2)
|
||||
LIBS += -lpcap
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!gmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
|
@ -14,56 +13,57 @@
|
|||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
DEPTH = ../..
|
||||
DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
PROGRAM = htmlrobot
|
||||
|
||||
CPPSRCS = \
|
||||
nsDebugRobot.cpp \
|
||||
nsRobotSink.cpp \
|
||||
$(NULL)
|
||||
CPPSRCS = nsDebugRobot.cpp nsRobotSink.cpp
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
LIBS = \
|
||||
-lraptorhtmlpars \
|
||||
-lexpat \
|
||||
-lxmltok \
|
||||
-lnetlib \
|
||||
-lftpurl \
|
||||
-lfileurl \
|
||||
-labouturl \
|
||||
-lgophurl \
|
||||
-lremoturl \
|
||||
-lnetcnvts \
|
||||
-lnetwork \
|
||||
-lsockstuburl \
|
||||
-lmimetype \
|
||||
-lnetcache \
|
||||
-lhttpurl \
|
||||
-lpwcac \
|
||||
-lsecfree \
|
||||
-lpref \
|
||||
-lxp \
|
||||
-l$(MOZ_LIB_JS_PREFIX)js \
|
||||
-lgfx$(MOZ_TOOLKIT) \
|
||||
-lraptorgfx \
|
||||
-lgfxps \
|
||||
-limg \
|
||||
-lmozutil \
|
||||
-lxpcom \
|
||||
-lreg \
|
||||
$(TK_LIBS) \
|
||||
$(ZLIB_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
LIBS = \
|
||||
-lraptorhtmlpars \
|
||||
-lexpat \
|
||||
-lxmltok \
|
||||
-lnetlib \
|
||||
-lftpurl \
|
||||
-lfileurl \
|
||||
-labouturl \
|
||||
-lgophurl \
|
||||
-lremoturl \
|
||||
-lnetcnvts \
|
||||
-lnetwork \
|
||||
-lsockstuburl \
|
||||
-lmimetype \
|
||||
-lnetcache \
|
||||
-lhttpurl \
|
||||
-lpwcac \
|
||||
-lsecfree \
|
||||
-lpref \
|
||||
-lxp \
|
||||
-l$(MOZ_LIB_JS_PREFIX)js \
|
||||
-lgfx$(MOZ_TOOLKIT) \
|
||||
-lraptorgfx \
|
||||
-lgfxps \
|
||||
-limg \
|
||||
-lmozutil \
|
||||
-lxpcom \
|
||||
-lreg \
|
||||
$(TK_LIBS) \
|
||||
$(ZLIB_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
PROGRAM = htmlrobot
|
||||
# Needed to resolve __yylex (?)
|
||||
ifeq ($(OS_ARCH)$(OS_RELEASE),FreeBSD2)
|
||||
LIBS += -lpcap
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
Загрузка…
Ссылка в новой задаче