1# $FreeBSD: head/gnu/usr.bin/dtc/Makefile 208536 2010-05-25 13:27:55Z raj $
| 1# $FreeBSD: head/gnu/usr.bin/dtc/Makefile 210101 2010-07-15 02:22:50Z marcel $
|
2 3.include <bsd.own.mk> 4 5DTCDIR= ${.CURDIR}/../../../contrib/dtc 6LIBFDTDIR= ${.CURDIR}/../../../sys/contrib/libfdt 7.PATH: ${DTCDIR} ${LIBFDTDIR} 8 9PROG= dtc 10 11SRCS= dtc.c checks.c fstree.c livetree.c treesource.c data.c \ 12 flattree.c srcpos.c util.c \ 13 fdt.c fdt_ro.c fdt_rw.c fdt_strerror.c \ 14 fdt_sw.c fdt_wip.c ${DTCVERSIONFILE} 15
| 2 3.include <bsd.own.mk> 4 5DTCDIR= ${.CURDIR}/../../../contrib/dtc 6LIBFDTDIR= ${.CURDIR}/../../../sys/contrib/libfdt 7.PATH: ${DTCDIR} ${LIBFDTDIR} 8 9PROG= dtc 10 11SRCS= dtc.c checks.c fstree.c livetree.c treesource.c data.c \ 12 flattree.c srcpos.c util.c \ 13 fdt.c fdt_ro.c fdt_rw.c fdt_strerror.c \ 14 fdt_sw.c fdt_wip.c ${DTCVERSIONFILE} 15
|
16CFLAGS = -Wall -g -Os -fPIC -Wpointer-arith -Wcast-qual
| 16WARNS?= 2
|
17CFLAGS+= -I. -I${.CURDIR} -I${DTCDIR} -I${LIBFDTDIR} 18 19VERSIONMAJ!= awk '/^VERSION =/ { print $$3 }' ${DTCDIR}/Makefile 20VERSIONMIN!= awk '/^PATCHLEVEL =/ { print $$3 }' ${DTCDIR}/Makefile 21VERSIONSUB!= awk '/^SUBLEVEL =/ { print $$3 }' ${DTCDIR}/Makefile 22VERSIONEXTRA= 23 24DTCVERSION:= ${VERSIONMAJ}.${VERSIONMIN}.${VERSIONSUB}${VERSIONEXTRA}
--- 27 unchanged lines hidden --- | 17CFLAGS+= -I. -I${.CURDIR} -I${DTCDIR} -I${LIBFDTDIR} 18 19VERSIONMAJ!= awk '/^VERSION =/ { print $$3 }' ${DTCDIR}/Makefile 20VERSIONMIN!= awk '/^PATCHLEVEL =/ { print $$3 }' ${DTCDIR}/Makefile 21VERSIONSUB!= awk '/^SUBLEVEL =/ { print $$3 }' ${DTCDIR}/Makefile 22VERSIONEXTRA= 23 24DTCVERSION:= ${VERSIONMAJ}.${VERSIONMIN}.${VERSIONSUB}${VERSIONEXTRA}
--- 27 unchanged lines hidden --- |