Deleted Added
full compact
Makefile (50476) Makefile (55955)
1# $FreeBSD: head/lib/libfetch/Makefile 50476 1999-08-28 00:22:10Z peter $
1# $FreeBSD: head/lib/libfetch/Makefile 55955 2000-01-14 07:57:47Z rgrimes $
2
3MAINTAINER= des@freebsd.org
4LIB= fetch
5CFLAGS+= -I. -Wall -pedantic
6.if !defined(DEBUG)
7CFLAGS+= -DNDEBUG
8.endif
9SRCS= fetch.c common.c ftp.c http.c file.c fetch_err.c \
10 fetch_err.h ftperr.h httperr.h
2
3MAINTAINER= des@freebsd.org
4LIB= fetch
5CFLAGS+= -I. -Wall -pedantic
6.if !defined(DEBUG)
7CFLAGS+= -DNDEBUG
8.endif
9SRCS= fetch.c common.c ftp.c http.c file.c fetch_err.c \
10 fetch_err.h ftperr.h httperr.h
11INCS= fetch.h ${.OBJDIR}/fetch_err.h
11MAN3= fetch.3
12CLEANFILES= fetch_err.c fetch_err.h ftperr.h httperr.h
13
14SHLIB_MAJOR= 1
15SHLIB_MINOR= 0
16
12MAN3= fetch.3
13CLEANFILES= fetch_err.c fetch_err.h ftperr.h httperr.h
14
15SHLIB_MAJOR= 1
16SHLIB_MINOR= 0
17
17beforeinstall:
18 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/fetch.h \
19 ${DESTDIR}/usr/include
20 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 fetch_err.h \
21 ${DESTDIR}/usr/include
22
23ftperr.h: ftp.errors
24 @echo "static struct fetcherr _ftp_errlist[] = {" > ${.TARGET}
25 @cat ${.ALLSRC} \
26 | grep -v ^# \
27 | sort \
28 | while read NUM CAT STRING; do \
29 echo " { $${NUM}, FETCH_$${CAT}, \"$${STRING}\" },"; \
30 done >> ${.TARGET}

--- 21 unchanged lines hidden ---
18ftperr.h: ftp.errors
19 @echo "static struct fetcherr _ftp_errlist[] = {" > ${.TARGET}
20 @cat ${.ALLSRC} \
21 | grep -v ^# \
22 | sort \
23 | while read NUM CAT STRING; do \
24 echo " { $${NUM}, FETCH_$${CAT}, \"$${STRING}\" },"; \
25 done >> ${.TARGET}

--- 21 unchanged lines hidden ---