1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-20 01:46:15 -04:00

Merge with git+ssh://pasky.or.cz/srv/git/elinks.git

This commit is contained in:
Frobozz the Neuromancer,668,302-521-2606,609-645-8080 2005-09-15 23:31:44 -04:00
commit baf0c3f599
75 changed files with 604 additions and 888 deletions

View File

@ -43,13 +43,6 @@ CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CONFDIR = @CONFDIR@
CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
CONFIG_JW = @CONFIG_JW@
CONFIG_NLS = @CONFIG_NLS@
CONFIG_POD2HTML = @CONFIG_POD2HTML@
CONFIG_RUBY = @CONFIG_RUBY@
CONFIG_XMLTO = @CONFIG_XMLTO@
CONFIG_NLS = @CONFIG_NLS@
DATADIRNAME = @DATADIRNAME@
GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@
@ -96,6 +89,66 @@ XMLTO = @XMLTO@
X_CFLAGS = @X_CFLAGS@
XGETTEXT = @XGETTEXT@
# :r !grep AC_SUBST\(CONFIG_ configure.in | sed 's/.*(\(.*\))$/\1 = @\1@/' | sort | uniq
CONFIG_256_COLORS = @CONFIG_256_COLORS@
CONFIG_ASCIIDOC = @CONFIG_ASCIIDOC@
CONFIG_BACKTRACE = @CONFIG_BACKTRACE@
CONFIG_BEOS = @CONFIG_BEOS@
CONFIG_BITTORRENT = @CONFIG_BITTORRENT@
CONFIG_BOOKMARKS = @CONFIG_BOOKMARKS@
CONFIG_BZIP2 = @CONFIG_BZIP2@
CONFIG_CGI = @CONFIG_CGI@
CONFIG_COOKIES = @CONFIG_COOKIES@
CONFIG_CSS = @CONFIG_CSS@
CONFIG_DATA = @CONFIG_DATA@
CONFIG_DEBUG = @CONFIG_DEBUG@
CONFIG_DOM = @CONFIG_DOM@
CONFIG_ECMASCRIPT = @CONFIG_ECMASCRIPT@
CONFIG_EXMODE = @CONFIG_EXMODE@
CONFIG_FASTMEM = @CONFIG_FASTMEM@
CONFIG_FINGER = @CONFIG_FINGER@
CONFIG_FORMHIST = @CONFIG_FORMHIST@
CONFIG_FTP = @CONFIG_FTP@
CONFIG_GLOBHIST = @CONFIG_GLOBHIST@
CONFIG_GNUTLS = @CONFIG_GNUTLS@
CONFIG_GOPHER = @CONFIG_GOPHER@
CONFIG_GUILE = @CONFIG_GUILE@
CONFIG_GZIP = @CONFIG_GZIP@
CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@
CONFIG_INTERLINK = @CONFIG_INTERLINK@
CONFIG_IPV6 = @CONFIG_IPV6@
CONFIG_JW = @CONFIG_JW@
CONFIG_LEDS = @CONFIG_LEDS@
CONFIG_LUA = @CONFIG_LUA@
CONFIG_MAILCAP = @CONFIG_MAILCAP@
CONFIG_MARKS = @CONFIG_MARKS@
CONFIG_MD5 = @CONFIG_MD5@
CONFIG_MIMETYPES = @CONFIG_MIMETYPES@
CONFIG_MOUSE = @CONFIG_MOUSE@
CONFIG_NNTP = @CONFIG_NNTP@
CONFIG_NO_ROOT_EXEC = @CONFIG_NO_ROOT_EXEC@
CONFIG_OPENSSL = @CONFIG_OPENSSL@
CONFIG_OS2 = @CONFIG_OS2@
CONFIG_OWN_LIBC = @CONFIG_OWN_LIBC@
CONFIG_PERL = @CONFIG_PERL@
CONFIG_POD2HTML = @CONFIG_POD2HTML@
CONFIG_PYTHON = @CONFIG_PYTHON@
CONFIG_RISCOS = @CONFIG_RISCOS@
CONFIG_RUBY = @CONFIG_RUBY@
CONFIG_SCANNER = @CONFIG_SCANNER@
CONFIG_SCRIPTING = @CONFIG_SCRIPTING@
CONFIG_SHA1 = @CONFIG_SHA1@
CONFIG_SMALL = @CONFIG_SMALL@
CONFIG_SMB = @CONFIG_SMB@
CONFIG_SPIDERMONKEY = @CONFIG_SPIDERMONKEY@
CONFIG_SSL = @CONFIG_SSL@
CONFIG_SYSMOUSE = @CONFIG_SYSMOUSE@
CONFIG_UNIX = @CONFIG_UNIX@
CONFIG_URI_REWRITE = @CONFIG_URI_REWRITE@
CONFIG_WIN32 = @CONFIG_WIN32@
CONFIG_XBEL_BOOKMARKS = @CONFIG_XBEL_BOOKMARKS@
CONFIG_XMLTO = @CONFIG_XMLTO@
DEFS = @DEFS@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@

View File

