2 ## Notion ion-statusd Makefile
5 # System-specific configuration is in system.mk
7 include $(TOPDIR
)/build
/system-inc.mk
9 ######################################
11 EXTRA_EXECUTABLE
= ion-statusd
13 SOURCES
= ion-statusd.c exec.c extlrx.c
15 INCLUDES
+= $(LIBMAINLOOP_INCLUDES
) $(LIBEXTL_INCLUDES
) $(LIBTU_INCLUDES
)
16 LIBS
+= $(LIBMAINLOOP_LIBS
) $(LIBEXTL_LIBS
) $(LIBTU_LIBS
) $(LUA_LIBS
) $(DL_LIBS
) -lm
17 CFLAGS
+= $(XOPEN_SOURCE
) $(C99_SOURCE
)
19 DEFINES
+= -DETCDIR
=\"$(ETCDIR
)\" -DSHAREDIR
=\"$(SHAREDIR
)\" \
20 -DEXTRABINDIR
=\"$(EXTRABINDIR
)\" -DMODULEDIR
=\"$(MODULEDIR
)\" \
21 -DLCDIR
=\"$(LCDIR
)\" -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
22 -DCF_ION_EXECUTABLE
=\"notion
\"
24 LUA_SOURCES
= statusd_date.lua statusd_mail.lua statusd_load.lua
26 MAKE_EXPORTS
= statusd
28 include $(TOPDIR
)/libmainloop
/rx.mk
30 ######################################
32 include $(TOPDIR
)/build
/rules.mk
34 ######################################
36 _install
: lc_install executable_install