Home | History | Annotate | Line # | Download | only in lua
Makefile revision 1.1.1.1.26.2
      1  1.1.1.1.26.2  msaitoh #PREFIX=/Users/agcrooks
      2  1.1.1.1.26.2  msaitoh PREFIX=/usr
      3  1.1.1.1.26.2  msaitoh 
      4  1.1.1.1.26.2  msaitoh #LIBDIR=/usr/lib
      5  1.1.1.1.26.2  msaitoh 
      6  1.1.1.1.26.2  msaitoh LIB=luabozohttpd
      7  1.1.1.1.26.2  msaitoh SRCS=glue.c
      8  1.1.1.1.26.2  msaitoh MKMAN=no
      9  1.1.1.1.26.2  msaitoh CPPFLAGS+=-g -I${PREFIX}/pkg/include
     10  1.1.1.1.26.2  msaitoh LDADD+= -lbozohttpd
     11  1.1.1.1.26.2  msaitoh WARNS=4
     12  1.1.1.1.26.2  msaitoh CLEANFILES+=	a a.sig
     13  1.1.1.1.26.2  msaitoh 
     14  1.1.1.1.26.2  msaitoh .include <bsd.lib.mk>
     15  1.1.1.1.26.2  msaitoh .include <bsd.own.mk>
     16  1.1.1.1.26.2  msaitoh 
     17  1.1.1.1.26.2  msaitoh LUABOZOOBJDIR != cd ${.CURDIR} && ${PRINTOBJDIR}
     18  1.1.1.1.26.2  msaitoh 
     19  1.1.1.1.26.2  msaitoh OPSYS!= uname -s
     20  1.1.1.1.26.2  msaitoh 
     21  1.1.1.1.26.2  msaitoh .if ${OPSYS} == "Darwin"
     22  1.1.1.1.26.2  msaitoh .sinclude <bsd.warns.mk>
     23  1.1.1.1.26.2  msaitoh 
     24  1.1.1.1.26.2  msaitoh lib${LIB}.dylib:
     25  1.1.1.1.26.2  msaitoh 	libtool -dynamic -o ${.TARGET} ${OBJS} ${PREFIX}/pkg/lib/liblua.dylib /usr/lib/libc.dylib ${PREFIX}/pkg/lib/libbozohttpd.dylib
     26  1.1.1.1.26.2  msaitoh 
     27  1.1.1.1.26.2  msaitoh t: lib${LIB}.dylib
     28  1.1.1.1.26.2  msaitoh 	cp Makefile a
     29  1.1.1.1.26.2  msaitoh 	./bozo.lua --sign --detached a
     30  1.1.1.1.26.2  msaitoh 	./bozo.lua --verify a.sig
     31  1.1.1.1.26.2  msaitoh 
     32  1.1.1.1.26.2  msaitoh .else
     33  1.1.1.1.26.2  msaitoh t:
     34  1.1.1.1.26.2  msaitoh 	cp Makefile a
     35  1.1.1.1.26.2  msaitoh 	env LD_LIBRARY_PATH=${LUABOZOOBJDIR}:/lib:/usr/lib:${PREFIX}/lib \
     36  1.1.1.1.26.2  msaitoh 		./bozo.lua --sign --detached a
     37  1.1.1.1.26.2  msaitoh 	env LD_LIBRARY_PATH=${LUABOZOOBJDIR}:/lib:/usr/lib:${PREFIX}/lib \
     38  1.1.1.1.26.2  msaitoh 		./bozo.lua --verify a.sig
     39  1.1.1.1.26.2  msaitoh .endif
     40