@ -4,7 +4,7 @@ AC_PREREQ(2.13)
AC_INIT(src/main/main.c)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(elinks, 0.11.CVS)
AM_INIT_AUTOMAKE(elinks, 0.11.GIT)
AM_CONFIG_HEADER(config.h)
AC_PROG_MAKE_SET
@ -79,9 +79,13 @@ if test "$CONFIG_ASCIIDOC" = yes &&
EL_CONFIG_DEPENDS(CONFIG_MANUAL, [MAN_ASCIIDOC MAN_XMLTO], [Man Page Formats])
fi
AC_SUBST(CONFIG_ASCIIDOC)
AM_CONDITIONAL(CONFIG_ASCIIDOC, test "$CONFIG_ASCIIDOC" = yes)
AC_SUBST(CONFIG_POD2HTML)
AM_CONDITIONAL(CONFIG_POD2HTML, test "$CONFIG_POD2HTML" = yes)
AC_SUBST(CONFIG_XMLTO)
AM_CONDITIONAL(CONFIG_XMLTO, test "$CONFIG_XMLTO" = yes)
AC_SUBST(CONFIG_JW)
AM_CONDITIONAL(CONFIG_JW, test "$CONFIG_JW" = yes)
dnl gcc specific options (to be continued at the bottom of configure)
@ -115,15 +119,19 @@ kill me!
])
EL_CHECK_COMPILER_MACROS(CONFIG_BEOS, [BEOS], [__BEOS__])
AC_SUBST(CONFIG_BEOS)
AM_CONDITIONAL(CONFIG_BEOS, test "$CONFIG_BEOS" = yes)
EL_CHECK_COMPILER_MACROS(CONFIG_RISCOS, [RISCOS], [__riscos__])
AC_SUBST(CONFIG_RISCOS)
AM_CONDITIONAL(CONFIG_RISCOS, test "$CONFIG_RISCOS" = yes)
EL_CHECK_COMPILER_MACROS(CONFIG_WIN32, [WIN32], [_WIN32 __WIN32__])
AC_SUBST(CONFIG_WIN32)
AM_CONDITIONAL(CONFIG_WIN32, test "$CONFIG_WIN32" = yes)
EL_CHECK_COMPILER_MACROS(CONFIG_OS2, [EMX], [__EMX__])
AC_SUBST(CONFIG_OS2)
AM_CONDITIONAL(CONFIG_OS2, test "$CONFIG_OS2" = yes)
test "$CONFIG_OS2" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zexe//g"`
@ -138,6 +146,7 @@ else
CONFIG_UNIX=no
fi
AC_MSG_RESULT($CONFIG_UNIX)
AC_SUBST(CONFIG_UNIX)
AM_CONDITIONAL(CONFIG_UNIX, test "$CONFIG_UNIX" = yes)
dnl ===================================================================
@ -173,6 +182,7 @@ AC_CHECK_HEADERS(sys/un.h,
[CONFIG_INTERLINK=yes
EL_CONFIG([CONFIG_INTERLINK], [interlinking])],
[CONFIG_INTERLINK=no])
AC_SUBST(CONFIG_INTERLINK)
AM_CONDITIONAL(CONFIG_INTERLINK, test "$CONFIG_INTERLINK" = yes)
dnl ===================================================================
@ -406,10 +416,12 @@ EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GPM, gpm, gpm.h, gpm, Gpm_Open,
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GZIP, zlib, zlib.h, z, gzdopen,
[ --without-zlib disable zlib support])
AC_SUBST(CONFIG_GZIP)
AM_CONDITIONAL(CONFIG_GZIP, test "$CONFIG_GZIP" = yes)
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_BZIP2, bzlib, bzlib.h, bz2, BZ2_bzReadOpen,
[ --without-bzlib disable bzlib support])
AC_SUBST(CONFIG_BZIP2)
AM_CONDITIONAL(CONFIG_BZIP2, test "$CONFIG_BZIP2" = yes)
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_IDN, idn, idna.h, idn, stringprep_check_version,
@ -423,6 +435,7 @@ EL_SAVE_FLAGS
EL_ARG_ENABLE(CONFIG_BOOKMARKS, bookmarks, [Bookmarks],
[ --disable-bookmarks disable bookmark support])
AC_SUBST(CONFIG_BOOKMARKS)
AM_CONDITIONAL(CONFIG_BOOKMARKS, test "$CONFIG_BOOKMARKS" = yes)
# Check whether --enable-xbel or --disable-xbel was given.
@ -442,6 +455,7 @@ EL_ARG_DEPEND(CONFIG_XBEL_BOOKMARKS, xbel, [CONFIG_BOOKMARKS:yes HAVE_LIBEXPAT:y
[XBEL bookmarks],
[ --disable-xbel disable XBEL bookmark support (requires expat)])
AC_SUBST(CONFIG_XBEL_BOOKMARKS)
AM_CONDITIONAL(CONFIG_XBEL_BOOKMARKS, test "$CONFIG_XBEL_BOOKMARKS" = yes)
if test "$CONFIG_XBEL_BOOKMARKS" != yes; then
@ -706,11 +720,17 @@ dnl Setup global scripting
dnl ===================================================================
EL_CONFIG_DEPENDS(CONFIG_SCRIPTING, [CONFIG_GUILE CONFIG_LUA CONFIG_PERL CONFIG_PYTHON CONFIG_RUBY], [Scripting])
AC_SUBST(CONFIG_GUILE)
AM_CONDITIONAL(CONFIG_GUILE, test "$CONFIG_GUILE" = yes)
AC_SUBST(CONFIG_LUA)
AM_CONDITIONAL(CONFIG_LUA, test "$CONFIG_LUA" = yes)
AC_SUBST(CONFIG_PERL)
AM_CONDITIONAL(CONFIG_PERL, test "$CONFIG_PERL" = yes)
AC_SUBST(CONFIG_PYTHON)
AM_CONDITIONAL(CONFIG_PYTHON, test "$CONFIG_PYTHON" = yes)
AC_SUBST(CONFIG_RUBY)
AM_CONDITIONAL(CONFIG_RUBY, test "$CONFIG_RUBY" = yes)
AC_SUBST(CONFIG_SCRIPTING)
AM_CONDITIONAL(CONFIG_SCRIPTING, test "$CONFIG_SCRIPTING" = yes)
@ -766,9 +786,11 @@ else
AC_SUBST(SPIDERMONKEY_CFLAGS)
fi
AC_SUBST(CONFIG_SPIDERMONKEY)
AM_CONDITIONAL(CONFIG_SPIDERMONKEY, test "$CONFIG_SPIDERMONKEY" = yes)
EL_CONFIG_DEPENDS(CONFIG_ECMASCRIPT, [CONFIG_SPIDERMONKEY], [ECMAScript (JavaScript)])
AC_SUBST(CONFIG_ECMASCRIPT)
AM_CONDITIONAL(CONFIG_ECMASCRIPT, test "$CONFIG_ECMASCRIPT" = yes)
@ -922,8 +944,11 @@ AC_MSG_RESULT($cf_result)
dnl Final SSL setup
EL_CONFIG_DEPENDS(CONFIG_SSL, [CONFIG_OPENSSL CONFIG_GNUTLS], [SSL])
AC_SUBST(CONFIG_OPENSSL)
AM_CONDITIONAL(CONFIG_OPENSSL, test "$CONFIG_OPENSSL" = yes)
AC_SUBST(CONFIG_GNUTLS)
AM_CONDITIONAL(CONFIG_GNUTLS, test "$CONFIG_GNUTLS" = yes)
AC_SUBST(CONFIG_SSL)
AM_CONDITIONAL(CONFIG_SSL, test "$CONFIG_SSL" = yes)
#endif
@ -1002,23 +1027,28 @@ dnl ===================================================================
EL_ARG_ENABLE(CONFIG_COOKIES, cookies, [Cookies],
[ --disable-cookies disable cookie support])
AC_SUBST(CONFIG_COOKIES)
AM_CONDITIONAL(CONFIG_COOKIES, test "$CONFIG_COOKIES" = yes)
EL_ARG_ENABLE(CONFIG_FORMHIST, formhist, [Form history],
[ --disable-formhist disable form history support])
AC_SUBST(CONFIG_FORMHIST)
AM_CONDITIONAL(CONFIG_FORMHIST, test "$CONFIG_FORMHIST" = yes)
EL_ARG_ENABLE(CONFIG_GLOBHIST, globhist, [Global history],
[ --disable-globhist disable global history support])
AC_SUBST(CONFIG_GLOBHIST)
AM_CONDITIONAL(CONFIG_GLOBHIST, test "$CONFIG_GLOBHIST" = yes)
EL_ARG_ENABLE(CONFIG_MAILCAP, mailcap, [Mailcap],
[ --disable-mailcap disable mailcap support])
AC_SUBST(CONFIG_MAILCAP)
AM_CONDITIONAL(CONFIG_MAILCAP, test "$CONFIG_MAILCAP" = yes)
EL_ARG_ENABLE(CONFIG_MIMETYPES, mimetypes, [Mimetypes files],
[ --disable-mimetypes disable mimetypes files support])
AC_SUBST(CONFIG_MIMETYPES)
AM_CONDITIONAL(CONFIG_MIMETYPES, test "$CONFIG_MIMETYPES" = yes)
@ -1026,47 +1056,58 @@ EL_ARG_DEPEND(CONFIG_IPV6, ipv6,
[HAVE_SA_STORAGE:yes HAVE_SA_IN6:yes HAVE_ADDRINFO:yes HAVE_GETADDRINFO:yes],
[IPv6],
[ --disable-ipv6 disable IPv6 support])
AC_SUBST(CONFIG_IPV6)
AM_CONDITIONAL(CONFIG_IPV6, test "$CONFIG_IPV6" = yes)
EL_ARG_ENABLE(CONFIG_BITTORRENT, bittorrent, [BitTorrent protocol],
[ --enable-bittorrent enable BitTorrent protocol support])
AC_SUBST(CONFIG_BITTORRENT)
AM_CONDITIONAL(CONFIG_BITTORRENT, test "$CONFIG_BITTORRENT" = yes)
EL_ARG_ENABLE(CONFIG_DATA, data, [Data protocol],
[ --disable-data disable data protocol support])
AC_SUBST(CONFIG_DATA)
AM_CONDITIONAL(CONFIG_DATA, test "$CONFIG_DATA" = yes)
EL_ARG_ENABLE(CONFIG_URI_REWRITE, uri-rewrite, [URI rewriting],
[ --disable-uri-rewrite disable URI rewrite support])
AC_SUBST(CONFIG_URI_REWRITE)
AM_CONDITIONAL(CONFIG_URI_REWRITE, test "$CONFIG_URI_REWRITE" = yes)
EL_ARG_DEPEND(CONFIG_CGI, cgi, [HAVE_SETENV_OR_PUTENV:yes], [Local CGI],
[ --enable-cgi enable local CGI support])
AC_SUBST(CONFIG_CGI)
AM_CONDITIONAL(CONFIG_CGI, test "$CONFIG_CGI" = yes)
EL_ARG_ENABLE(CONFIG_FINGER, finger, [Finger protocol],
[ --enable-finger enable finger protocol support])
AC_SUBST(CONFIG_FINGER)
AM_CONDITIONAL(CONFIG_FINGER, test "$CONFIG_FINGER" = yes)
EL_ARG_ENABLE(CONFIG_FTP, ftp, [FTP protocol],
[ --disable-ftp disable ftp protocol support])
AC_SUBST(CONFIG_FTP)
AM_CONDITIONAL(CONFIG_FTP, test "$CONFIG_FTP" = yes)
EL_ARG_ENABLE(CONFIG_GOPHER, gopher, [Gopher protocol],
[ --enable-gopher enable gopher protocol support])
AC_SUBST(CONFIG_GOPHER)
AM_CONDITIONAL(CONFIG_GOPHER, test "$CONFIG_GOPHER" = yes)
EL_ARG_ENABLE(CONFIG_NNTP, nntp, [NNTP protocol],
[ --enable-nntp enable nntp protocol support])
AC_SUBST(CONFIG_NNTP)
AM_CONDITIONAL(CONFIG_NNTP, test "$CONFIG_NNTP" = yes)
EL_ARG_DEPEND(CONFIG_SMB, smb, [HAVE_SMBCLIENT:yes], [SMB protocol],
[ --disable-smb disable SMB protocol support (requires smbclient)])
AC_SUBST(CONFIG_SMB)
AM_CONDITIONAL(CONFIG_SMB, test "$CONFIG_SMB" = yes)
EL_ARG_ENABLE(CONFIG_MOUSE, mouse, [Mouse handling],
[ --disable-mouse disable mouse support])
AC_SUBST(CONFIG_MOUSE)
AM_CONDITIONAL(CONFIG_MOUSE, test "$CONFIG_MOUSE" = yes)
# GPM mouse is Linux specific, so ...
@ -1075,66 +1116,81 @@ EL_ARG_DEPEND(CONFIG_SYSMOUSE, sysmouse,
[CONFIG_MOUSE:yes CONFIG_GPM:no HAVE_SYSMOUSE_HEADER:yes],
[BSD sysmouse],
[ --disable-sysmouse disable BSD sysmouse support])
AC_SUBST(CONFIG_SYSMOUSE)
AM_CONDITIONAL(CONFIG_SYSMOUSE, test "$CONFIG_SYSMOUSE" = yes)
EL_ARG_ENABLE(CONFIG_88_COLORS, 88-colors, [88 colors],
[ --enable-88-colors enable 88 color support])
AC_SUBST(CONFIG_256_COLORS)
AM_CONDITIONAL(CONFIG_256_COLORS, test "$CONFIG_256_COLORS" = yes)
EL_ARG_ENABLE(CONFIG_256_COLORS, 256-colors, [256 colors],
[ --enable-256-colors enable 256 color support])
AC_SUBST(CONFIG_256_COLORS)
AM_CONDITIONAL(CONFIG_256_COLORS, test "$CONFIG_256_COLORS" = yes)
EL_ARG_ENABLE(CONFIG_EXMODE, exmode, [Exmode interface],
[ --enable-exmode enable exmode (CLI) interface])
AC_SUBST(CONFIG_EXMODE)
AM_CONDITIONAL(CONFIG_EXMODE, test "$CONFIG_EXMODE" = yes)
EL_ARG_ENABLE(CONFIG_LEDS, leds, [LEDs],
[ --disable-leds disable LEDs support])
AC_SUBST(CONFIG_LEDS)
AM_CONDITIONAL(CONFIG_LEDS, test "$CONFIG_LEDS" = yes)
EL_ARG_ENABLE(CONFIG_MARKS, marks, [Marks],
[ --disable-marks disable document marks support])
AC_SUBST(CONFIG_MARKS)
AM_CONDITIONAL(CONFIG_MARKS, test "$CONFIG_MARKS" = yes)
EL_ARG_ENABLE(CONFIG_CSS, css, [Cascading Style Sheets],
[ --disable-css disable Cascading Style Sheet support])
AC_SUBST(CONFIG_CSS)
AM_CONDITIONAL(CONFIG_CSS, test "$CONFIG_CSS" = yes)
EL_ARG_DEPEND(CONFIG_HTML_HIGHLIGHT, html-highlight, [CONFIG_CSS:yes], [HTML highlighting],
[ --enable-html-highlight HTML highlighting using DOM engine])
AC_SUBST(CONFIG_HTML_HIGHLIGHT)
AM_CONDITIONAL(CONFIG_HTML_HIGHLIGHT, test "$CONFIG_HTML_HIGHLIGHT" = yes)
dnl Everything in the tree already uses CONFIG_DOM
dnl so resolve CONFIG_HTML_HIGHLIGHT to CONFIG_DOM
EL_CONFIG_DEPENDS(CONFIG_DOM, [CONFIG_HTML_HIGHLIGHT], [DOM engine])
AC_SUBST(CONFIG_DOM)
AM_CONDITIONAL(CONFIG_DOM, test "$CONFIG_DOM" = yes)
EL_ARG_DEPEND(CONFIG_BACKTRACE, backtrace, [HAVE_EXECINFO:yes], [Backtrace],
[ --disable-backtrace disable backtrace support])
AC_SUBST(CONFIG_BACKTRACE)
AM_CONDITIONAL(CONFIG_BACKTRACE, test "$CONFIG_BACKTRACE" = yes)
EL_ARG_DEPEND(CONFIG_NO_ROOT_EXEC, no-root, [HAVE_GETUID:yes HAVE_GETEUID:yes], [No root exec],
[ --enable-no-root enable prevention of usage by root])
AC_SUBST(CONFIG_NO_ROOT_EXEC)
AM_CONDITIONAL(CONFIG_NO_ROOT_EXEC, test "$CONFIG_NO_ROOT_EXEC" = yes)
EL_ARG_ENABLE(CONFIG_DEBUG, debug, [Debug mode],
[ --enable-debug enable leak debug and internal error checking])
AC_SUBST(CONFIG_DEBUG)
AM_CONDITIONAL(CONFIG_DEBUG, test "$CONFIG_DEBUG" = yes)
EL_ARG_DEPEND(CONFIG_FASTMEM, fastmem, [CONFIG_DEBUG:no], [Fast mode],
[ --enable-fastmem enable direct use of system allocation functions, not usable with --enable-debug])
AC_SUBST(CONFIG_FASTMEM)
AM_CONDITIONAL(CONFIG_FASTMEM, test "$CONFIG_FASTMEM" = yes)
EL_ARG_ENABLE(CONFIG_OWN_LIBC, own-libc, [Own libc stubs],
[ --enable-own-libc force use of internal functions instead of those of system libc])
AC_SUBST(CONFIG_OWN_LIBC)
AM_CONDITIONAL(CONFIG_OWN_LIBC, test "$CONFIG_OWN_LIBC" = yes)
EL_ARG_ENABLE(CONFIG_SMALL, small, [Small binary],
[ --enable-small reduce binary size as far as possible (but see the bottom of doc/small.txt!)])
AC_SUBST(CONFIG_SMALL)
AM_CONDITIONAL(CONFIG_SMALL, test "$CONFIG_SMALL" = yes)
if test "$CONFIG_OPENSSL" != yes &&
@ -1146,6 +1202,7 @@ then
EL_CONFIG(CONFIG_MD5, [Built-in MD5])
fi
AC_SUBST(CONFIG_MD5)
AM_CONDITIONAL(CONFIG_MD5, test "$CONFIG_MD5" = yes)
if test "$CONFIG_BITTORRENT" = yes; then
@ -1158,12 +1215,14 @@ if test "$CONFIG_BITTORRENT" = yes; then
fi
fi
AC_SUBST(CONFIG_SHA1)
AM_CONDITIONAL(CONFIG_SHA1, test "$CONFIG_SHA1" = yes)
if test "$CONFIG_CSS" = yes || test "$CONFIG_DOM" = yes;
then
EL_CONFIG(CONFIG_SCANNER, [Built-in scanner])
fi
AC_SUBST(CONFIG_SCANNER)
AM_CONDITIONAL(CONFIG_SCANNER, test "$CONFIG_SCANNER" = yes)
AC_ARG_ENABLE(weehoofooboomookerchoo,
@ -1266,58 +1325,19 @@ AC_OUTPUT([ \
contrib/elinks.spec \
contrib/lua/hooks.lua \
contrib/conv/w3m2links.awk \
doc/Makefile \
src/Makefile \
src/bfu/Makefile \
src/bookmarks/Makefile \
src/bookmarks/backend/Makefile \
src/cookies/Makefile \
src/dialogs/Makefile \
src/document/Makefile \
src/document/css/Makefile \
src/document/dom/Makefile \
src/document/html/Makefile \
src/document/html/parser/Makefile \
src/document/plain/Makefile \
src/document/sgml/Makefile \
src/document/sgml/html/Makefile \
src/encoding/Makefile \
src/intl/Makefile \
src/intl/gettext/Makefile \
src/intl/gettext/ref-add.sed \
src/intl/gettext/ref-del.sed \
src/main/Makefile \
src/mime/Makefile \
src/mime/backend/Makefile \
src/network/Makefile \
src/network/ssl/Makefile \
src/osdep/Makefile \
src/osdep/beos/Makefile \
src/osdep/os2/Makefile \
src/osdep/riscos/Makefile \
src/osdep/unix/Makefile \
src/osdep/win32/Makefile \
src/protocol/Makefile \
src/protocol/auth/Makefile \
src/protocol/bittorrent/Makefile \
src/protocol/file/Makefile \
src/protocol/finger/Makefile \
src/protocol/ftp/Makefile \
src/protocol/gopher/Makefile \
src/protocol/http/Makefile \
src/protocol/nntp/Makefile \
src/protocol/rewrite/Makefile \
src/protocol/smb/Makefile \
src/scripting/Makefile \
src/scripting/guile/Makefile \
src/scripting/lua/Makefile \
src/scripting/perl/Makefile \
src/scripting/python/Makefile \
src/scripting/ruby/Makefile \
src/terminal/Makefile \
src/util/Makefile \
src/viewer/Makefile \
src/viewer/dump/Makefile \
src/viewer/text/Makefile
])

View File

@ -1,5 +1,5 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.75 2005/08/09 17:44:23 jonas Exp $
path_to_top=..
include $(path_to_top)/Makefile.config
SUBDIRS = man
@ -41,21 +41,6 @@ MANUAL_FILES = \
terminals.txt \
urlshortcuts.txt
EXTRA_DIST = \
README \
$(MANUAL_FILES) \
color-model.txt \
events.txt \
feedback.txt \
get-cvs-docs \
hacking.txt \
dev-intro.txt \
index.txt \
perl.pod \
tools/help2doc \
tools/make-elinks-manpage \
tools/make-elinkskeys-manpage
### Script Dependencies
#
@ -71,7 +56,7 @@ IMPORT_FEATURES_CONF = $(top_srcdir)/doc/tools/import-features.conf
MAKE_ELINKS_MANPAGE = $(top_srcdir)/doc/tools/make-elinks-manpage
MAKE_ELINKSKEYS_MANPAGE = $(top_srcdir)/doc/tools/make-elinkskeys-manpage
if CONFIG_ASCIIDOC
ifeq ($(CONFIG_ASCIIDOC),yes)
HTML_DOCS_WITH_ASCIIDOC = \
$(HTML_DIR)/elinks.1.html \
$(HTML_DIR)/elinkskeys.5.html \
@ -81,22 +66,22 @@ endif
# Only jw is used for generating PDF.
if CONFIG_XMLTO
ifeq ($(CONFIG_XMLTO),yes)
HTML_DOCS_WITH_XMLTO = \
$(HTML_DIR)/manual.html-chunked
MAN_DOCS_WITH_XMLTO = \
$(MAN_DIR)/man1/elinks.1.in \
$(MAN_DIR)/man5/elinkskeys.5
endif
# Only jw is used for generating PDF.
if CONFIG_JW
ifeq ($(CONFIG_JW),yes)
PDF_DOCS_WITH_JW = \
$(PDF_DIR)/manual.pdf
endif
if CONFIG_POD2HTML
ifeq ($(CONFIG_POD2HTML),yes)
HTML_DOCS_WITH_POD2HTML = \
$(HTML_DIR)/perl.html \
$(HTML_DIR)/perl-hooks.html
@ -131,9 +116,9 @@ man-xmlto-no:
pdf-jw-yes: doc-dirs $(PDF_DOCS_WITH_JW)
pdf-jw-no:
man-docs: man-xmlto-@CONFIG_XMLTO@ $(MAN_DOCS_WITH_SHELL)
html-docs: html-asciidoc-@CONFIG_ASCIIDOC@ html-xmlto-@CONFIG_XMLTO@ html-pod2html-@CONFIG_POD2HTML@
pdf-docs: pdf-jw-@CONFIG_JW@
man-docs: man-xmlto-$(CONFIG_XMLTO) $(MAN_DOCS_WITH_SHELL)
html-docs: html-asciidoc-$(CONFIG_ASCIIDOC) html-xmlto-$(CONFIG_XMLTO) html-pod2html-$(CONFIG_POD2HTML)
pdf-docs: pdf-jw-$(CONFIG_JW)
all-docs: man-docs html-docs pdf-docs
@ -212,3 +197,5 @@ $(HTML_DIR)/perl.html: $(top_srcdir)/doc/perl.pod doc-dirs
$(HTML_DIR)/perl-hooks.html: $(top_srcdir)/contrib/perl/hooks.pl doc-dirs
$(POD2HTML) --outfile=$@ < $<
include $(path_to_top)/Makefile.lib

29
src/bfu/Makefile Normal file
View File

@ -0,0 +1,29 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_LEDS),yes)
ledsobj = leds.o
endif
OBJS = \
button.o \
checkbox.o \
dialog.o \
group.o \
hierbox.o \
hotkey.o \
inpfield.o \
inphist.o \
$(ledsobj) \
listbox.o \
listmenu.o \
menu.o \
msgbox.o \
style.o \
text.o \
widget.o
all-l: libbfu.a
libbfu.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,47 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.27 2004/11/19 15:33:07 zas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_LEDS
ledsobj = leds.o
endif
noinst_LIBRARIES = libbfu.a
EXTRA_libbfu_a_SOURCES = leds.c leds.h
libbfu_a_LIBADD = $(ledsobj)
libbfu_a_SOURCES = \
button.c \
button.h \
checkbox.c \
checkbox.h \
common.h \
dialog.c \
dialog.h \
group.c \
group.h \
hierbox.c \
hierbox.h \
hotkey.c \
hotkey.h \
inpfield.c \
inpfield.h \
inphist.c \
inphist.h \
listbox.c \
listbox.h \
listmenu.c \
listmenu.h \
menu.c \
menu.h \
msgbox.c \
msgbox.h \
style.c \
style.h \
text.c \
text.h \
widget.c \
widget.h

