Makefile (77239) | Makefile (85093) |
---|---|
1# $FreeBSD: head/lib/libfetch/Makefile 77239 2001-05-26 19:37:26Z des $ | 1# $FreeBSD: head/lib/libfetch/Makefile 85093 2001-10-18 08:29:26Z des $ |
2 3MAINTAINER= des@freebsd.org 4LIB= fetch | 2 3MAINTAINER= des@freebsd.org 4LIB= fetch |
5CFLAGS+= -I. -Wall -pedantic | 5WARNS?= 2 6CFLAGS+= -I. |
6CFLAGS+= -DINET6 7.if !defined(DEBUG) 8CFLAGS+= -DNDEBUG 9.endif 10SRCS= fetch.c common.c ftp.c http.c file.c \ 11 ftperr.h httperr.h 12INCS= fetch.h 13MAN= fetch.3 --- 19 unchanged lines hidden (view full) --- 33 | grep -v ^# \ 34 | sort \ 35 | while read NUM CAT STRING; do \ 36 echo " { $${NUM}, FETCH_$${CAT}, \"$${STRING}\" },"; \ 37 done >> ${.TARGET} 38 @echo " { -1, FETCH_UNKNOWN, \"Unknown HTTP error\" }" >> ${.TARGET} 39 @echo "};" >> ${.TARGET} 40 | 7CFLAGS+= -DINET6 8.if !defined(DEBUG) 9CFLAGS+= -DNDEBUG 10.endif 11SRCS= fetch.c common.c ftp.c http.c file.c \ 12 ftperr.h httperr.h 13INCS= fetch.h 14MAN= fetch.3 --- 19 unchanged lines hidden (view full) --- 34 | grep -v ^# \ 35 | sort \ 36 | while read NUM CAT STRING; do \ 37 echo " { $${NUM}, FETCH_$${CAT}, \"$${STRING}\" },"; \ 38 done >> ${.TARGET} 39 @echo " { -1, FETCH_UNKNOWN, \"Unknown HTTP error\" }" >> ${.TARGET} 40 @echo "};" >> ${.TARGET} 41 |
41.for MP in fetchFreeURL fetchGet fetchGetFTP fetchGetFile fetchGetHTTP \ 42fetchGetURL fetchList fetchListFTP fetchListFile fetchListHTTP fetchListURL \ 43fetchMakeURL fetchParseURL fetchPut fetchPutFTP fetchPutFile fetchPutHTTP \ 44fetchPutURL fetchStat fetchStatFTP fetchStatFile fetchStatHTTP fetchStatURL \ 45fetchXGet fetchXGetFTP fetchXGetFile fetchXGetHTTP fetchXGetURL 46MLINKS+= fetch.3 ${MP}.3 47.endfor | 42MLINKS+= fetch.3 fetchFreeURL.3 43MLINKS+= fetch.3 fetchGet.3 44MLINKS+= fetch.3 fetchGetFTP.3 45MLINKS+= fetch.3 fetchGetFile.3 46MLINKS+= fetch.3 fetchGetHTTP.3 47MLINKS+= fetch.3 fetchGetURL.3 48MLINKS+= fetch.3 fetchList.3 49MLINKS+= fetch.3 fetchListFTP.3 50MLINKS+= fetch.3 fetchListFile.3 51MLINKS+= fetch.3 fetchListHTTP.3 52MLINKS+= fetch.3 fetchListURL.3 53MLINKS+= fetch.3 fetchMakeURL.3 54MLINKS+= fetch.3 fetchParseURL.3 55MLINKS+= fetch.3 fetchPut.3 56MLINKS+= fetch.3 fetchPutFTP.3 57MLINKS+= fetch.3 fetchPutFile.3 58MLINKS+= fetch.3 fetchPutHTTP.3 59MLINKS+= fetch.3 fetchPutURL.3 60MLINKS+= fetch.3 fetchStat.3 61MLINKS+= fetch.3 fetchStatFTP.3 62MLINKS+= fetch.3 fetchStatFile.3 63MLINKS+= fetch.3 fetchStatHTTP.3 64MLINKS+= fetch.3 fetchStatURL.3 65MLINKS+= fetch.3 fetchXGet.3 66MLINKS+= fetch.3 fetchXGetFTP.3 67MLINKS+= fetch.3 fetchXGetFile.3 68MLINKS+= fetch.3 fetchXGetHTTP.3 69MLINKS+= fetch.3 fetchXGetURL.3 |
48 49.include <bsd.lib.mk> | 70 71.include <bsd.lib.mk> |