Remove building with NOCRYPTO option
[minix3.git] / external / bsd / lutok / lib / liblutok / Makefile
bloba4e7f075a478ba54bc80ae8ac352fad7295bbf7f
1 # $NetBSD: Makefile,v 1.4 2013/10/18 23:36:10 jmmv Exp $
3 #NOLINT= # defined
5 .include <bsd.own.mk>
7 LIB= lutok
8 LIBISCXX= yes
10 LIBDPLIBS+= lua ${.CURDIR}/../../../../mit/lua/lib/liblua
11 LIBDPLIBS+= m ${.CURDIR}/../../../../../lib/libm
13 SRCDIR= ${NETBSDSRCDIR}/external/bsd/lutok/dist
14 .PATH: ${SRCDIR}
16 CPPFLAGS+= -I${.CURDIR}
17 CPPFLAGS+= -I.
19 CPPFLAGS+= -DHAVE_CONFIG_H
21 WARNS?= 4
23 .if defined(__MINIX)
24 NOCLANGERROR:= yes
25 .endif # defined(__MINIX)
27 SRCS= c_gate.cpp \
28 debug.cpp \
29 exceptions.cpp \
30 operations.cpp \
31 stack_cleaner.cpp \
32 state.cpp
34 INCS= c_gate.hpp \
35 debug.hpp \
36 exceptions.hpp \
37 operations.hpp \
38 stack_cleaner.hpp \
39 state.hpp \
40 state.ipp \
41 test_utils.hpp
42 INCSDIR= /usr/include/lutok
44 .if ${MKSHARE} != "no"
45 FILES+= lutok.pc
46 FILESDIR= /usr/lib/pkgconfig
48 realall: lutok.pc
49 lutok.pc: Makefile lutok.pc.in
50 ${TOOL_SED} \
51 -e 's,__INCLUDEDIR__,/usr/include,g' \
52 -e 's,__LIBDIR__,/usr/lib,g' \
53 -e 's,__LUA_CFLAGS__,-I/usr/include,g' \
54 -e 's,__LUA_LIBS,-llua,g' \
55 -e 's,__VERSION__,0.3,g' \
56 <${SRCDIR}/lutok.pc.in >lutok.pc
57 CLEANFILES+= lutok.pc
58 .endif
60 .include <bsd.lib.mk>