16
src/bookmarks/Makefile Normal file
View File

@ -0,0 +1,16 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
SUBDIRS = backend
ifeq ($(CONFIG_XBEL_BOOKMARKS),yes)
xbelobj = xbel.o
endif
BACK_OBJS = common.o default.o $(xbelobj)
OBJS = bookmarks.o dialogs.o $(foreach obj,$(BACK_OBJS),backend/$(obj))
all-l: libbookmarks.a
libbookmarks.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,23 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.12 2004/05/02 12:59:42 jonas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_XBEL_BOOKMARKS
xbelobj = backend/xbel.o
endif
SUBDIRS = backend
noinst_LIBRARIES = libbookmarks.a
libbookmarks_a_LIBADD = \
backend/common.o \
backend/default.o \
$(xbelobj)
libbookmarks_a_SOURCES = \
bookmarks.c \
bookmarks.h \
dialogs.c \
dialogs.h

View File

@ -0,0 +1,13 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_XBEL_BOOKMARKS),yes)
xbelobj = xbel.o
endif
OBJS = common.o default.o $(xbelobj)
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,26 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.4 2004/08/14 21:12:36 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/bookmarks/ at all, and we can't
# merge the whole library of these with libbookmarks.a. So we only compile
# objects here and link them directly to libbookmarks.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libbackend.a ANYWHERE.
if CONFIG_XBEL_BOOKMARKS
xbelobj = xbel.o
endif
noinst_LIBRARIES = libbackend.a
EXTRA_libbackend_a_SOURCES = xbel.c xbel.h
libbackend_a_LIBADD = $(xbelobj)
libbackend_a_SOURCES = \
common.c \
common.h \
default.c \
default.h

