Skip to content

Commit

Permalink
Misc fixes from projects/bmake
Browse files Browse the repository at this point in the history
Differential Revision:       D2748
Reviewed by: brooks imp
  • Loading branch information
sgerraty committed Jun 11, 2015
1 parent ab21b9a commit bd831db
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 9 deletions.
12 changes: 8 additions & 4 deletions gnu/lib/libreadline/readline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
CFLAGS+= -I${.OBJDIR}/..
SRCDIR= ${.CURDIR}/../../../../contrib/libreadline

.NOPATH: ${INSTALLED_HEADERS}

beforebuild: ${INSTALLED_HEADERS}
CLEANFILES+= ${INSTALLED_HEADERS}
DPSRCS+= ${INSTALLED_HEADERS}

.for _h in ${INSTALLED_HEADERS}
CLEANFILES+= ${_h}
DPSRCS+= ${.OBJDIR}/${_h}
${.OBJDIR}/${_h}: ${SRCDIR}/${_h}
${INSTALL} ${.ALLSRC} ${.TARGET}
${_h}: ${SRCDIR}/${_h}
ln -sf ${.ALLSRC} ${.TARGET}
.endfor

LIBADD= ncursesw
Expand Down
3 changes: 3 additions & 0 deletions gnu/usr.bin/cc/cc_tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ tconfig.h:

GENSRCS+= tconfig.h
CLEANFILES+= cs-tconfig.h

.NOPATH: ${GENSRCS} ${CLEANFILES}

# Options
optionlist: ${OPT_FILES}
LC_ALL=C awk -f ${GCCDIR}/opt-gather.awk ${.ALLSRC} > ${.TARGET}
Expand Down
1 change: 1 addition & 0 deletions gnu/usr.bin/groff/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' $(GROFF_DIST)/REVISION`

.sh .pl:
@${ECHO} Making ${.TARGET} from ${.IMPSRC}
@rm -f ${.TARGET}
@sed -e "s|@BINDIR@|${BINDIR}|g" \
-e 's|@GROFF_BIN_PATH_SETUP@|GROFF_RUNTIME="$${GROFF_BIN_PATH=${BINDIR}}:"|g' \
-e "s;@FONTDIR@;$(fontdir);g" \
Expand Down
2 changes: 1 addition & 1 deletion include/mk-osreldate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ $COPYRIGHT
#endif
EOF
chmod 644 $tmpfile
mv $tmpfile osreldate.h
mv -f $tmpfile osreldate.h
2 changes: 1 addition & 1 deletion kerberos5/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ETSRCS= \
.for ET in ${ETSRCS}
.for _ET in ${ET:T:R}
.if ${SRCS:M${_ET}.[ch]} != ""
.ORDER: ${_ET}.c ${_ET}.h
.ORDER: ${_ET}.h ${_ET}.c
${_ET}.c ${_ET}.h: ${ET}
compile_et ${.ALLSRC}
CLEANFILES+= ${_ET}.h ${_ET}.c
Expand Down
3 changes: 2 additions & 1 deletion kerberos5/lib/libheimipcc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ SRCS= \

CFLAGS+= -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/base \
-I${KRB5DIR}/lib/ipc
-I${KRB5DIR}/lib/ipc \
-I${KRB5DIR}/include

.include <bsd.lib.mk>

Expand Down
2 changes: 2 additions & 0 deletions lib/msun/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ CFLAGS+= -I${.CURDIR}/ld80
CFLAGS+= -I${.CURDIR}/ld128
.endif

CFLAGS+= -I${.CURDIR}/${ARCH_SUBDIR}

.PATH: ${.CURDIR}/bsdsrc
.PATH: ${.CURDIR}/src
.PATH: ${.CURDIR}/man
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/pjdfstest/pjdfstest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BINDIR= ${TESTSBASE}/sys/pjdfstest
PROG= pjdfstest
MAN=

CFLAGS= -D__OS_FreeBSD__ -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_FCHFLAGS
CFLAGS+= -D__OS_FreeBSD__ -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_FCHFLAGS
CFLAGS+= -DHAS_CHFLAGSAT -DHAS_LCHFLAGS -DHAS_FREEBSD_ACL -DHAS_BINDAT
CFLAGS+= -DHAS_CONNECTAT

Expand Down
2 changes: 1 addition & 1 deletion usr.bin/kdump/mkioctls
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ case "${MACHINE}" in
esac

awk -v x="$ioctl_includes" 'BEGIN {print x}' |
$CPP -I$1 -dM -DCOMPAT_43TTY - |
$CPP -nostdinc -I$1 -dM -DCOMPAT_43TTY - |
awk -v ioctl_includes="$ioctl_includes" -v style="$style" '
BEGIN {
print "/* XXX obnoxious prerequisites. */"
Expand Down

0 comments on commit bd831db

Please sign in to comment.