Makefile (60737) | Makefile (60924) |
---|---|
1# $FreeBSD: head/lib/libfetch/Makefile 60737 2000-05-20 18:23:51Z ume $ | 1# $FreeBSD: head/lib/libfetch/Makefile 60924 2000-05-25 16:24:31Z des $ |
2 3MAINTAINER= des@freebsd.org 4LIB= fetch 5CFLAGS+= -I. -Wall -pedantic 6CFLAGS+= -DINET6 7.if !defined(DEBUG) 8CFLAGS+= -DNDEBUG 9.endif | 2 3MAINTAINER= des@freebsd.org 4LIB= fetch 5CFLAGS+= -I. -Wall -pedantic 6CFLAGS+= -DINET6 7.if !defined(DEBUG) 8CFLAGS+= -DNDEBUG 9.endif |
10SRCS= fetch.c common.c ftp.c http.c file.c fetch_err.c \ 11 fetch_err.h ftperr.h httperr.h 12INCS= fetch.h ${.OBJDIR}/fetch_err.h | 10SRCS= fetch.c common.c ftp.c http.c file.c \ 11 ftperr.h httperr.h 12INCS= fetch.h |
13MAN3= fetch.3 | 13MAN3= fetch.3 |
14CLEANFILES= fetch_err.c fetch_err.h ftperr.h httperr.h | 14CLEANFILES= ftperr.h httperr.h |
15 16SHLIB_MAJOR= 2 17SHLIB_MINOR= 0 18 19ftperr.h: ftp.errors 20 @echo "static struct fetcherr _ftp_errlist[] = {" > ${.TARGET} 21 @cat ${.ALLSRC} \ 22 | grep -v ^# \ --- 10 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 | 15 16SHLIB_MAJOR= 2 17SHLIB_MINOR= 0 18 19ftperr.h: ftp.errors 20 @echo "static struct fetcherr _ftp_errlist[] = {" > ${.TARGET} 21 @cat ${.ALLSRC} \ 22 | grep -v ^# \ --- 10 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 |
41hdrs: fetch_err.h 42 43.ORDER: fetch_err.c fetch_err.h 44fetch_err.c fetch_err.h: fetch_err.et 45 compile_et ${.ALLSRC} 46 | |
47.include <bsd.lib.mk> | 41.include <bsd.lib.mk> |