12
src/cookies/Makefile Normal file
View File

@ -0,0 +1,12 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
OBJS = cookies.o dialogs.o parser.o
all-l: libcookies.a
libcookies.a: $(OBJS)
parsetst: parser.o parsetst.o
$(call cmd,link) -L../util/libutil.a
include $(path_to_top)/Makefile.lib

View File

@ -1,24 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.13 2004/01/03 01:11:57 pasky Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libcookies.a
libcookies_a_SOURCES = \
cookies.c \
cookies.h \
dialogs.c \
dialogs.h \
parser.c \
parser.h
TESTS = parsetst
EXTRA_PROGRAMS = parsetst
parsetst_SOURCES = \
parser.h \
parser.c \
parsetst.c
parsetst_DEPENDENCIES = testutils
parsetst_LDADD = $(top_builddir)/src/util/libutil.a

13
src/dialogs/Makefile Normal file
View File

@ -0,0 +1,13 @@
path_to_top=../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_EXMODE),yes)
exmodeobj = exmode.o
endif
OBJS = document.o download.o edit.o $(exmodeobj) info.o menu.o options.o progress.o status.o
all-l: libdialogs.a
libdialogs.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,31 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.26 2005/04/18 17:00:25 zas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_EXMODE
exmodeobj = exmode.o
endif
noinst_LIBRARIES = libdialogs.a
EXTRA_libdialogs_a_SOURCES = exmode.c exmode.h
libdialogs_a_LIBADD = $(exmodeobj)
libdialogs_a_SOURCES = \
document.c \
document.h \
download.c \
download.h \
edit.c \
edit.h \
info.c \
info.h \
menu.c \
menu.h \
options.c \
options.h \
progress.c \
progress.h \
status.c \
status.h

