0
+ − 1 APP = callback_suite
+ − 2 OBJS = env.o handler.o sigstrings.o invokers.o do_test.o main.o print.o signature_utils.o
+ − 3 SRCTOP = ${VPATH}/../..
+ − 4 BLDTOP = ../..
+ − 5 CFLAGS += -I${SRCTOP}/dyncall -I${SRCTOP}/dyncallback
+ − 6 LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s -L${BLDTOP}/dyncallback -ldyncallback_s
+ − 7 LUA = lua
+ − 8 AUTOS = _auto_config.h _auto_sigstrings.h _auto_invokers.h \
+ − 9 _auto_invoke_macros.h _auto_invoke_table.h _auto_signatures.txt
+ − 10
+ − 11 .PHONY: all clean install config clean-config
+ − 12 all: ${APP}
+ − 13 ${APP}: ${OBJS}
+ − 14 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
+ − 15 clean:
+ − 16 rm -f ${APP} ${OBJS}
+ − 17 install:
+ − 18 mkdir -p ${PREFIX}/test
+ − 19 cp ${APP} ${PREFIX}/test
+ − 20 config: clean-config ${AUTOS}
+ − 21 config-random:
+ − 22 echo "-- auto-generated file from temlate config-random.lua (created by GNUmake)" >config.lua
+ − 23 cat config-random.lua >>config.lua
+ − 24 ${MAKE} config
+ − 25 config-stress1:
+ − 26 echo "-- auto-generated file from temlate config-stress1.lua (created by GNUmake)" >config.lua
+ − 27 cat config-stress1.lua >>config.lua
+ − 28 ${MAKE} config
+ − 29
+ − 30 clean-config: clean
+ − 31 rm -f ${AUTOS}
+ − 32
+ − 33 _auto_signatures.txt:
+ − 34 ${LUA} make-signatures.lua >$@
+ − 35
+ − 36 _auto_invokers.h: _auto_signatures.txt
+ − 37 ${LUA} make-invokers.lua <$< >$@
+ − 38
+ − 39 _auto_sigstrings.h: _auto_signatures.txt
+ − 40 ${LUA} make-cstrings.lua <$< >$@
+ − 41
+ − 42 _auto_config.h:
+ − 43 ${LUA} make-config.lua >$@
+ − 44
+ − 45 _auto_invoke_macros.h:
+ − 46 ${LUA} make-invoke-macros.lua >$@
+ − 47
+ − 48 _auto_invoke_table.h:
+ − 49 ${LUA} make-invoke-table.lua >$@
+ − 50