Home | History | Annotate | Line # | Download | only in liblutok
Makefile revision 1.4.4.2
      1  1.4.4.2  yamt # $NetBSD: Makefile,v 1.4.4.2 2014/05/22 15:49:33 yamt Exp $
      2  1.4.4.2  yamt 
      3  1.4.4.2  yamt #NOLINT=		# defined
      4  1.4.4.2  yamt 
      5  1.4.4.2  yamt .include <bsd.own.mk>
      6  1.4.4.2  yamt 
      7  1.4.4.2  yamt LIB=		lutok
      8  1.4.4.2  yamt LIBISCXX=	yes
      9  1.4.4.2  yamt 
     10  1.4.4.2  yamt LIBDPLIBS+=     lua	${.CURDIR}/../../../../mit/lua/lib/liblua
     11  1.4.4.2  yamt LIBDPLIBS+=     m	${.CURDIR}/../../../../../lib/libm
     12  1.4.4.2  yamt 
     13  1.4.4.2  yamt SRCDIR=		${NETBSDSRCDIR}/external/bsd/lutok/dist
     14  1.4.4.2  yamt .PATH:		${SRCDIR}
     15  1.4.4.2  yamt 
     16  1.4.4.2  yamt CPPFLAGS+=	-I${.CURDIR}
     17  1.4.4.2  yamt CPPFLAGS+=	-I.
     18  1.4.4.2  yamt 
     19  1.4.4.2  yamt CPPFLAGS+=	-DHAVE_CONFIG_H
     20  1.4.4.2  yamt 
     21  1.4.4.2  yamt WARNS?=		4
     22  1.4.4.2  yamt 
     23  1.4.4.2  yamt SRCS=		c_gate.cpp \
     24  1.4.4.2  yamt 		debug.cpp \
     25  1.4.4.2  yamt 		exceptions.cpp \
     26  1.4.4.2  yamt 		operations.cpp \
     27  1.4.4.2  yamt 		stack_cleaner.cpp \
     28  1.4.4.2  yamt 		state.cpp
     29  1.4.4.2  yamt 
     30  1.4.4.2  yamt INCS=		c_gate.hpp \
     31  1.4.4.2  yamt 		debug.hpp \
     32  1.4.4.2  yamt 		exceptions.hpp \
     33  1.4.4.2  yamt 		operations.hpp \
     34  1.4.4.2  yamt 		stack_cleaner.hpp \
     35  1.4.4.2  yamt 		state.hpp \
     36  1.4.4.2  yamt 		state.ipp \
     37  1.4.4.2  yamt 		test_utils.hpp
     38  1.4.4.2  yamt INCSDIR=	/usr/include/lutok
     39  1.4.4.2  yamt 
     40  1.4.4.2  yamt .if ${MKSHARE} != "no"
     41  1.4.4.2  yamt FILES+=		lutok.pc
     42  1.4.4.2  yamt FILESDIR=	/usr/lib/pkgconfig
     43  1.4.4.2  yamt 
     44  1.4.4.2  yamt realall: lutok.pc
     45  1.4.4.2  yamt lutok.pc: Makefile lutok.pc.in
     46  1.4.4.2  yamt 	${TOOL_SED} \
     47  1.4.4.2  yamt 	    -e 's,__INCLUDEDIR__,/usr/include,g' \
     48  1.4.4.2  yamt 	    -e 's,__LIBDIR__,/usr/lib,g' \
     49  1.4.4.2  yamt 	    -e 's,__LUA_CFLAGS__,-I/usr/include,g' \
     50  1.4.4.2  yamt 	    -e 's,__LUA_LIBS,-llua,g' \
     51  1.4.4.2  yamt 	    -e 's,__VERSION__,0.3,g' \
     52  1.4.4.2  yamt 	    <${SRCDIR}/lutok.pc.in >lutok.pc
     53  1.4.4.2  yamt CLEANFILES+=	lutok.pc
     54  1.4.4.2  yamt .endif
     55  1.4.4.2  yamt 
     56  1.4.4.2  yamt .include <bsd.lib.mk>
     57