View File

@ -1,9 +1,7 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.49 2005/07/15 04:37:55 miciah Exp $
path_to_top=../..
include $(path_to_top)/Makefile.config
include $(top_srcdir)/Makefile.base
if CONFIG_CSS
ifeq ($(CONFIG_CSS),yes)
cssdir = css
cssobj = \
css/apply.o \
@ -15,7 +13,7 @@ cssobj = \
css/value.o
endif
if CONFIG_DOM
ifeq ($(CONFIG_DOM),yes)
domdir = dom
domobj = \
$(domdir)/navigator.o \
@ -32,9 +30,7 @@ endif
SUBDIRS = $(cssdir) $(domdir) html plain $(sgmldir)
noinst_LIBRARIES = libdocument.a
libdocument_a_LIBADD = \
SUB_OBJS = \
$(cssobj) \
$(domobj) \
html/parser/forms.o \
@ -50,18 +46,9 @@ libdocument_a_LIBADD = \
plain/renderer.o \
$(sgmlobj)
libdocument_a_SOURCES = \
docdata.c \
docdata.h \
document.c \
document.h \
forms.c \
forms.h \
options.c \
options.h \
refresh.c \
refresh.h \
renderer.c \
renderer.h \
view.h
OBJS = docdata.o document.o forms.o options.o refresh.o renderer.o $(SUB_OBJS)
all-l: libdocument.a
libdocument.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = apply.o css.o parser.o property.o scanner.o stylesheet.o value.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,31 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.11 2004/08/14 21:12:37 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/document/ at all, and we can't
# merge the whole library of these with libdocument.a. So we only compile
# objects here and link them directly to libdocument.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libcss.a ANYWHERE.
EXTRA_DIST = README
noinst_LIBRARIES = libcss.a
libcss_a_SOURCES = \
apply.c \
apply.h \
css.c \
css.h \
parser.c \
parser.h \
property.c \
property.h \
scanner.c \
scanner.h \
stylesheet.c \
stylesheet.h \
value.c \
value.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = navigator.o node.o renderer.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,20 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2004/09/29 22:38:51 jonas Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/document/ at all, and we can't
# merge the whole library of these with libdocument.a. So we only compile
# objects here and link them directly to libdocument.a in ../Makefile.am.
# However, we apparently need to create the library in order to convience
# automake to compile the objects :/. We DON'T use libcss.a ANYWHERE.
noinst_LIBRARIES = libdom.a
libdom_a_SOURCES = \
navigator.c \
navigator.h \
node.c \
node.h \
renderer.c \
renderer.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
SUBDIRS = parser
OBJS = frames.o parser.o renderer.o tables.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,28 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.18 2004/08/14 21:12:38 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/document/ at all, and we can't
# merge the whole library of these with libdocument.a. So we only compile
# objects here and link them directly to libdocument.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libhtml.a ANYWHERE.
EXTRA_DIST = TODO
SUBDIRS = parser
noinst_LIBRARIES = libhtml.a
libhtml_a_SOURCES = \
frames.c \
frames.h \
internal.h \
parser.c \
parser.h \
renderer.c \
renderer.h \
tables.c \
tables.h

