2 CONFIG_MK
= ${TOP}/config.mk
5 SRCS
= lixp_main.c lixp_debug.c lixp_util.c lixp_instance.c
8 CFLAGS
+= ${LUA_INC} ${IXP_INC} -ggdb
-O0
-fPIC
9 LIBS
+= ${LUA_LIB} ${IXP_LIB}
15 .PHONY
: all test clean install
19 $(CC
) ${CFLAGS} -o
$@
-shared
$^
$(LIBS
)
21 ${OBJS}: %.o
: %.c Makefile
22 ${CC} ${CFLAGS} -o
$@
-c
$<
28 -rm -f
${TARGET} ${OBJS}
32 ${INSTALL} -d
${CORE_LIB_DIR}
33 ${INSTALL} -b
-t
${CORE_LIB_DIR} ${TARGET}
35 install-user
: ${TARGET}
36 ${INSTALL} -d
${HOME_CORE}
37 ${INSTALL} -m
0744 -b
-t
${HOME_CORE} ${TARGET}