Fix 'dist' target in Makefile
[notion/jeffpc.git] / utils / ion-statusd / Makefile
blob4afa1d730e5fc782d5b9e18abe0f42e685f172c0
1 ##
2 ## Notion ion-statusd Makefile
3 ##
5 # System-specific configuration is in system.mk
6 TOPDIR=../..
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