1 # $NetBSD: Makefile,v 1.6 2015/07/23 08:03:25 mrg Exp $
8 SRCS
= bytecode.c core.c debugger.c format.c hash.c helper.c \
9 io.c lisp.c math.c package.c pathname.c read.c \
10 regex.c require.c stream.c string.c struct.c time.c \
13 CPPFLAGS
+= -DLISP
-DLISPDIR
=\"${X11LIBDIR}/xedit
/lisp
\" \
14 -I
${X11SRCDIR.xedit
}/lisp
/mp \
15 -I
${X11SRCDIR.xedit
}/lisp
/re \
19 # code uses gcc-specific "label as values" feature
20 CPPFLAGS
+= -DANSI_SOURCE
23 .PATH
: ${X11SRCDIR.xedit
}/lisp
25 CWARNFLAGS.clang
+= -Wno-format
27 # Ugh. writes to const char *
28 COPTS.format.c
+= -Wno-error
29 COPTS.lisp.c
+= -Wno-error