mirror of
https://github.com/unknownworlds/NS.git
synced 2025-02-18 09:51:56 +00:00
More eol cleanups
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@6 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
1a2b6e1947
commit
48e8eda3ed
7 changed files with 3893 additions and 3313 deletions
|
@ -1,76 +1,664 @@
|
||||||
#############################################################################
|
# Makefile.in generated by automake 1.7.2 from Makefile.am.
|
||||||
# _ _ ____ _
|
# Makefile. Generated from Makefile.in by configure.
|
||||||
# Project ___| | | | _ \| |
|
|
||||||
# / __| | | | |_) | |
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
||||||
# | (__| |_| | _ <| |___
|
# Free Software Foundation, Inc.
|
||||||
# \___|\___/|_| \_\_____|
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2002, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# $Id: Makefile.am,v 1.41 2003/03/31 11:37:47 bagder Exp $
|
||||||
#
|
#
|
||||||
# In order to be useful for every potential user, curl and libcurl are
|
|
||||||
# dual-licensed under the MPL and the MIT/X-derivate licenses.
|
srcdir = .
|
||||||
|
top_srcdir = .
|
||||||
|
|
||||||
|
pkgdatadir = $(datadir)/curl
|
||||||
|
pkglibdir = $(libdir)/curl
|
||||||
|
pkgincludedir = $(includedir)/curl
|
||||||
|
top_builddir = .
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = /usr/bin/install -c
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
host_triplet = i686-pc-linux-gnu
|
||||||
|
ACLOCAL = ${SHELL} /home/hjw/ns/source/curl/missing --run aclocal-1.7
|
||||||
|
AMDEP_FALSE = #
|
||||||
|
AMDEP_TRUE =
|
||||||
|
AMTAR = ${SHELL} /home/hjw/ns/source/curl/missing --run tar
|
||||||
|
AR = ar
|
||||||
|
AS = as
|
||||||
|
AUTOCONF = ${SHELL} /home/hjw/ns/source/curl/missing --run autoconf
|
||||||
|
AUTOHEADER = ${SHELL} /home/hjw/ns/source/curl/missing --run autoheader
|
||||||
|
AUTOMAKE = ${SHELL} /home/hjw/ns/source/curl/missing --run automake-1.7
|
||||||
|
AWK = gawk
|
||||||
|
CC = gcc
|
||||||
|
CCDEPMODE = depmode=gcc3
|
||||||
|
CFLAGS = -g -O2
|
||||||
|
CPP = gcc -E
|
||||||
|
CPPFLAGS =
|
||||||
|
CURL_CA_BUNDLE =
|
||||||
|
CURL_DISABLE_DICT =
|
||||||
|
CURL_DISABLE_FILE =
|
||||||
|
CURL_DISABLE_FTP =
|
||||||
|
CURL_DISABLE_GOPHER =
|
||||||
|
CURL_DISABLE_HTTP =
|
||||||
|
CURL_DISABLE_LDAP =
|
||||||
|
CURL_DISABLE_TELNET =
|
||||||
|
CXX = g++
|
||||||
|
CXXCPP = g++ -E
|
||||||
|
CXXDEPMODE = depmode=gcc3
|
||||||
|
CXXFLAGS = -g -O2
|
||||||
|
CYGPATH_W = echo
|
||||||
|
DEFS = -DHAVE_CONFIG_H
|
||||||
|
DEPDIR = .deps
|
||||||
|
DLLTOOL = dlltool
|
||||||
|
ECHO = echo
|
||||||
|
ECHO_C =
|
||||||
|
ECHO_N = -n
|
||||||
|
ECHO_T =
|
||||||
|
EGREP = grep -E
|
||||||
|
EXEEXT =
|
||||||
|
F77 = g77
|
||||||
|
FFLAGS = -g -O2
|
||||||
|
HAVE_LIBZ =
|
||||||
|
INSTALL_DATA = ${INSTALL} -m 644
|
||||||
|
INSTALL_PROGRAM = ${INSTALL}
|
||||||
|
INSTALL_SCRIPT = ${INSTALL}
|
||||||
|
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
|
||||||
|
IPV6_ENABLED =
|
||||||
|
KRB4_ENABLED =
|
||||||
|
LDFLAGS =
|
||||||
|
LIBOBJS =
|
||||||
|
LIBS = -ldl
|
||||||
|
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
||||||
|
LN_S = ln -s
|
||||||
|
LTLIBOBJS =
|
||||||
|
MAINT = #
|
||||||
|
MAINTAINER_MODE_FALSE =
|
||||||
|
MAINTAINER_MODE_TRUE = #
|
||||||
|
MAKEINFO = ${SHELL} /home/hjw/ns/source/curl/missing --run makeinfo
|
||||||
|
NO_UNDEFINED_FALSE =
|
||||||
|
NO_UNDEFINED_TRUE = #
|
||||||
|
NROFF = /usr/bin/gnroff
|
||||||
|
OBJDUMP = objdump
|
||||||
|
OBJEXT = o
|
||||||
|
OPENSSL_ENABLED =
|
||||||
|
PACKAGE = curl
|
||||||
|
PACKAGE_BUGREPORT = curl-bug@haxx.se
|
||||||
|
PACKAGE_NAME = curl
|
||||||
|
PACKAGE_STRING = curl -
|
||||||
|
PACKAGE_TARNAME = curl
|
||||||
|
PACKAGE_VERSION = -
|
||||||
|
PATH_SEPARATOR = :
|
||||||
|
PERL = /usr/bin/perl
|
||||||
|
PKGADD_NAME = cURL - a client that groks URLs
|
||||||
|
PKGADD_PKG = HAXXcurl
|
||||||
|
PKGADD_VENDOR = curl.haxx.se
|
||||||
|
PKGCONFIG = /usr/bin/pkg-config
|
||||||
|
RANDOM_FILE = /dev/urandom
|
||||||
|
RANLIB = ranlib
|
||||||
|
SED = /bin/sed
|
||||||
|
SET_MAKE =
|
||||||
|
SHELL = /bin/sh
|
||||||
|
STRIP = strip
|
||||||
|
VERSION = 7.10.5
|
||||||
|
VERSIONNUM = 070a05
|
||||||
|
YACC = bison -y
|
||||||
|
ac_ct_AR = ar
|
||||||
|
ac_ct_AS =
|
||||||
|
ac_ct_CC = gcc
|
||||||
|
ac_ct_CXX = g++
|
||||||
|
ac_ct_DLLTOOL =
|
||||||
|
ac_ct_F77 = g77
|
||||||
|
ac_ct_OBJDUMP =
|
||||||
|
ac_ct_RANLIB = ranlib
|
||||||
|
ac_ct_STRIP = strip
|
||||||
|
am__fastdepCC_FALSE = #
|
||||||
|
am__fastdepCC_TRUE =
|
||||||
|
am__fastdepCXX_FALSE = #
|
||||||
|
am__fastdepCXX_TRUE =
|
||||||
|
am__include = include
|
||||||
|
am__quote =
|
||||||
|
bindir = ${exec_prefix}/bin
|
||||||
|
build = i686-pc-linux-gnu
|
||||||
|
build_alias = i686-linux
|
||||||
|
build_cpu = i686
|
||||||
|
build_os = linux-gnu
|
||||||
|
build_vendor = pc
|
||||||
|
datadir = ${prefix}/share
|
||||||
|
exec_prefix = ${prefix}
|
||||||
|
host = i686-pc-linux-gnu
|
||||||
|
host_alias =
|
||||||
|
host_cpu = i686
|
||||||
|
host_os = linux-gnu
|
||||||
|
host_vendor = pc
|
||||||
|
includedir = ${prefix}/include
|
||||||
|
infodir = ${prefix}/info
|
||||||
|
install_sh = /home/hjw/ns/source/curl/install-sh
|
||||||
|
libdir = ${exec_prefix}/lib
|
||||||
|
libexecdir = ${exec_prefix}/libexec
|
||||||
|
localstatedir = ${prefix}/var
|
||||||
|
mandir = ${prefix}/man
|
||||||
|
oldincludedir = /usr/include
|
||||||
|
prefix = /usr/local
|
||||||
|
program_transform_name = s,x,x,
|
||||||
|
sbindir = ${exec_prefix}/sbin
|
||||||
|
sharedstatedir = ${prefix}/com
|
||||||
|
sysconfdir = ${prefix}/etc
|
||||||
|
target_alias =
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
|
EXTRA_DIST = CHANGES COPYING maketgz SSLCERTS reconf Makefile.dist \
|
||||||
|
curl-config.in build_vms.com curl-style.el sample.emacs testcurl.sh
|
||||||
|
|
||||||
|
|
||||||
|
bin_SCRIPTS = curl-config
|
||||||
|
|
||||||
|
SUBDIRS = docs lib src include tests packages
|
||||||
|
subdir = .
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
CONFIG_HEADER = $(top_builddir)/lib/config.h \
|
||||||
|
$(top_builddir)/src/config.h \
|
||||||
|
$(top_builddir)/tests/server/config.h \
|
||||||
|
$(top_builddir)/lib/ca-bundle.h
|
||||||
|
CONFIG_CLEAN_FILES = curl-config
|
||||||
|
SCRIPTS = $(bin_SCRIPTS)
|
||||||
|
|
||||||
|
DIST_SOURCES =
|
||||||
|
|
||||||
|
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
|
||||||
|
ps-recursive install-info-recursive uninstall-info-recursive \
|
||||||
|
all-recursive install-data-recursive install-exec-recursive \
|
||||||
|
installdirs-recursive install-recursive uninstall-recursive \
|
||||||
|
check-recursive installcheck-recursive
|
||||||
|
DIST_COMMON = README COPYING Makefile.am Makefile.in acinclude.m4 \
|
||||||
|
aclocal.m4 config.guess config.sub configure configure.ac \
|
||||||
|
curl-config.in depcomp install-sh ltmain.sh missing \
|
||||||
|
mkinstalldirs
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||||
|
configure.lineno
|
||||||
|
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign Makefile
|
||||||
|
Makefile: # $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
$(SHELL) ./config.status --recheck
|
||||||
|
$(srcdir)/configure: # $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
|
$(ACLOCAL_M4): # configure.ac acinclude.m4
|
||||||
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
|
curl-config: $(top_builddir)/config.status curl-config.in
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
|
binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
||||||
|
install-binSCRIPTS: $(bin_SCRIPTS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||||
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
|
if test -f $$d$$p; then \
|
||||||
|
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
||||||
|
echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
$(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-binSCRIPTS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
||||||
|
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
||||||
|
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(bindir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
# into them and run `make' without going through this Makefile.
|
||||||
|
# To change the values of `make' variables: instead of editing Makefiles,
|
||||||
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
$(RECURSIVE_TARGETS):
|
||||||
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||||
|
dot_seen=no; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
dot_seen=yes; \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
|
done; \
|
||||||
|
if test "$$dot_seen" = "no"; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
|
fi; test -z "$$fail"
|
||||||
|
|
||||||
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||||
|
maintainer-clean-recursive:
|
||||||
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||||
|
dot_seen=no; \
|
||||||
|
case "$@" in \
|
||||||
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||||
|
*) list='$(SUBDIRS)' ;; \
|
||||||
|
esac; \
|
||||||
|
rev=''; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = "."; then :; else \
|
||||||
|
rev="$$subdir $$rev"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
rev="$$rev ."; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
for subdir in $$rev; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
|
done && test -z "$$fail"
|
||||||
|
tags-recursive:
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||||
|
done
|
||||||
|
ctags-recursive:
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||||
|
done
|
||||||
|
|
||||||
|
ETAGS = etags
|
||||||
|
ETAGSFLAGS =
|
||||||
|
|
||||||
|
CTAGS = ctags
|
||||||
|
CTAGSFLAGS =
|
||||||
|
|
||||||
|
tags: TAGS
|
||||||
|
|
||||||
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||||
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | \
|
||||||
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
|
END { for (i in files) print i; }'`; \
|
||||||
|
mkid -fID $$unique
|
||||||
|
|
||||||
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
|
$(TAGS_FILES) $(LISP)
|
||||||
|
tags=; \
|
||||||
|
here=`pwd`; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | \
|
||||||
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
|
END { for (i in files) print i; }'`; \
|
||||||
|
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$tags $$unique
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
|
$(TAGS_FILES) $(LISP)
|
||||||
|
tags=; \
|
||||||
|
here=`pwd`; \
|
||||||
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | \
|
||||||
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
|
END { for (i in files) print i; }'`; \
|
||||||
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
|
$$tags $$unique
|
||||||
|
|
||||||
|
GTAGS:
|
||||||
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
|
&& cd $(top_srcdir) \
|
||||||
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = .
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
am__remove_distdir = \
|
||||||
|
{ test ! -d $(distdir) \
|
||||||
|
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||||
|
&& rm -fr $(distdir); }; }
|
||||||
|
|
||||||
|
GZIP_ENV = --best
|
||||||
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
|
distcleancheck_listfiles = find . -type f -print
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
$(am__remove_distdir)
|
||||||
|
mkdir $(distdir)
|
||||||
|
$(mkinstalldirs) $(distdir)/. $(distdir)/packages/EPM $(distdir)/packages/Linux/RPM
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||||
|
list='$(DISTFILES)'; for file in $$list; do \
|
||||||
|
case $$file in \
|
||||||
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||||
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||||
|
esac; \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
dir="/$$dir"; \
|
||||||
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||||
|
else \
|
||||||
|
dir=''; \
|
||||||
|
fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||||
|
fi; \
|
||||||
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f $(distdir)/$$file \
|
||||||
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test -d $(distdir)/$$subdir \
|
||||||
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|
|| exit 1; \
|
||||||
|
(cd $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" \
|
||||||
|
distdir=../$(distdir)/$$subdir \
|
||||||
|
distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||||
|
dist-hook
|
||||||
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||||
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||||
|
|| chmod -R a+r $(distdir)
|
||||||
|
dist-gzip: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
dist dist-all: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
|
# it guarantees that the distribution is self-contained by making another
|
||||||
|
# tarfile.
|
||||||
|
distcheck: dist
|
||||||
|
$(am__remove_distdir)
|
||||||
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
||||||
|
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||||
|
mkdir $(distdir)/=build
|
||||||
|
mkdir $(distdir)/=inst
|
||||||
|
chmod a-w $(distdir)
|
||||||
|
dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
|
||||||
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||||
|
&& cd $(distdir)/=build \
|
||||||
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||||
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||||
|
distuninstallcheck \
|
||||||
|
&& chmod -R a-w "$$dc_install_base" \
|
||||||
|
&& ({ \
|
||||||
|
(cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||||
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||||
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||||
|
&& rm -rf "$$dc_destdir" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
||||||
|
&& rm -f $(distdir).tar.gz \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||||
|
$(am__remove_distdir)
|
||||||
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||||
|
sed 'h;s/./=/g;p;x;p;x'
|
||||||
|
distuninstallcheck:
|
||||||
|
cd $(distuninstallcheck_dir) \
|
||||||
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||||
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
|
if test -n "$(DESTDIR)"; then \
|
||||||
|
echo " (check DESTDIR support)"; \
|
||||||
|
fi ; \
|
||||||
|
$(distuninstallcheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
distcleancheck: distclean
|
||||||
|
if test '$(srcdir)' = . ; then \
|
||||||
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||||
|
exit 1 ; \
|
||||||
|
fi
|
||||||
|
test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||||
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||||
|
$(distcleancheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
check-am: all-am
|
||||||
|
check: check-recursive
|
||||||
|
all-am: Makefile $(SCRIPTS)
|
||||||
|
installdirs: installdirs-recursive
|
||||||
|
installdirs-am:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
|
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
INSTALL_STRIP_FLAG=-s \
|
||||||
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-recursive
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||||
|
distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am: install-binSCRIPTS
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -rf autom4te.cache
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-recursive
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-recursive
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-binSCRIPTS uninstall-info-am
|
||||||
|
|
||||||
|
uninstall-info: uninstall-info-recursive
|
||||||
|
|
||||||
|
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
|
||||||
|
clean-generic clean-libtool clean-recursive ctags \
|
||||||
|
ctags-recursive dist dist-all dist-gzip distcheck distclean \
|
||||||
|
distclean-generic distclean-libtool distclean-recursive \
|
||||||
|
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
||||||
|
dvi-am dvi-recursive info info-am info-recursive install \
|
||||||
|
install-am install-binSCRIPTS install-data install-data-am \
|
||||||
|
install-data-recursive install-exec install-exec-am \
|
||||||
|
install-exec-recursive install-info install-info-am \
|
||||||
|
install-info-recursive install-man install-recursive \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
installdirs-am installdirs-recursive maintainer-clean \
|
||||||
|
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||||
|
mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
|
||||||
|
pdf pdf-am pdf-recursive ps ps-am ps-recursive tags \
|
||||||
|
tags-recursive uninstall uninstall-am uninstall-binSCRIPTS \
|
||||||
|
uninstall-info-am uninstall-info-recursive uninstall-recursive
|
||||||
|
|
||||||
|
|
||||||
|
# create a root makefile in the distribution:
|
||||||
|
dist-hook:
|
||||||
|
rm -rf $(top_builddir)/tests/log
|
||||||
|
cp $(srcdir)/Makefile.dist $(distdir)/Makefile
|
||||||
|
|
||||||
|
html:
|
||||||
|
cd docs; make html
|
||||||
|
|
||||||
|
pdf:
|
||||||
|
cd docs; make pdf
|
||||||
|
|
||||||
|
check: test
|
||||||
|
|
||||||
|
test:
|
||||||
|
@(cd tests; $(MAKE) quiet-test)
|
||||||
|
|
||||||
|
test-full:
|
||||||
|
@(cd tests; $(MAKE) full-test)
|
||||||
|
|
||||||
#
|
#
|
||||||
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
|
||||||
# copies of the Software, and permit persons to whom the Software is
|
# must contain the following line:
|
||||||
# furnished to do so, under the terms of the MPL or the MIT/X-derivate
|
# %_topdir /home/loic/local/rpm
|
||||||
# licenses. You may pick one of these licenses.
|
# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
|
||||||
#
|
#
|
||||||
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
|
||||||
# KIND, either express or implied.
|
#
|
||||||
|
# If additional configure flags are needed to build the package, add the
|
||||||
|
# following in ~/.rpmmacros
|
||||||
|
# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
|
||||||
|
# and run make rpm in the following way:
|
||||||
|
# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
|
||||||
#
|
#
|
||||||
# $Id: Makefile.dist,v 1.12 2002/09/07 21:44:02 hartroth Exp $
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
all:
|
rpms:
|
||||||
./configure
|
$(MAKE) RPMDIST=curl rpm
|
||||||
make
|
$(MAKE) RPMDIST=curl-ssl rpm
|
||||||
|
|
||||||
ssl:
|
rpm:
|
||||||
./configure --with-ssl
|
RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
|
||||||
make
|
cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
|
||||||
|
cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
|
||||||
|
rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
|
||||||
|
mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
|
||||||
|
mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .
|
||||||
|
|
||||||
borland:
|
#
|
||||||
cd lib & make -f Makefile.b32
|
# Build a Solaris pkkgadd format file
|
||||||
cd src & make -f Makefile.b32
|
# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
|
||||||
|
# file (which ends up back in this directory).
|
||||||
|
# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
|
||||||
|
# pkgadd -d ./HAXXcurl-*
|
||||||
|
#
|
||||||
|
|
||||||
mingw32:
|
# gak - libtool requires an absoulte directory, hence the pwd below...
|
||||||
cd lib & make -f Makefile.m32 ZLIB=1
|
pkgadd:
|
||||||
cd src & make -f Makefile.m32 ZLIB=1
|
umask 022 ; \
|
||||||
|
make install DESTDIR=`/bin/pwd`/packages/Solaris/root ; \
|
||||||
|
cat COPYING > $(srcdir)/packages/Solaris/copyright ; \
|
||||||
|
cd $(srcdir)/packages/Solaris && $(MAKE) package
|
||||||
|
|
||||||
mingw32-ssl:
|
#
|
||||||
cd lib & make -f Makefile.m32 SSL=1 ZLIB=1
|
# Build a cygwin binary tarball installation file
|
||||||
cd src & make -f Makefile.m32 SSL=1 ZLIB=1
|
# resulting .tar.bz2 file will end up at packages/Win32/cygwin
|
||||||
|
cygwinbin:
|
||||||
vc:
|
$(MAKE) -C packages/Win32/cygwin cygwinbin
|
||||||
cd lib
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
nmake -f Makefile.vc6 cfg=release
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
cd ..\src
|
.NOEXPORT:
|
||||||
nmake -f Makefile.vc6
|
|
||||||
|
|
||||||
vc-ssl:
|
|
||||||
cd lib
|
|
||||||
nmake -f Makefile.vc6 cfg=release-ssl
|
|
||||||
cd ..\src
|
|
||||||
nmake -f Makefile.vc6 cfg=release-ssl
|
|
||||||
|
|
||||||
vc-ssl-dll:
|
|
||||||
cd lib
|
|
||||||
nmake -f Makefile.vc6 cfg=release-ssl-dll
|
|
||||||
cd ..\src
|
|
||||||
nmake -f Makefile.vc6
|
|
||||||
|
|
||||||
cygwin:
|
|
||||||
./configure
|
|
||||||
make
|
|
||||||
|
|
||||||
cygwin-ssl:
|
|
||||||
./configure --with-ssl
|
|
||||||
make
|
|
||||||
|
|
||||||
unix: all
|
|
||||||
|
|
||||||
unix-ssl: ssl
|
|
||||||
|
|
||||||
linux: all
|
|
||||||
|
|
||||||
linux-ssl: ssl
|
|
||||||
|
|
2931
main/source/curl/config.sub
vendored
2931
main/source/curl/config.sub
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,411 +1,411 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# depcomp - compile a program generating dependencies as side-effects
|
# depcomp - compile a program generating dependencies as side-effects
|
||||||
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
# 02111-1307, USA.
|
# 02111-1307, USA.
|
||||||
|
|
||||||
# As a special exception to the GNU General Public License, if you
|
# As a special exception to the GNU General Public License, if you
|
||||||
# distribute this file as part of a program that contains a
|
# distribute this file as part of a program that contains a
|
||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||||
|
|
||||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# `libtool' can also be set to `yes' or `no'.
|
# `libtool' can also be set to `yes' or `no'.
|
||||||
|
|
||||||
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
|
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
|
||||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||||
|
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
|
|
||||||
# Some modes work just like other modes, but use different flags. We
|
# Some modes work just like other modes, but use different flags. We
|
||||||
# parameterize here, but still list the modes in the big case below,
|
# parameterize here, but still list the modes in the big case below,
|
||||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||||
# here, because this file can only contain one case statement.
|
# here, because this file can only contain one case statement.
|
||||||
if test "$depmode" = hp; then
|
if test "$depmode" = hp; then
|
||||||
# HP compiler uses -M and no extra arg.
|
# HP compiler uses -M and no extra arg.
|
||||||
gccflag=-M
|
gccflag=-M
|
||||||
depmode=gcc
|
depmode=gcc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$depmode" = dashXmstdout; then
|
if test "$depmode" = dashXmstdout; then
|
||||||
# This is just like dashmstdout with a different argument.
|
# This is just like dashmstdout with a different argument.
|
||||||
dashmflag=-xM
|
dashmflag=-xM
|
||||||
depmode=dashmstdout
|
depmode=dashmstdout
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$depmode" in
|
case "$depmode" in
|
||||||
gcc3)
|
gcc3)
|
||||||
## gcc 3 implements dependency tracking that does exactly what
|
## gcc 3 implements dependency tracking that does exactly what
|
||||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||||
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||||
stat=$?
|
stat=$?
|
||||||
if test $stat -eq 0; then :
|
if test $stat -eq 0; then :
|
||||||
else
|
else
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
exit $stat
|
exit $stat
|
||||||
fi
|
fi
|
||||||
mv "$tmpdepfile" "$depfile"
|
mv "$tmpdepfile" "$depfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
gcc)
|
gcc)
|
||||||
## There are various ways to get dependency output from gcc. Here's
|
## There are various ways to get dependency output from gcc. Here's
|
||||||
## why we pick this rather obscure method:
|
## why we pick this rather obscure method:
|
||||||
## - Don't want to use -MD because we'd like the dependencies to end
|
## - Don't want to use -MD because we'd like the dependencies to end
|
||||||
## up in a subdir. Having to rename by hand is ugly.
|
## up in a subdir. Having to rename by hand is ugly.
|
||||||
## (We might end up doing this anyway to support other compilers.)
|
## (We might end up doing this anyway to support other compilers.)
|
||||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||||
## -MM, not -M (despite what the docs say).
|
## -MM, not -M (despite what the docs say).
|
||||||
## - Using -M directly means running the compiler twice (even worse
|
## - Using -M directly means running the compiler twice (even worse
|
||||||
## than renaming).
|
## than renaming).
|
||||||
if test -z "$gccflag"; then
|
if test -z "$gccflag"; then
|
||||||
gccflag=-MD,
|
gccflag=-MD,
|
||||||
fi
|
fi
|
||||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||||
stat=$?
|
stat=$?
|
||||||
if test $stat -eq 0; then :
|
if test $stat -eq 0; then :
|
||||||
else
|
else
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
exit $stat
|
exit $stat
|
||||||
fi
|
fi
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
echo "$object : \\" > "$depfile"
|
echo "$object : \\" > "$depfile"
|
||||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||||
## The second -e expression handles DOS-style file names with drive letters.
|
## The second -e expression handles DOS-style file names with drive letters.
|
||||||
sed -e 's/^[^:]*: / /' \
|
sed -e 's/^[^:]*: / /' \
|
||||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||||
## This next piece of magic avoids the `deleted header file' problem.
|
## This next piece of magic avoids the `deleted header file' problem.
|
||||||
## The problem is that when a header file which appears in a .P file
|
## The problem is that when a header file which appears in a .P file
|
||||||
## is deleted, the dependency causes make to die (because there is
|
## is deleted, the dependency causes make to die (because there is
|
||||||
## typically no way to rebuild the header). We avoid this by adding
|
## typically no way to rebuild the header). We avoid this by adding
|
||||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||||
## this for us directly.
|
## this for us directly.
|
||||||
tr ' ' '
|
tr ' ' '
|
||||||
' < "$tmpdepfile" |
|
' < "$tmpdepfile" |
|
||||||
## Some versions of gcc put a space before the `:'. On the theory
|
## Some versions of gcc put a space before the `:'. On the theory
|
||||||
## that the space means something, we add a space to the output as
|
## that the space means something, we add a space to the output as
|
||||||
## well.
|
## well.
|
||||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
## correctly. Breaking it into two sed invocations is a workaround.
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
hp)
|
hp)
|
||||||
# This case exists only to let depend.m4 do its work. It works by
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
# looking at the text of this script. This case will never be run,
|
# looking at the text of this script. This case will never be run,
|
||||||
# since it is checked for above.
|
# since it is checked for above.
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
sgi)
|
sgi)
|
||||||
if test "$libtool" = yes; then
|
if test "$libtool" = yes; then
|
||||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||||
else
|
else
|
||||||
"$@" -MDupdate "$tmpdepfile"
|
"$@" -MDupdate "$tmpdepfile"
|
||||||
fi
|
fi
|
||||||
stat=$?
|
stat=$?
|
||||||
if test $stat -eq 0; then :
|
if test $stat -eq 0; then :
|
||||||
else
|
else
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
exit $stat
|
exit $stat
|
||||||
fi
|
fi
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
|
|
||||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||||
echo "$object : \\" > "$depfile"
|
echo "$object : \\" > "$depfile"
|
||||||
|
|
||||||
# Clip off the initial element (the dependent). Don't try to be
|
# Clip off the initial element (the dependent). Don't try to be
|
||||||
# clever and replace this with sed code, as IRIX sed won't handle
|
# clever and replace this with sed code, as IRIX sed won't handle
|
||||||
# lines with more than a fixed number of characters (4096 in
|
# lines with more than a fixed number of characters (4096 in
|
||||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||||
# dependency line.
|
# dependency line.
|
||||||
tr ' ' '
|
tr ' ' '
|
||||||
' < "$tmpdepfile" \
|
' < "$tmpdepfile" \
|
||||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||||
tr '
|
tr '
|
||||||
' ' ' >> $depfile
|
' ' ' >> $depfile
|
||||||
echo >> $depfile
|
echo >> $depfile
|
||||||
|
|
||||||
# The second pass generates a dummy entry for each header file.
|
# The second pass generates a dummy entry for each header file.
|
||||||
tr ' ' '
|
tr ' ' '
|
||||||
' < "$tmpdepfile" \
|
' < "$tmpdepfile" \
|
||||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||||
>> $depfile
|
>> $depfile
|
||||||
else
|
else
|
||||||
# The sourcefile does not contain any dependencies, so just
|
# The sourcefile does not contain any dependencies, so just
|
||||||
# store a dummy comment line, to avoid errors with the Makefile
|
# store a dummy comment line, to avoid errors with the Makefile
|
||||||
# "include basename.Plo" scheme.
|
# "include basename.Plo" scheme.
|
||||||
echo "#dummy" > "$depfile"
|
echo "#dummy" > "$depfile"
|
||||||
fi
|
fi
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
aix)
|
aix)
|
||||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||||
# in a .u file. This file always lives in the current directory.
|
# in a .u file. This file always lives in the current directory.
|
||||||
# Also, the AIX compiler puts `$object:' at the start of each line;
|
# Also, the AIX compiler puts `$object:' at the start of each line;
|
||||||
# $object doesn't have directory information.
|
# $object doesn't have directory information.
|
||||||
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
|
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
|
||||||
tmpdepfile="$stripped.u"
|
tmpdepfile="$stripped.u"
|
||||||
outname="$stripped.o"
|
outname="$stripped.o"
|
||||||
if test "$libtool" = yes; then
|
if test "$libtool" = yes; then
|
||||||
"$@" -Wc,-M
|
"$@" -Wc,-M
|
||||||
else
|
else
|
||||||
"$@" -M
|
"$@" -M
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stat=$?
|
stat=$?
|
||||||
if test $stat -eq 0; then :
|
if test $stat -eq 0; then :
|
||||||
else
|
else
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
exit $stat
|
exit $stat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -f "$tmpdepfile"; then
|
if test -f "$tmpdepfile"; then
|
||||||
# Each line is of the form `foo.o: dependent.h'.
|
# Each line is of the form `foo.o: dependent.h'.
|
||||||
# Do two passes, one to just change these to
|
# Do two passes, one to just change these to
|
||||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||||
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
||||||
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
||||||
else
|
else
|
||||||
# The sourcefile does not contain any dependencies, so just
|
# The sourcefile does not contain any dependencies, so just
|
||||||
# store a dummy comment line, to avoid errors with the Makefile
|
# store a dummy comment line, to avoid errors with the Makefile
|
||||||
# "include basename.Plo" scheme.
|
# "include basename.Plo" scheme.
|
||||||
echo "#dummy" > "$depfile"
|
echo "#dummy" > "$depfile"
|
||||||
fi
|
fi
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
tru64)
|
tru64)
|
||||||
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
|
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
|
||||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||||
# dependencies in `foo.d' instead, so we check for that too.
|
# dependencies in `foo.d' instead, so we check for that too.
|
||||||
# Subdirectories are respected.
|
# Subdirectories are respected.
|
||||||
|
|
||||||
tmpdepfile1="$object.d"
|
tmpdepfile1="$object.d"
|
||||||
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
|
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
|
||||||
if test "$libtool" = yes; then
|
if test "$libtool" = yes; then
|
||||||
"$@" -Wc,-MD
|
"$@" -Wc,-MD
|
||||||
else
|
else
|
||||||
"$@" -MD
|
"$@" -MD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stat=$?
|
stat=$?
|
||||||
if test $stat -eq 0; then :
|
if test $stat -eq 0; then :
|
||||||
else
|
else
|
||||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||||
exit $stat
|
exit $stat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -f "$tmpdepfile1"; then
|
if test -f "$tmpdepfile1"; then
|
||||||
tmpdepfile="$tmpdepfile1"
|
tmpdepfile="$tmpdepfile1"
|
||||||
else
|
else
|
||||||
tmpdepfile="$tmpdepfile2"
|
tmpdepfile="$tmpdepfile2"
|
||||||
fi
|
fi
|
||||||
if test -f "$tmpdepfile"; then
|
if test -f "$tmpdepfile"; then
|
||||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||||
# That's a space and a tab in the [].
|
# That's a space and a tab in the [].
|
||||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||||
else
|
else
|
||||||
echo "#dummy" > "$depfile"
|
echo "#dummy" > "$depfile"
|
||||||
fi
|
fi
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
#nosideeffect)
|
#nosideeffect)
|
||||||
# This comment above is used by automake to tell side-effect
|
# This comment above is used by automake to tell side-effect
|
||||||
# dependency tracking mechanisms from slower ones.
|
# dependency tracking mechanisms from slower ones.
|
||||||
|
|
||||||
dashmstdout)
|
dashmstdout)
|
||||||
# Important note: in order to support this mode, a compiler *must*
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
# always write the proprocessed file to stdout, regardless of -o,
|
# always write the proprocessed file to stdout, regardless of -o,
|
||||||
# because we must use -o when running libtool.
|
# because we must use -o when running libtool.
|
||||||
test -z "$dashmflag" && dashmflag=-M
|
test -z "$dashmflag" && dashmflag=-M
|
||||||
( IFS=" "
|
( IFS=" "
|
||||||
case " $* " in
|
case " $* " in
|
||||||
*" --mode=compile "*) # this is libtool, let us make it quiet
|
*" --mode=compile "*) # this is libtool, let us make it quiet
|
||||||
for arg
|
for arg
|
||||||
do # cycle over the arguments
|
do # cycle over the arguments
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
"--mode=compile")
|
"--mode=compile")
|
||||||
# insert --quiet before "--mode=compile"
|
# insert --quiet before "--mode=compile"
|
||||||
set fnord "$@" --quiet
|
set fnord "$@" --quiet
|
||||||
shift # fnord
|
shift # fnord
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
set fnord "$@" "$arg"
|
set fnord "$@" "$arg"
|
||||||
shift # fnord
|
shift # fnord
|
||||||
shift # "$arg"
|
shift # "$arg"
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
"$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
"$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||||
) &
|
) &
|
||||||
proc=$!
|
proc=$!
|
||||||
"$@"
|
"$@"
|
||||||
stat=$?
|
stat=$?
|
||||||
wait "$proc"
|
wait "$proc"
|
||||||
if test "$stat" != 0; then exit $stat; fi
|
if test "$stat" != 0; then exit $stat; fi
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
cat < "$tmpdepfile" > "$depfile"
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
tr ' ' '
|
tr ' ' '
|
||||||
' < "$tmpdepfile" | \
|
' < "$tmpdepfile" | \
|
||||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
## correctly. Breaking it into two sed invocations is a workaround.
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
dashXmstdout)
|
dashXmstdout)
|
||||||
# This case only exists to satisfy depend.m4. It is never actually
|
# This case only exists to satisfy depend.m4. It is never actually
|
||||||
# run, as this mode is specially recognized in the preamble.
|
# run, as this mode is specially recognized in the preamble.
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
makedepend)
|
makedepend)
|
||||||
# X makedepend
|
# X makedepend
|
||||||
(
|
(
|
||||||
shift
|
shift
|
||||||
cleared=no
|
cleared=no
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
case $cleared in no)
|
case $cleared in no)
|
||||||
set ""; shift
|
set ""; shift
|
||||||
cleared=yes
|
cleared=yes
|
||||||
esac
|
esac
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
-D*|-I*)
|
-D*|-I*)
|
||||||
set fnord "$@" "$arg"; shift;;
|
set fnord "$@" "$arg"; shift;;
|
||||||
-*)
|
-*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
set fnord "$@" "$arg"; shift;;
|
set fnord "$@" "$arg"; shift;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||||
touch "$tmpdepfile"
|
touch "$tmpdepfile"
|
||||||
${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||||
) &
|
) &
|
||||||
proc=$!
|
proc=$!
|
||||||
"$@"
|
"$@"
|
||||||
stat=$?
|
stat=$?
|
||||||
wait "$proc"
|
wait "$proc"
|
||||||
if test "$stat" != 0; then exit $stat; fi
|
if test "$stat" != 0; then exit $stat; fi
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
cat < "$tmpdepfile" > "$depfile"
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
tail +3 "$tmpdepfile" | tr ' ' '
|
tail +3 "$tmpdepfile" | tr ' ' '
|
||||||
' | \
|
' | \
|
||||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
## correctly. Breaking it into two sed invocations is a workaround.
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||||
;;
|
;;
|
||||||
|
|
||||||
cpp)
|
cpp)
|
||||||
# Important note: in order to support this mode, a compiler *must*
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
# always write the proprocessed file to stdout, regardless of -o,
|
# always write the proprocessed file to stdout, regardless of -o,
|
||||||
# because we must use -o when running libtool.
|
# because we must use -o when running libtool.
|
||||||
( IFS=" "
|
( IFS=" "
|
||||||
case " $* " in
|
case " $* " in
|
||||||
*" --mode=compile "*)
|
*" --mode=compile "*)
|
||||||
for arg
|
for arg
|
||||||
do # cycle over the arguments
|
do # cycle over the arguments
|
||||||
case $arg in
|
case $arg in
|
||||||
"--mode=compile")
|
"--mode=compile")
|
||||||
# insert --quiet before "--mode=compile"
|
# insert --quiet before "--mode=compile"
|
||||||
set fnord "$@" --quiet
|
set fnord "$@" --quiet
|
||||||
shift # fnord
|
shift # fnord
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
set fnord "$@" "$arg"
|
set fnord "$@" "$arg"
|
||||||
shift # fnord
|
shift # fnord
|
||||||
shift # "$arg"
|
shift # "$arg"
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
"$@" -E |
|
"$@" -E |
|
||||||
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||||
sed '$ s: \\$::' > "$tmpdepfile"
|
sed '$ s: \\$::' > "$tmpdepfile"
|
||||||
) &
|
) &
|
||||||
proc=$!
|
proc=$!
|
||||||
"$@"
|
"$@"
|
||||||
stat=$?
|
stat=$?
|
||||||
wait "$proc"
|
wait "$proc"
|
||||||
if test "$stat" != 0; then exit $stat; fi
|
if test "$stat" != 0; then exit $stat; fi
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
echo "$object : \\" > "$depfile"
|
echo "$object : \\" > "$depfile"
|
||||||
cat < "$tmpdepfile" >> "$depfile"
|
cat < "$tmpdepfile" >> "$depfile"
|
||||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
msvisualcpp)
|
msvisualcpp)
|
||||||
# Important note: in order to support this mode, a compiler *must*
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
# always write the proprocessed file to stdout, regardless of -o,
|
# always write the proprocessed file to stdout, regardless of -o,
|
||||||
# because we must use -o when running libtool.
|
# because we must use -o when running libtool.
|
||||||
( IFS=" "
|
( IFS=" "
|
||||||
case " $* " in
|
case " $* " in
|
||||||
*" --mode=compile "*)
|
*" --mode=compile "*)
|
||||||
for arg
|
for arg
|
||||||
do # cycle over the arguments
|
do # cycle over the arguments
|
||||||
case $arg in
|
case $arg in
|
||||||
"--mode=compile")
|
"--mode=compile")
|
||||||
# insert --quiet before "--mode=compile"
|
# insert --quiet before "--mode=compile"
|
||||||
set fnord "$@" --quiet
|
set fnord "$@" --quiet
|
||||||
shift # fnord
|
shift # fnord
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
set fnord "$@" "$arg"
|
set fnord "$@" "$arg"
|
||||||
shift # fnord
|
shift # fnord
|
||||||
shift # "$arg"
|
shift # "$arg"
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
"$@" -E |
|
"$@" -E |
|
||||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||||
) &
|
) &
|
||||||
proc=$!
|
proc=$!
|
||||||
"$@"
|
"$@"
|
||||||
stat=$?
|
stat=$?
|
||||||
wait "$proc"
|
wait "$proc"
|
||||||
if test "$stat" != 0; then exit $stat; fi
|
if test "$stat" != 0; then exit $stat; fi
|
||||||
rm -f "$depfile"
|
rm -f "$depfile"
|
||||||
echo "$object : \\" > "$depfile"
|
echo "$object : \\" > "$depfile"
|
||||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||||
echo " " >> "$depfile"
|
echo " " >> "$depfile"
|
||||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||||
rm -f "$tmpdepfile"
|
rm -f "$tmpdepfile"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
none)
|
none)
|
||||||
exec "$@"
|
exec "$@"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Unknown depmode $depmode" 1>&2
|
echo "Unknown depmode $depmode" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,283 +1,284 @@
|
||||||
#! /bin/sh
|
#!/bin/bash
|
||||||
# Common stub for a few missing GNU programs while installing.
|
echo 1
|
||||||
# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
|
# Common stub for a few missing GNU programs while installing.
|
||||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
|
||||||
|
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# it under the terms of the GNU General Public License as published by
|
||||||
# any later version.
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# This program is distributed in the hope that it will be useful,
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# GNU General Public License for more details.
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program; if not, write to the Free Software
|
# You should have received a copy of the GNU General Public License
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
# along with this program; if not, write to the Free Software
|
||||||
# 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
# As a special exception to the GNU General Public License, if you
|
|
||||||
# distribute this file as part of a program that contains a
|
# As a special exception to the GNU General Public License, if you
|
||||||
# configuration script generated by Autoconf, you may include it under
|
# distribute this file as part of a program that contains a
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
if test $# -eq 0; then
|
|
||||||
echo 1>&2 "Try \`$0 --help' for more information"
|
if test $# -eq 0; then
|
||||||
exit 1
|
echo 1>&2 "Try \`$0 --help' for more information"
|
||||||
fi
|
exit 1
|
||||||
|
fi
|
||||||
run=:
|
|
||||||
|
run=:
|
||||||
# In the cases where this matters, `missing' is being run in the
|
|
||||||
# srcdir already.
|
# In the cases where this matters, `missing' is being run in the
|
||||||
if test -f configure.ac; then
|
# srcdir already.
|
||||||
configure_ac=configure.ac
|
if test -f configure.ac; then
|
||||||
else
|
configure_ac=configure.ac
|
||||||
configure_ac=configure.in
|
else
|
||||||
fi
|
configure_ac=configure.in
|
||||||
|
fi
|
||||||
case "$1" in
|
|
||||||
--run)
|
case "$1" in
|
||||||
# Try to run requested program, and just exit if it succeeds.
|
--run)
|
||||||
run=
|
# Try to run requested program, and just exit if it succeeds.
|
||||||
shift
|
run=
|
||||||
"$@" && exit 0
|
shift
|
||||||
;;
|
"$@" && exit 0
|
||||||
esac
|
;;
|
||||||
|
esac
|
||||||
# If it does not exist, or fails to run (possibly an outdated version),
|
|
||||||
# try to emulate it.
|
# If it does not exist, or fails to run (possibly an outdated version),
|
||||||
case "$1" in
|
# try to emulate it.
|
||||||
|
case "$1" in
|
||||||
-h|--h|--he|--hel|--help)
|
|
||||||
echo "\
|
-h|--h|--he|--hel|--help)
|
||||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
echo "\
|
||||||
|
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
|
||||||
error status if there is no known handling for PROGRAM.
|
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||||
|
error status if there is no known handling for PROGRAM.
|
||||||
Options:
|
|
||||||
-h, --help display this help and exit
|
Options:
|
||||||
-v, --version output version information and exit
|
-h, --help display this help and exit
|
||||||
--run try to run the given command, and emulate it if it fails
|
-v, --version output version information and exit
|
||||||
|
--run try to run the given command, and emulate it if it fails
|
||||||
Supported PROGRAM values:
|
|
||||||
aclocal touch file \`aclocal.m4'
|
Supported PROGRAM values:
|
||||||
autoconf touch file \`configure'
|
aclocal touch file \`aclocal.m4'
|
||||||
autoheader touch file \`config.h.in'
|
autoconf touch file \`configure'
|
||||||
automake touch all \`Makefile.in' files
|
autoheader touch file \`config.h.in'
|
||||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
automake touch all \`Makefile.in' files
|
||||||
flex create \`lex.yy.c', if possible, from existing .c
|
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||||
help2man touch the output file
|
flex create \`lex.yy.c', if possible, from existing .c
|
||||||
lex create \`lex.yy.c', if possible, from existing .c
|
help2man touch the output file
|
||||||
makeinfo touch the output file
|
lex create \`lex.yy.c', if possible, from existing .c
|
||||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
makeinfo touch the output file
|
||||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||||
;;
|
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
||||||
|
;;
|
||||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
|
||||||
echo "missing 0.3 - GNU automake"
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||||
;;
|
echo "missing 0.3 - GNU automake"
|
||||||
|
;;
|
||||||
-*)
|
|
||||||
echo 1>&2 "$0: Unknown \`$1' option"
|
-*)
|
||||||
echo 1>&2 "Try \`$0 --help' for more information"
|
echo 1>&2 "$0: Unknown \`$1' option"
|
||||||
exit 1
|
echo 1>&2 "Try \`$0 --help' for more information"
|
||||||
;;
|
exit 1
|
||||||
|
;;
|
||||||
aclocal)
|
|
||||||
echo 1>&2 "\
|
aclocal)
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||||
any GNU archive site."
|
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||||
touch aclocal.m4
|
any GNU archive site."
|
||||||
;;
|
touch aclocal.m4
|
||||||
|
;;
|
||||||
autoconf)
|
|
||||||
echo 1>&2 "\
|
autoconf)
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified \`${configure_ac}'. You might want to install the
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
you modified \`${configure_ac}'. You might want to install the
|
||||||
archive site."
|
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||||
touch configure
|
archive site."
|
||||||
;;
|
touch configure
|
||||||
|
;;
|
||||||
autoheader)
|
|
||||||
echo 1>&2 "\
|
autoheader)
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||||
from any GNU archive site."
|
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
from any GNU archive site."
|
||||||
test -z "$files" && files="config.h"
|
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||||
touch_files=
|
test -z "$files" && files="config.h"
|
||||||
for f in $files; do
|
touch_files=
|
||||||
case "$f" in
|
for f in $files; do
|
||||||
*:*) touch_files="$touch_files "`echo "$f" |
|
case "$f" in
|
||||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
*:*) touch_files="$touch_files "`echo "$f" |
|
||||||
*) touch_files="$touch_files $f.in";;
|
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||||
esac
|
*) touch_files="$touch_files $f.in";;
|
||||||
done
|
esac
|
||||||
touch $touch_files
|
done
|
||||||
;;
|
touch $touch_files
|
||||||
|
;;
|
||||||
automake)
|
|
||||||
echo 1>&2 "\
|
automake)
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
You might want to install the \`Automake' and \`Perl' packages.
|
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||||
Grab them from any GNU archive site."
|
You might want to install the \`Automake' and \`Perl' packages.
|
||||||
find . -type f -name Makefile.am -print |
|
Grab them from any GNU archive site."
|
||||||
sed 's/\.am$/.in/' |
|
find . -type f -name Makefile.am -print |
|
||||||
while read f; do touch "$f"; done
|
sed 's/\.am$/.in/' |
|
||||||
;;
|
while read f; do touch "$f"; done
|
||||||
|
;;
|
||||||
bison|yacc)
|
|
||||||
echo 1>&2 "\
|
bison|yacc)
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified a \`.y' file. You may need the \`Bison' package
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
in order for those modifications to take effect. You can get
|
you modified a \`.y' file. You may need the \`Bison' package
|
||||||
\`Bison' from any GNU archive site."
|
in order for those modifications to take effect. You can get
|
||||||
rm -f y.tab.c y.tab.h
|
\`Bison' from any GNU archive site."
|
||||||
if [ $# -ne 1 ]; then
|
rm -f y.tab.c y.tab.h
|
||||||
eval LASTARG="\${$#}"
|
if [ $# -ne 1 ]; then
|
||||||
case "$LASTARG" in
|
eval LASTARG="\${$#}"
|
||||||
*.y)
|
case "$LASTARG" in
|
||||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
*.y)
|
||||||
if [ -f "$SRCFILE" ]; then
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||||
cp "$SRCFILE" y.tab.c
|
if [ -f "$SRCFILE" ]; then
|
||||||
fi
|
cp "$SRCFILE" y.tab.c
|
||||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
fi
|
||||||
if [ -f "$SRCFILE" ]; then
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||||
cp "$SRCFILE" y.tab.h
|
if [ -f "$SRCFILE" ]; then
|
||||||
fi
|
cp "$SRCFILE" y.tab.h
|
||||||
;;
|
fi
|
||||||
esac
|
;;
|
||||||
fi
|
esac
|
||||||
if [ ! -f y.tab.h ]; then
|
fi
|
||||||
echo >y.tab.h
|
if [ ! -f y.tab.h ]; then
|
||||||
fi
|
echo >y.tab.h
|
||||||
if [ ! -f y.tab.c ]; then
|
fi
|
||||||
echo 'main() { return 0; }' >y.tab.c
|
if [ ! -f y.tab.c ]; then
|
||||||
fi
|
echo 'main() { return 0; }' >y.tab.c
|
||||||
;;
|
fi
|
||||||
|
;;
|
||||||
lex|flex)
|
|
||||||
echo 1>&2 "\
|
lex|flex)
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified a \`.l' file. You may need the \`Flex' package
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
in order for those modifications to take effect. You can get
|
you modified a \`.l' file. You may need the \`Flex' package
|
||||||
\`Flex' from any GNU archive site."
|
in order for those modifications to take effect. You can get
|
||||||
rm -f lex.yy.c
|
\`Flex' from any GNU archive site."
|
||||||
if [ $# -ne 1 ]; then
|
rm -f lex.yy.c
|
||||||
eval LASTARG="\${$#}"
|
if [ $# -ne 1 ]; then
|
||||||
case "$LASTARG" in
|
eval LASTARG="\${$#}"
|
||||||
*.l)
|
case "$LASTARG" in
|
||||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
*.l)
|
||||||
if [ -f "$SRCFILE" ]; then
|
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||||
cp "$SRCFILE" lex.yy.c
|
if [ -f "$SRCFILE" ]; then
|
||||||
fi
|
cp "$SRCFILE" lex.yy.c
|
||||||
;;
|
fi
|
||||||
esac
|
;;
|
||||||
fi
|
esac
|
||||||
if [ ! -f lex.yy.c ]; then
|
fi
|
||||||
echo 'main() { return 0; }' >lex.yy.c
|
if [ ! -f lex.yy.c ]; then
|
||||||
fi
|
echo 'main() { return 0; }' >lex.yy.c
|
||||||
;;
|
fi
|
||||||
|
;;
|
||||||
help2man)
|
|
||||||
echo 1>&2 "\
|
help2man)
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified a dependency of a manual page. You may need the
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
\`Help2man' package in order for those modifications to take
|
you modified a dependency of a manual page. You may need the
|
||||||
effect. You can get \`Help2man' from any GNU archive site."
|
\`Help2man' package in order for those modifications to take
|
||||||
|
effect. You can get \`Help2man' from any GNU archive site."
|
||||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
|
||||||
if test -z "$file"; then
|
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
if test -z "$file"; then
|
||||||
fi
|
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||||
if [ -f "$file" ]; then
|
fi
|
||||||
touch $file
|
if [ -f "$file" ]; then
|
||||||
else
|
touch $file
|
||||||
test -z "$file" || exec >$file
|
else
|
||||||
echo ".ab help2man is required to generate this page"
|
test -z "$file" || exec >$file
|
||||||
exit 1
|
echo ".ab help2man is required to generate this page"
|
||||||
fi
|
exit 1
|
||||||
;;
|
fi
|
||||||
|
;;
|
||||||
makeinfo)
|
|
||||||
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
makeinfo)
|
||||||
# We have makeinfo, but it failed.
|
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
||||||
exit 1
|
# We have makeinfo, but it failed.
|
||||||
fi
|
exit 1
|
||||||
|
fi
|
||||||
echo 1>&2 "\
|
|
||||||
WARNING: \`$1' is missing on your system. You should only need it if
|
echo 1>&2 "\
|
||||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
indirectly affecting the aspect of the manual. The spurious
|
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||||
call might also be the consequence of using a buggy \`make' (AIX,
|
indirectly affecting the aspect of the manual. The spurious
|
||||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
call might also be the consequence of using a buggy \`make' (AIX,
|
||||||
the \`GNU make' package. Grab either from any GNU archive site."
|
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
the \`GNU make' package. Grab either from any GNU archive site."
|
||||||
if test -z "$file"; then
|
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||||
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
if test -z "$file"; then
|
||||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||||
fi
|
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||||
touch $file
|
fi
|
||||||
;;
|
touch $file
|
||||||
|
;;
|
||||||
tar)
|
|
||||||
shift
|
tar)
|
||||||
if test -n "$run"; then
|
shift
|
||||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
if test -n "$run"; then
|
||||||
exit 1
|
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||||
fi
|
exit 1
|
||||||
|
fi
|
||||||
# We have already tried tar in the generic part.
|
|
||||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
# We have already tried tar in the generic part.
|
||||||
# messages.
|
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||||
if (gnutar --version > /dev/null 2>&1); then
|
# messages.
|
||||||
gnutar ${1+"$@"} && exit 0
|
if (gnutar --version > /dev/null 2>&1); then
|
||||||
fi
|
gnutar ${1+"$@"} && exit 0
|
||||||
if (gtar --version > /dev/null 2>&1); then
|
fi
|
||||||
gtar ${1+"$@"} && exit 0
|
if (gtar --version > /dev/null 2>&1); then
|
||||||
fi
|
gtar ${1+"$@"} && exit 0
|
||||||
firstarg="$1"
|
fi
|
||||||
if shift; then
|
firstarg="$1"
|
||||||
case "$firstarg" in
|
if shift; then
|
||||||
*o*)
|
case "$firstarg" in
|
||||||
firstarg=`echo "$firstarg" | sed s/o//`
|
*o*)
|
||||||
tar "$firstarg" ${1+"$@"} && exit 0
|
firstarg=`echo "$firstarg" | sed s/o//`
|
||||||
;;
|
tar "$firstarg" ${1+"$@"} && exit 0
|
||||||
esac
|
;;
|
||||||
case "$firstarg" in
|
esac
|
||||||
*h*)
|
case "$firstarg" in
|
||||||
firstarg=`echo "$firstarg" | sed s/h//`
|
*h*)
|
||||||
tar "$firstarg" ${1+"$@"} && exit 0
|
firstarg=`echo "$firstarg" | sed s/h//`
|
||||||
;;
|
tar "$firstarg" ${1+"$@"} && exit 0
|
||||||
esac
|
;;
|
||||||
fi
|
esac
|
||||||
|
fi
|
||||||
echo 1>&2 "\
|
|
||||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
echo 1>&2 "\
|
||||||
You may want to install GNU tar or Free paxutils, or check the
|
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||||
command line arguments."
|
You may want to install GNU tar or Free paxutils, or check the
|
||||||
exit 1
|
command line arguments."
|
||||||
;;
|
exit 1
|
||||||
|
;;
|
||||||
*)
|
|
||||||
echo 1>&2 "\
|
*)
|
||||||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
echo 1>&2 "\
|
||||||
system. You might have modified some files without having the
|
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||||
proper tools for further handling them. Check the \`README' file,
|
system. You might have modified some files without having the
|
||||||
it often tells you about the needed prerequirements for installing
|
proper tools for further handling them. Check the \`README' file,
|
||||||
this package. You may also peek at any GNU archive site, in case
|
it often tells you about the needed prerequirements for installing
|
||||||
some other package would contain this missing \`$1' program."
|
this package. You may also peek at any GNU archive site, in case
|
||||||
exit 1
|
some other package would contain this missing \`$1' program."
|
||||||
;;
|
exit 1
|
||||||
esac
|
;;
|
||||||
|
esac
|
||||||
exit 0
|
|
||||||
|
exit 0
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ../curl
|
cd ../curl
|
||||||
#recode ibmpc:lat1 *
|
#recode ibmpc:lat1 *
|
||||||
chmod u+rwx *
|
chmod u+rwx *
|
||||||
./configure --build=i686-linux --without-ssl --without-zlib --without-ca-bundle --with-gnu-ld --with-pic --disable-thread --disable-ftp --disable-file --disable-dict --disable-gopher --disable-telnet --disable-ipv6
|
./configure --build=i686-linux --without-ssl --without-zlib --without-ca-bundle --with-gnu-ld --with-pic --disable-thread --disable-ftp --disable-file --disable-dict --disable-gopher --disable-telnet --disable-ipv6
|
||||||
make clean
|
make clean
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,60 +1,60 @@
|
||||||
#
|
#
|
||||||
# Note : this makefile is for gcc-2.95 and later !
|
# Note : this makefile is for gcc-2.95 and later !
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# compiler
|
# compiler
|
||||||
#
|
#
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = c++ -pthread -fexceptions
|
CXX = c++ -pthread -fexceptions
|
||||||
|
|
||||||
#
|
#
|
||||||
# Basename for libraries
|
# Basename for libraries
|
||||||
#
|
#
|
||||||
LIB_BASENAME = libstlport_gcc
|
LIB_BASENAME = libstlport_gcc
|
||||||
|
|
||||||
#
|
#
|
||||||
# guts for common stuff
|
# guts for common stuff
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
LINK=ar cr
|
LINK=ar cr
|
||||||
# 2.95 flag
|
# 2.95 flag
|
||||||
DYN_LINK=c++ -pthread -fexceptions -shared -o
|
DYN_LINK=c++ -pthread -fexceptions -shared -o
|
||||||
|
|
||||||
OBJEXT=o
|
OBJEXT=o
|
||||||
DYNEXT=so
|
DYNEXT=so
|
||||||
STEXT=a
|
STEXT=a
|
||||||
RM=rm -rf
|
RM=rm -rf
|
||||||
PATH_SEP=/
|
PATH_SEP=/
|
||||||
MKDIR=mkdir -p
|
MKDIR=mkdir -p
|
||||||
COMP=GCC$(ARCH)
|
COMP=GCC$(ARCH)
|
||||||
INSTALL_STEP = install_unix
|
INSTALL_STEP = install_unix
|
||||||
|
|
||||||
all: all_dynamic all_static symbolic_links
|
all: all_dynamic all_static symbolic_links
|
||||||
|
|
||||||
include common_macros.mak
|
include common_macros.mak
|
||||||
|
|
||||||
WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -frtti
|
WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32 -frtti
|
||||||
|
|
||||||
CXXFLAGS_COMMON = -I${STLPORT_DIR} ${WARNING_FLAGS} -D_STLP_USE_GLIBC
|
CXXFLAGS_COMMON = -I${STLPORT_DIR} ${WARNING_FLAGS} -D_STLP_USE_GLIBC
|
||||||
|
|
||||||
CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2
|
CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2
|
||||||
CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
|
CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
|
||||||
|
|
||||||
CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -O -g
|
CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -O -g
|
||||||
CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -O -g -fPIC
|
CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -O -g -fPIC
|
||||||
|
|
||||||
CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
|
CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
|
||||||
CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
|
CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
|
||||||
|
|
||||||
include common_percent_rules.mak
|
include common_percent_rules.mak
|
||||||
include common_rules.mak
|
include common_rules.mak
|
||||||
|
|
||||||
|
|
||||||
#install: all
|
#install: all
|
||||||
# cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
|
# cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
|
||||||
|
|
||||||
#%.s: %.cpp
|
#%.s: %.cpp
|
||||||
# $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
|
# $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue