Home | History | Annotate | Line # | Download | only in lisp
Makefile revision 1.4
      1 #	$NetBSD: Makefile,v 1.4 2015/06/27 17:03:30 matt Exp $
      2 
      3 LIBISPRIVATE=	yes
      4 
      5 .include <bsd.own.mk>
      6 
      7 LIB=		lisp
      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 \
     11 		write.c xedit.c
     12 
     13 CPPFLAGS+=	-DLISP  -DLISPDIR=\"${X11LIBDIR}/xedit/lisp\" \
     14 		-I${X11SRCDIR.xedit}/lisp/mp \
     15 		-I${X11SRCDIR.xedit}/lisp/re \
     16 		-I${X11SRCDIR.xedit} \
     17 		-I${X11SRCDIR.xc}/programs
     18 
     19 .if defined(HAVE_PCC)
     20 # code uses gcc-specific "label as values" feature
     21 CPPFLAGS+=	-DANSI_SOURCE
     22 .endif
     23 
     24 .PATH:		${X11SRCDIR.xedit}/lisp
     25 
     26 CWARNFLAGS.clang+=	-Wno-format
     27 
     28 .include <bsd.x11.mk>
     29 .include <bsd.lib.mk>
     30