diff --git a/app/xterm/Makefile b/app/xterm/Makefile index 862ae8e85..4316eed04 100644 --- a/app/xterm/Makefile +++ b/app/xterm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.31 2016/11/03 14:25:06 matthieu Exp $ +# $OpenBSD: Makefile,v 1.32 2017/06/18 21:09:07 espie Exp $ .include SUBDIR= icons resize @@ -55,6 +55,7 @@ builtin_icons.h : awk '/^CASE_/{printf "#define %s %d\n", $$1, n++}' < $< >$@ beforedepend: builtin_icons.h VTparse.hin +BUILDFIRST = builtin_icons.h VTparse.hin .SUFFIXES: .man .1 diff --git a/lib/fontconfig/Makefile b/lib/fontconfig/Makefile index 43aee3dfe..74739b330 100644 --- a/lib/fontconfig/Makefile +++ b/lib/fontconfig/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2015/04/05 16:05:34 matthieu Exp $ +# $OpenBSD: Makefile,v 1.5 2017/06/18 21:09:07 espie Exp $ FONTCONFIG = ${.CURDIR}/../../dist/fontconfig FC_DEFAULT_FONTS = ${X11BASE}/lib/X11/fonts @@ -6,7 +6,14 @@ FC_FONTPATH = "/usr/local/share/fonts" CONFIGDIR = conf.d FC_CACHEDIR = /var/cache/fontconfig -SUBDIR = fc-case fc-lang fc-glyphname src \ +# Respect order: +SUBDIR = fc-case + +# fc-lang depends on fc-case +SUBDIR += fc-lang fc-glyphname + +# src requires fc-case fc-lang and fc-glyphname +SUBDIR += src \ fc-cache fc-cat fc-list fc-match fc-pattern fc-query \ fc-scan fc-validate conf.d pc doc diff --git a/lib/fontconfig/fc-case/Makefile b/lib/fontconfig/fc-case/Makefile index 0582887d5..3fc366dc4 100644 --- a/lib/fontconfig/fc-case/Makefile +++ b/lib/fontconfig/fc-case/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.1 2013/03/09 14:34:44 matthieu Exp $ +# $OpenBSD: Makefile,v 1.2 2017/06/18 21:09:07 espie Exp $ FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig PROG= fc-case afterdepend: fccase.h +all: fccase.h fccase.h: ${PROG} ./${PROG} ${FONTCONFIG}/fc-case/CaseFolding.txt \ diff --git a/lib/fontconfig/fc-glyphname/Makefile b/lib/fontconfig/fc-glyphname/Makefile index 6c429d7c0..18210c092 100644 --- a/lib/fontconfig/fc-glyphname/Makefile +++ b/lib/fontconfig/fc-glyphname/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.1 2013/03/09 14:34:44 matthieu Exp $ +# $OpenBSD: Makefile,v 1.2 2017/06/18 21:09:07 espie Exp $ FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig PROG= fc-glyphname afterdepend: fcglyphname.h +all: fcglyphname.h fcglyphname.h: ${PROG} ./${PROG} ${FONTCONFIG}/fc-glyphname/zapfdingbats.txt \ diff --git a/lib/fontconfig/fc-lang/Makefile b/lib/fontconfig/fc-lang/Makefile index 31ea2de08..ec96d891a 100644 --- a/lib/fontconfig/fc-lang/Makefile +++ b/lib/fontconfig/fc-lang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2013/03/09 14:34:44 matthieu Exp $ +# $OpenBSD: Makefile,v 1.2 2017/06/18 21:09:07 espie Exp $ FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig @@ -7,6 +7,7 @@ PROG= fc-lang CFLAGS+= -I../fc-case afterdepend: fclang.h +all: fclang.h fclang.h: ${PROG} ./${PROG} -d ${FONTCONFIG}/fc-lang ${ORTH} \ diff --git a/lib/fontconfig/src/Makefile b/lib/fontconfig/src/Makefile index ba0e7c07c..faaca164b 100644 --- a/lib/fontconfig/src/Makefile +++ b/lib/fontconfig/src/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2016/08/09 18:57:45 matthieu Exp $ +# $OpenBSD: Makefile,v 1.9 2017/06/18 21:09:07 espie Exp $ .include @@ -68,6 +68,7 @@ fcobjshash.h: fcobjshash.gperf .endif beforedepend: fcalias.h fcftalias.h fcobjshash.h lib${LIB}.la +BUILDFIRST = fcalias.h fcftalias.h fcobjshash.h lib${LIB}.la lib${LIB}.la: ${.CURDIR}/lib${LIB}.la.in sed -e 's#@libdir@#${LIBDIR}#g' \ diff --git a/lib/freetype/Makefile b/lib/freetype/Makefile index a4b297dae..122025b8e 100644 --- a/lib/freetype/Makefile +++ b/lib/freetype/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.47 2017/01/13 11:19:58 dcoppa Exp $ +# $OpenBSD: Makefile,v 1.48 2017/06/18 21:09:07 espie Exp $ FREETYPESRC= ${.CURDIR}/src @@ -30,6 +30,7 @@ CLEANFILES+= freetype-config freetype2.pc obj: _xenocara_obj beforedepend: freetype-config freetype2.pc +BUILDFIRST = freetype-config freetype2.pc beforeinstall: cd ${.CURDIR} ; exec ${MAKE} ${MAKE_FLAGS} includes