Makefile (321653) | Makefile (331246) |
---|---|
1# $Id: Makefile,v 1.95 2017/07/20 19:36:13 sjg Exp $ | 1# $Id: Makefile,v 1.99 2017/08/13 20:12:53 sjg Exp $ |
2 | 2 |
3# Base version on src date 4_MAKE_VERSION= 20170720 5 | |
6PROG= bmake 7 8SRCS= \ 9 arch.c \ 10 buf.c \ 11 compat.c \ 12 cond.c \ 13 dir.c \ --- 39 unchanged lines hidden (view full) --- 53 lstMember.c \ 54 lstNext.c \ 55 lstOpen.c \ 56 lstPrev.c \ 57 lstRemove.c \ 58 lstReplace.c \ 59 lstSucc.c 60 | 3PROG= bmake 4 5SRCS= \ 6 arch.c \ 7 buf.c \ 8 compat.c \ 9 cond.c \ 10 dir.c \ --- 39 unchanged lines hidden (view full) --- 50 lstMember.c \ 51 lstNext.c \ 52 lstOpen.c \ 53 lstPrev.c \ 54 lstRemove.c \ 55 lstReplace.c \ 56 lstSucc.c 57 |
58.-include "VERSION" 59 |
|
61# this file gets generated by configure 62.-include "Makefile.config" 63 64.if !empty(LIBOBJS) 65SRCS+= ${LIBOBJS:T:.o=.c} 66.endif 67 68# just in case --- 118 unchanged lines hidden (view full) --- 187SHAREDIR= ${SHAREDIR.bmake:U${prefix}/share} 188BINDIR= ${BINDIR.bmake:U${prefix}/bin} 189MANDIR= ${MANDIR.bmake:U${SHAREDIR}/man} 190 191.if !exists(.depend) 192${OBJS}: config.h 193.endif 194 | 60# this file gets generated by configure 61.-include "Makefile.config" 62 63.if !empty(LIBOBJS) 64SRCS+= ${LIBOBJS:T:.o=.c} 65.endif 66 67# just in case --- 118 unchanged lines hidden (view full) --- 186SHAREDIR= ${SHAREDIR.bmake:U${prefix}/share} 187BINDIR= ${BINDIR.bmake:U${prefix}/bin} 188MANDIR= ${MANDIR.bmake:U${SHAREDIR}/man} 189 190.if !exists(.depend) 191${OBJS}: config.h 192.endif 193 |
194# start-delete2 for bsd.after-import.mk 195 |
|
195# make sure that MAKE_VERSION gets updated. | 196# make sure that MAKE_VERSION gets updated. |
196main.o: ${SRCS} ${MAKEFILE} | 197main.o: ${SRCS} ${.CURDIR}/VERSION |
197 | 198 |
198# start-delete2 for bsd.after-import.mk | |
199.if ${MK_AUTOCONF_MK} == "yes" | 199.if ${MK_AUTOCONF_MK} == "yes" |
200CONFIGURE_DEPS += ${.CURDIR}/VERSION |
|
200.include <autoconf.mk> 201.endif 202SHARE_MK?=${SHAREDIR}/mk 203MKSRC=${srcdir}/mk 204INSTALL?=${srcdir}/install-sh 205 206.if ${MK_INSTALL_MK} == "yes" 207install: install-mk --- 18 unchanged lines hidden --- | 201.include <autoconf.mk> 202.endif 203SHARE_MK?=${SHAREDIR}/mk 204MKSRC=${srcdir}/mk 205INSTALL?=${srcdir}/install-sh 206 207.if ${MK_INSTALL_MK} == "yes" 208install: install-mk --- 18 unchanged lines hidden --- |