blob: d34c8e870467c5fa70e86947894ab79939f2157e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $NetBSD: openwin.mk,v 1.2 2004/11/11 17:44:39 sketch Exp $
FILES_LIST= ${FILESDIR}/openwin
# Fix bugs in older versions of openwin headers
STDC_REPLACE= -e 's/^\#if (__STDC__/\#if (defined(__STDC__)/'
STDC_REPLACE+= -e 's/^\#if ((__STDC__/\#if ((defined(__STDC__)/'
CREATE_X11LINK= case $$file in \
include/X11/Xlibint.h) \
${SED} ${STDC_REPLACE} < $$src > $$dest; \
;; \
include/X11/Xmd.h) \
${SED} ${STDC_REPLACE} < $$src > $$dest; \
;; \
include/X11/extensions/multibufst.h) \
${SED} ${STDC_REPLACE} < $$src > $$dest; \
;; \
*) \
${LN} -s $$src $$dest; \
esac
|