Loading...
--- Libc/Libc-763.13/net/Makefile.inc
+++ Libc/Libc-498/net/Makefile.inc
@@ -1,18 +1,21 @@
# from @(#)Makefile.inc 8.2 (Berkeley) 9/5/93
# $FreeBSD: src/lib/libc/net/Makefile.inc,v 1.43 2001/10/23 06:22:14 imp Exp $
+.ifnmake autopatch
# machine-dependent net sources
-.sinclude "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc"
+.if exists(${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc)
+.include "${.CURDIR}/${MACHINE_ARCH}/net/Makefile.inc"
+.endif
+.endif # !autopatch
# machine-independent net sources
.PATH: ${.CURDIR}/${MACHINE_ARCH}/net ${.CURDIR}/net
-CWD := ${.CURDIR}/net
.include "Makefile.fbsd_begin"
FBSDMISRCS= addr2ascii.c ascii2addr.c inet_addr.c inet_lnaof.c \
inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c \
inet_netof.c inet_network.c inet_ntoa.c linkaddr.c nsap_addr.c \
- recv.c send.c sockatmark.c sourcefilter.c
+ recv.c send.c sockatmark.c
.include "Makefile.fbsd_end"
LEGACYSRCS+= recv.c send.c
@@ -26,7 +29,7 @@
.if ${LIB} == "c"
MAN3+= byteorder.3 ethers.3 rcmdsh.3
.include "Makefile.fbsd_begin"
-FBSDMAN3= addr2ascii.3 inet.3 inet_net.3 linkaddr.3 sockatmark.3 sourcefilter.3
+FBSDMAN3= addr2ascii.3 inet.3 inet_net.3 linkaddr.3 sockatmark.3
.include "Makefile.fbsd_end"
MLINKS+= addr2ascii.3 ascii2addr.3
@@ -60,10 +63,4 @@
MLINKS+= linkaddr.3 link_addr.3 \
linkaddr.3 link_ntoa.3
-
-MLINKS+= sourcefilter.3 getsourcefilter.3 \
- sourcefilter.3 getipv4sourcefilter.3 \
- sourcefilter.3 setsourcefilter.3 \
- sourcefilter.3 setipv4sourcefilter.3
-
.endif