r8812 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r8811‎ | r8812 | r8813 >
Date:19:24, 2 May 2005
Author:kateturner
Status:old
Tags:
Comment:
add missing files
Modified paths:
  • /trunk/willow/acinclude.m4 (added) (history)
  • /trunk/willow/mk/Makefile.in (added) (history)
  • /trunk/willow/mk/lib.mk.in (added) (history)
  • /trunk/willow/src/whttp.h (deleted) (history)

Diff [purge]

Index: trunk/willow/acinclude.m4
@@ -0,0 +1,51 @@
 2+# @(#) $Header$
 3+
 4+# Check to see how 'make' treats includes. -*- Autoconf -*-
 5+
 6+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
 7+#
 8+# This file is free software; the Free Software Foundation
 9+# gives unlimited permission to copy and/or distribute it,
 10+# with or without modifications, as long as this notice is preserved.
 11+
 12+# serial 3
 13+
 14+AC_DEFUN([AC_MAKE_INCLUDE],
 15+[am_make=${MAKE-make}
 16+cat > confinc << 'END'
 17+am__doit:
 18+ @echo done
 19+.PHONY: am__doit
 20+END
 21+# If we don't find an include directive, just comment out the code.
 22+AC_MSG_CHECKING([for style of include used by $am_make])
 23+am__include="#"
 24+am__quote=
 25+_am_result=none
 26+# First try SysV make style include.
 27+echo "include confinc" > confmf
 28+# We grep out `Entering directory' and `Leaving directory'
 29+# messages which can occur if `w' ends up in MAKEFLAGS.
 30+# In particular we don't look at `^make:' because GNU make might
 31+# be invoked under some other name (usually "gmake"), in which
 32+# case it prints its new name instead of `make'.
 33+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 34+ include=include
 35+ q=
 36+ _am_result=SysV
 37+fi
 38+# Now try BSD make style include.
 39+if test "$am__include" = "#"; then
 40+ echo '.include "confinc"' > confmf
 41+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 42+ include=.include
 43+ q="\""
 44+ _am_result=BSD
 45+ fi
 46+fi
 47+AC_SUBST([include])
 48+AC_SUBST([q])
 49+AC_MSG_RESULT([$_am_result])
 50+rm -f confinc confmf
 51+])
 52+
Property changes on: trunk/willow/acinclude.m4
___________________________________________________________________
Added: svn:eol-style
153 + native
Added: svn:keywords
254 + Author Date Id Revision
Index: trunk/willow/mk/lib.mk.in
@@ -0,0 +1,39 @@
 2+# @(#) $Header$
 3+#
 4+# Build a program.
 5+
 6+@include@ @q@@abs_top_srcdir@/mk/vars.mk@q@
 7+@include@ @q@@abs_top_srcdir@/mk/rules.mk@q@
 8+
 9+default: all
 10+
 11+_LIB=lib$(LIB).a
 12+
 13+all: $(_LIB)
 14+
 15+OBJS=$(SRCS:.c=.o) $(OBJADD)
 16+
 17+$(_LIB): $(OBJS)
 18+ @echo " $(_AR) cru $@ $(OBJS)"
 19+ @$(_AR) cru $@ $(OBJS)
 20+
 21+clean:
 22+ @echo " $(_RMF) $(_LIB) $(OBJS)
 23+ @$(_RMF) $(_LIB) $(OBJS)
 24+
 25+install:
 26+ @echo " $(_MKDIR) $(_LIBDIR)"
 27+ @$(_MKDIR) $(_LIBDIR)
 28+ @echo " $(_INSTALLPROG) $(_LIB) $(_LIBDIR)"
 29+ @$(_INSTALLPROG) $(_LIB) $(_LIBDIR)
 30+
 31+# this only works with Solaris lint... may be worth checking for lint type in configure.
 32+lint:
 33+ lint -Ncheck=%all -erroff=E_INCL_MNUSD,E_INCL_NUSD,E_UNCAL_F,E_H_C_CHECK0,E_H_C_CHECK1 \
 34+ -errhdr -errsecurity=extended -errtags \
 35+ -u -Xc99=all -Nlevel=4 -errfmt=src $(_LDFLAGS) $(LDFLAGS) $(CPPFLAGS) $(_CPPFLAGS) -I @top_srcdir@ $(SRCS)
 36+
 37+_MYDISTFILES=$(SRCS) $(EXTRA_DIST)
 38+_extradist:
 39+
 40+@include@ @q@@abs_top_srcdir@/mk/depend.@dependstyle@.mk@q@
Property changes on: trunk/willow/mk/lib.mk.in
___________________________________________________________________
Added: svn:eol-style
141 + native
Added: svn:keywords
242 + Author Date Id Revision
Index: trunk/willow/mk/Makefile.in
@@ -0,0 +1,9 @@
 2+# @(#) $Header$
 3+
 4+@include@ @q@@top_srcdir@/mk/rules.mk@q@
 5+
 6+all depend clean lint install:
 7+
 8+_extradist:
 9+_MYDISTFILES=data.mk.in depend.dashM.mk.in depend.makedepend.mk.in depend.null.mk.in \
 10+ prog.mk.in rules.mk.in subdir.mk.in vars.mk.in Makefile.in
Property changes on: trunk/willow/mk/Makefile.in
___________________________________________________________________
Added: svn:eol-style
111 + native
Added: svn:keywords
212 + Author Date Id Revision
Index: trunk/willow/src/whttp.h
@@ -1,28 +0,0 @@
2 -/* @(#) $Header$ */
3 -/* This source code is in the public domain. */
4 -/*
5 - * Willow: Lightweight HTTP reverse-proxy.
6 - * whttp: HTTP implementation.
7 - */
8 -
9 -#ifndef WHTTP_H
10 -#define WHTTP_H
11 -
12 -#if defined __SUNPRO_C || defined __DECC || defined __HP_cc
13 -# pragma ident "@(#)$Header$"
14 -#endif
15 -
16 -struct fde;
17 -
18 -void http_new(struct fde *);
19 -void whttp_init(void);
20 -void whttp_shutdown(void);
21 -
22 -extern const char *request_string[];
23 -
24 -extern struct request_type {
25 - const char *name;
26 - int len;
27 - int type;
28 -} supported_reqtypes[];
29 -#endif

Status & tagging log