Changeset View
Changeset View
Standalone View
Standalone View
lib/libsysdecode/Makefile
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | |||||
# Workaround duplicate declarations in <netinet/ip_compat.h> | # Workaround duplicate declarations in <netinet/ip_compat.h> | ||||
CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls | CFLAGS.gcc.ioctl.c+= -Wno-redundant-decls | ||||
CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}} | CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}} | ||||
DEPENDOBJS+= tables.h | DEPENDOBJS+= tables.h | ||||
tables.h: mktables | tables.h: mktables | ||||
sh ${.CURDIR}/mktables ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} ${.TARGET} | sh ${.CURDIR}/mktables ${MACHINE} ${SRCTOP}/sys ${.TARGET} | ||||
# mkioctls runs find(1) for headers so needs to rebuild every time. This used | # mkioctls runs find(1) for headers so needs to rebuild every time. This used | ||||
# to be a hack only done in buildworld. | # to be a hack only done in buildworld. | ||||
.if !defined(_SKIP_BUILD) | .if !defined(_SKIP_BUILD) | ||||
ioctl.c.tmp: .PHONY | ioctl.c.tmp: .PHONY | ||||
.endif | .endif | ||||
ioctl.c.tmp: mkioctls .META | ioctl.c.tmp: mkioctls .META | ||||
env CPP="${CPP}" MK_PF="${MK_PF}" \ | env CPP="${CPP}" MK_PF="${MK_PF}" \ | ||||
Show All 13 Lines |