View File

@ -0,0 +1,9 @@
path_to_top=../../../..
include $(path_to_top)/Makefile.config
OBJS = forms.o general.o link.o parse.o stack.o table.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,27 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.7 2005/07/15 04:37:55 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/document/ at all, and we can't
# merge the whole library of these with libdocument.a. So we only compile
# objects here and link them directly to libdocument.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libhtmlp.a ANYWHERE.
noinst_LIBRARIES = libhtmlp.a
libhtmlp_a_SOURCES = \
forms.c \
forms.h \
general.c \
general.h \
link.c \
link.h \
parse.c \
parse.h \
stack.c \
stack.h \
table.c \
table.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = renderer.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,10 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.1 2003/11/10 21:29:30 jonas Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libplain_document.a
libplain_document_a_SOURCES = \
renderer.c \
renderer.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
SUBDIRS = html
OBJS = sgml.o parser.o scanner.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,24 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2004/09/29 22:38:52 jonas Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/document/ at all, and we can't
# merge the whole library of these with libdocument.a. So we only compile
# objects here and link them directly to libdocument.a in ../Makefile.am.
# However, we apparently need to create the library in order to convience
# automake to compile the objects :/. We DON'T use libcss.a ANYWHERE.
SUBDIRS = html
EXTRA_DIST = README
noinst_LIBRARIES = libsgml.a
libsgml_a_SOURCES = \
parser.c \
parser.h \
scanner.c \
scanner.h \
sgml.c \
sgml.h

View File

@ -0,0 +1,9 @@
path_to_top=../../../..
include $(path_to_top)/Makefile.config
OBJS = html.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,18 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.2 2004/09/24 00:44:59 jonas Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/document/ at all, and we can't
# merge the whole library of these with libdocument.a. So we only compile
# objects here and link them directly to libdocument.a in ../Makefile.am.
# However, we apparently need to create the library in order to convience
# automake to compile the objects :/. We DON'T use libcss.a ANYWHERE.
noinst_LIBRARIES = libhtml.a
libhtml_a_SOURCES = \
attribute.inc \
element.inc \
html.c \
html.h

76
src/intl/gettext/Makefile Normal file
View File

@ -0,0 +1,76 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
localedir = $(datadir)/locale
builddir = $(top_builddir)/src/intl/gettext
OBJS = \
bindtextdom.o \
dcgettext.o \
dcigettext.o \
dcngettext.o \
dgettext.o \
dngettext.o \
explodename.o \
finddomain.o \
gettext.o \
intl-compat.o \
l10nflist.o \
libintl.o \
loadmsgcat.o \
localcharset.o \
localealias.o \
ngettext.o \
plural.o \
textdomain.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
$(builddir)/charset.alias: $(srcdir)/config.charset
$(SHELL) $(srcdir)/config.charset '@host@' > $@.new
# FIXME: Building plural.c from plural.y on the fly doesn't work
YACC = $(INTLBISON) -y -d
YFLAGS = --name-prefix=gettext__
plural.c: plural.y
.SUFFIXES: .y .c
.y.c:
$(YACC) $(YFLAGS) --output $@ $<
rm -f $*.h
install-l: $(builddir)/charset.alias all
@if test '@USE_INCLUDED_LIBINTL@' = yes; then \
temp=$(DESTDIR)$(libdir)/t-charset.alias; \
dest=$(DESTDIR)$(libdir)/charset.alias; \
if test -f $(DESTDIR)$(libdir)/charset.alias; then \
orig=$(DESTDIR)$(libdir)/charset.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
else \
if test @GLIBC21@ = no; then \
$(mkinstalldirs) $(DESTDIR)$(libdir); \
orig=charset.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
fi; \
fi; \
$(mkinstalldirs) $(DESTDIR)$(localedir); \
test -f $(DESTDIR)$(localedir)/locale.alias \
&& orig=$(DESTDIR)$(localedir)/locale.alias \
|| orig=$(srcdir)/locale.alias; \
temp=$(DESTDIR)$(localedir)/t-locale.alias; \
dest=$(DESTDIR)$(localedir)/locale.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
else \
: ; \
fi
mv $@.new $@
include $(path_to_top)/Makefile.lib

View File

