[BACK]Return to bsd.sys.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Annotation of src/share/mk/bsd.sys.mk, Revision 1.12

1.12    ! espie       1: #      $OpenBSD: bsd.sys.mk,v 1.11 2017/07/01 14:41:54 espie Exp $
1.5       mickey      2: #      $NetBSD: bsd.sys.mk,v 1.2 1995/12/13 01:25:07 cgd Exp $
1.6       niklas      3: #
                      4: # Overrides used for OpenBSD source tree builds.
1.2       deraadt     5:
1.3       deraadt     6: #CFLAGS+= -Werror
1.7       deraadt     7:
1.6       niklas      8: .if defined(DESTDIR)
1.7       deraadt     9: CPPFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include
1.8       millert    10: CXXFLAGS+= -idirafter ${DESTDIR}/usr/include/g++
1.6       niklas     11: .endif
1.1       deraadt    12:
                     13: .if defined(PARALLEL)
                     14: # Yacc
                     15: .y:
                     16:        ${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
                     17:        ${LINK.c} -o ${.TARGET} ${.TARGET:R}.tab.c ${LDLIBS}
                     18:        rm -f ${.TARGET:R}.tab.c
                     19: .y.c:
                     20:        ${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
                     21:        mv ${.TARGET:R}.tab.c ${.TARGET}
                     22: .y.o:
                     23:        ${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
                     24:        ${COMPILE.c} -o ${.TARGET} ${.TARGET:R}.tab.c
                     25:        rm -f ${.TARGET:R}.tab.c
1.11      espie      26:        if test -f ${.TARGET:R}.d; then sed -i -e 's,${.TARGET:R}.tab.c,${.IMPSRC},' ${.TARGET:R}.d; fi
1.1       deraadt    27: .endif