@ -1,110 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v
include $(top_srcdir)/Makefile.base
EXTRA_DIST = TODO VERSION config.charset locale.alias plural.y
DISTCLEANFILES = charset.alias
localedir = $(datadir)/locale
builddir = $(top_builddir)/src/intl/gettext
noinst_LIBRARIES = libintl.a
libintl_a_SOURCES = \
bindtextdom.c \
dcgettext.c \
dcigettext.c \
dcngettext.c \
dgettext.c \
dngettext.c \
explodename.c \
finddomain.c \
gettext.c \
gettext.h \
gettextP.h \
hash-string.h \
intl-compat.c \
l10nflist.c \
libgettext.h \
libgnuintl.h \
libintl.c \
libintl.h \
loadinfo.h \
loadmsgcat.c \
localcharset.c \
localealias.c \
ngettext.c \
plural.c \
textdomain.c
$(builddir)/charset.alias: $(srcdir)/config.charset
$(SHELL) $(srcdir)/config.charset '@host@' > $@.new
mv $@.new $@
# FIXME: Building plural.c from plural.y on the fly doesn't work
YACC = @INTLBISON@ -y -d
YFLAGS = --name-prefix=gettext__
plural.c: plural.y
.y.c:
$(YACC) $(YFLAGS) --output $@ $<
rm -f $*.h
install-data-local: $(builddir)/charset.alias all
@if test '@USE_INCLUDED_LIBINTL@' = yes; then \
temp=$(DESTDIR)$(libdir)/t-charset.alias; \
dest=$(DESTDIR)$(libdir)/charset.alias; \
if test -f $(DESTDIR)$(libdir)/charset.alias; then \
orig=$(DESTDIR)$(libdir)/charset.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
else \
if test @GLIBC21@ = no; then \
$(mkinstalldirs) $(DESTDIR)$(libdir); \
orig=charset.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
fi; \
fi; \
$(mkinstalldirs) $(DESTDIR)$(localedir); \
test -f $(DESTDIR)$(localedir)/locale.alias \
&& orig=$(DESTDIR)$(localedir)/locale.alias \
|| orig=$(srcdir)/locale.alias; \
temp=$(DESTDIR)$(localedir)/t-locale.alias; \
dest=$(DESTDIR)$(localedir)/locale.alias; \
sed -f ref-add.sed $$orig > $$temp; \
$(INSTALL_DATA) $$temp $$dest; \
rm -f $$temp; \
else \
: ; \
fi
uninstall-local:
@if test '@USE_INCLUDED_LIBINTL@' = yes; then \
if test -f $(DESTDIR)$(libdir)/charset.alias; then \
temp=$(DESTDIR)$(libdir)/t-charset.alias; \
dest=$(DESTDIR)$(libdir)/charset.alias; \
sed -f ref-del.sed $$dest > $$temp; \
if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
rm -f $$dest; \
else \
$(INSTALL_DATA) $$temp $$dest; \
fi; \
rm -f $$temp; \
fi; \
if test -f $(DESTDIR)$(localedir)/locale.alias; then \
temp=$(DESTDIR)$(localedir)/t-locale.alias; \
dest=$(DESTDIR)$(localedir)/locale.alias; \
sed -f ref-del.sed $$dest > $$temp; \
if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
rm -f $$dest; \
else \
$(INSTALL_DATA) $$temp $$dest; \
fi; \
rm -f $$temp; \
fi; \
else \
: ; \
fi

11
src/network/ssl/Makefile Normal file
View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
OBJS = ssl.o socket.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,16 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.7 2005/06/12 02:26:49 jonas Exp $
include $(top_srcdir)/Makefile.base
EXTRA_DIST = TODO
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
noinst_LIBRARIES = libssl.a
libssl_a_SOURCES = \
socket.c \
socket.h \
ssl.c \
ssl.h

9
src/osdep/beos/Makefile Normal file
View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = beos.o overrides.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,19 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2004/08/14 21:12:40 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/osdep/ at all, and we can't
# merge the whole library of these with libosdep.a. So we only compile
# objects here and link them directly to libosdep.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libsystem.a ANYWHERE.
noinst_LIBRARIES = libsystem.a
libsystem_a_SOURCES = \
beos.c \
beos.h \
overrides.c \
overrides.h \
sysinfo.h

9
src/osdep/os2/Makefile Normal file
View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = os2.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,17 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2004/08/14 21:12:41 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/osdep/ at all, and we can't
# merge the whole library of these with libosdep.a. So we only compile
# objects here and link them directly to libosdep.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libsystem.a ANYWHERE.
noinst_LIBRARIES = libsystem.a
libsystem_a_SOURCES = \
os2.c \
os2.h \
sysinfo.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = riscos.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,17 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2004/08/14 21:12:43 miciah Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/osdep/ at all, and we can't
# merge the whole library of these with libosdep.a. So we only compile
# objects here and link them directly to libosdep.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libsystem.a ANYWHERE.
noinst_LIBRARIES = libsystem.a
libsystem_a_SOURCES = \
riscos.c \
riscos.h \
sysinfo.h

9
src/osdep/unix/Makefile Normal file
View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = unix.o bsd.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,18 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.6 2005/07/20 15:41:33 witekfl Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/osdep/ at all, and we can't
# merge the whole library of these with libosdep.a. So we only compile
# objects here and link them directly to libosdep.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libsystem.a ANYWHERE.
noinst_LIBRARIES = libsystem.a
libsystem_a_SOURCES = \
bsd.c \
sysinfo.h \
unix.c \
unix.h

9
src/osdep/win32/Makefile Normal file
View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = win32.o overrides.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,19 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.5 2005/02/05 05:26:40 jonas Exp $
include $(top_srcdir)/Makefile.base
# We don't want to expose this outside of /src/osdep/ at all, and we can't
# merge the whole library of these with libosdep.a. So we only compile
# objects here and link them directly to libosdep.a in ../Makefile.am.
# However, we apparently need to create the library in order to convince
# automake to compile the objects :/. We DON'T use libsystem.a ANYWHERE.
noinst_LIBRARIES = libsystem.a
libsystem_a_SOURCES = \
overrides.c \
overrides.h \
sysinfo.h \
win32.c \
win32.h

View File

@ -1,15 +1,13 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.48 2005/07/11 10:59:04 jonas Exp $
include $(top_srcdir)/Makefile.base
path_to_top=../..
include $(path_to_top)/Makefile.config
authobj = auth/auth.o auth/dialogs.o auth/digest.o
if CONFIG_CGI
ifeq ($(CONFIG_CGI),yes)
cgiobj = file/cgi.o
endif
if CONFIG_BITTORRENT
ifeq ($(CONFIG_BITTORRENT),yes)
bittorrentdir = bittorrent
bittorrentobj = \
$(bittorrentdir)/bencoding.o \
@ -23,40 +21,40 @@ bittorrentobj = \
$(bittorrentdir)/tracker.o
endif
if CONFIG_DATA
ifeq ($(CONFIG_DATA),yes)
dataobj = data.o
endif
fileobj = file/file.o
if CONFIG_FINGER
ifeq ($(CONFIG_FINGER),yes)
fingerdir = finger
fingerobj = $(fingerdir)/finger.o
endif
if CONFIG_FTP
ifeq ($(CONFIG_FTP),yes)
ftpdir = ftp
ftpobj = $(ftpdir)/ftp.o $(ftpdir)/parse.o
endif
if CONFIG_GOPHER
ifeq ($(CONFIG_GOPHER),yes)
gopherdir = gopher
gopherobj = $(gopherdir)/gopher.o
endif
httpobj = http/blacklist.o http/codes.o http/http.o
if CONFIG_NNTP
ifeq ($(CONFIG_NNTP),yes)
nntpdir = nntp
nntpobj = $(nntpdir)/connection.o $(nntpdir)/nntp.o $(nntpdir)/response.o
endif
if CONFIG_SMB
ifeq ($(CONFIG_SMB),yes)
smbdir = smb
smbobj = $(smbdir)/smb.o
endif
if CONFIG_URI_REWRITE
ifeq ($(CONFIG_URI_REWRITE),yes)
rewritedir = rewrite
rewriteobj = $(rewritedir)/rewrite.o
endif
@ -73,10 +71,7 @@ SUBDIRS = \
$(rewritedir) \
$(smbdir)
noinst_LIBRARIES = libprotocol.a
EXTRA_libprotocol_a_SOURCES = data.c data.h
libprotocol_a_LIBADD = \
SUB_OBJS = \
$(authobj) \
$(bittorrentobj) \
$(dataobj) \
@ -89,19 +84,9 @@ libprotocol_a_LIBADD = \
$(nntpobj) \
$(rewriteobj) \
$(smbobj)
OBJS = about.o date.o header.o protocol.o proxy.o uri.o user.o $(SUB_OBJS)
libprotocol_a_SOURCES = \
about.c \
about.h \
date.c \
date.h \
header.c \
header.h \
protocol.c \
protocol.h \
proxy.c \
proxy.h \
uri.c \
uri.h \
user.c \
user.h
all-l: libprotocol.a
libprotocol.a: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -0,0 +1,12 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
# Needed for the digest MD5 sum calculation.
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
OBJS = auth.o dialogs.o digest.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,16 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.7 2005/01/13 15:55:57 jonas Exp $
include $(top_srcdir)/Makefile.base
# Needed for the digest MD5 sum calculation.
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
noinst_LIBRARIES = libauth.a
libauth_a_SOURCES = \
auth.h \
auth.c \
dialogs.h \
dialogs.c \
digest.c \
digest.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
OBJS = bencoding.o bittorrent.o common.o connection.o dialogs.o peerconnect.o peerwire.o piececache.o tracker.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,28 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2005/07/21 08:23:07 zas Exp $
include $(top_srcdir)/Makefile.base
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
noinst_LIBRARIES = libbittorrent.a
libbittorrent_a_SOURCES = \
bencoding.c \
bencoding.h \
bittorrent.c \
bittorrent.h \
common.c \
common.h \
connection.c \
connection.h \
dialogs.c \
dialogs.h \
peerconnect.c \
peerconnect.h \
peerwire.c \
peerwire.h \
piececache.c \
piececache.h \
tracker.c \
tracker.h

View File

@ -0,0 +1,13 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
ifeq ($(CONFIG_CGI),yes)
cgiobj = cgi.o
endif
OBJS = file.o $(cgiobj)
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,18 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2004/05/21 12:03:52 jonas Exp $
include $(top_srcdir)/Makefile.base
if CONFIG_CGI
cgiobj = cgi.o
endif
noinst_LIBRARIES = libfile.a
EXTRA_libfile_a_SOURCES = cgi.c cgi.h
libfile_a_LIBADD = $(cgiobj)
libfile_a_SOURCES = \
file.c \
file.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = finger.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,10 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.1 2004/10/12 15:28:12 zas Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libfinger.a
libfinger_a_SOURCES = \
finger.c \
finger.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = ftp.o parse.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,12 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2005/03/27 14:58:58 jonas Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libftp.a
libftp_a_SOURCES = \
ftp.c \
ftp.h \
parse.c \
parse.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = gopher.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,10 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.1 2004/08/18 17:24:18 jonas Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libgopher.a
libgopher_a_SOURCES = \
gopher.c \
gopher.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = blacklist.o codes.o http.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,16 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.17 2004/07/12 11:31:17 jonas Exp $
include $(top_srcdir)/Makefile.base
EXTRA_DIST = README.timegm
noinst_LIBRARIES = libhttp.a
libhttp_a_SOURCES = \
blacklist.c \
blacklist.h \
codes.c \
codes.h \
http.c \
http.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = nntp.o connection.o response.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,15 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.2 2005/04/21 02:36:41 jonas Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libnntp.a
libnntp_a_SOURCES = \
codes.h \
nntp.c \
nntp.h \
connection.c \
connection.h \
response.c \
response.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = rewrite.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,10 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.2 2003/12/08 23:00:10 pasky Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = liburirewrite.a
liburirewrite_a_SOURCES = \
rewrite.c \
rewrite.h

View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = smb.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,10 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.1 2003/12/07 16:45:17 pasky Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libsmb.a
libsmb_a_SOURCES = \
smb.c \
smb.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(GUILE_CFLAGS)
OBJS = guile.o hooks.o core.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,17 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.5 2005/04/01 17:36:46 zas Exp $
include $(top_srcdir)/Makefile.base
EXTRA_DIST = README
INCLUDES += $(GUILE_CFLAGS)
noinst_LIBRARIES = libscriptingguile.a
libscriptingguile_a_SOURCES = \
core.c \
core.h \
hooks.c \
hooks.h \
guile.c \
guile.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(LUA_CFLAGS)
OBJS = lua.o hooks.o core.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,18 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.15 2005/04/01 09:41:37 zas Exp $
include $(top_srcdir)/Makefile.base
EXTRA_DIST = TODO
INCLUDES += $(LUA_CFLAGS)
noinst_LIBRARIES = libscriptinglua.a
libscriptinglua_a_SOURCES = \
core.c \
core.h \
hooks.c \
hooks.h \
lua.c \
lua.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(PERL_CFLAGS)
OBJS = perl.o hooks.o core.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,15 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.4 2005/04/01 09:47:28 zas Exp $
include $(top_srcdir)/Makefile.base
INCLUDES += $(PERL_CFLAGS)
noinst_LIBRARIES = libscriptingperl.a
libscriptingperl_a_SOURCES = \
core.c \
core.h \
hooks.c \
hooks.h \
perl.c \
perl.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(PYTHON_CFLAGS)
OBJS = python.o hooks.o core.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,15 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.1 2005/06/02 18:01:34 witekfl Exp $
include $(top_srcdir)/Makefile.base
INCLUDES += $(PYTHON_CFLAGS)
noinst_LIBRARIES = libscriptingpython.a
libscriptingpython_a_SOURCES = \
core.c \
core.h \
hooks.c \
hooks.h \
python.c \
python.h

View File

@ -0,0 +1,11 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
INCLUDES += $(RUBY_CFLAGS)
OBJS = ruby.o hooks.o core.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,16 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.3 2005/04/01 17:20:59 zas Exp $
include $(top_srcdir)/Makefile.base
INCLUDES += $(RUBY_CFLAGS)
noinst_LIBRARIES = libscriptingruby.a
libscriptingruby_a_SOURCES = \
core.c \
core.h \
hooks.c \
hooks.h \
ruby.c \
ruby.h

9
src/viewer/dump/Makefile Normal file
View File

@ -0,0 +1,9 @@
path_to_top=../../..
include $(path_to_top)/Makefile.config
OBJS = dump.o
# Do not forget to also add the .o to ../Makefile. Yes, it sucks.
all-l: $(OBJS)
include $(path_to_top)/Makefile.lib

View File

@ -1,10 +0,0 @@
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.2 2003/01/01 17:48:46 pasky Exp $
include $(top_srcdir)/Makefile.base
noinst_LIBRARIES = libviewer_dump.a
libviewer_dump_a_SOURCES = \
dump.c \
dump.h