2 ## Ion mod_statusbar Makefile
5 # System-specific configuration is in system.mk
7 include $(TOPDIR)/build/system-inc.mk
9 ######################################
11 INCLUDES += $(X11_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES) -I..
12 CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
14 SOURCES = main.c statusbar.c draw.c
17 INSTALL_SUBDIRS = $(SUBDIRS)
19 MAKE_EXPORTS = mod_statusbar
21 MODULE = mod_statusbar
22 MODULE_STUB = mod_statusbar.lua
24 ######################################
26 include $(TOPDIR)/build/rules.mk
28 ######################################
30 _install: module_install symlink_install
33 rm -f $(LCDIR)/ext_statusbar.lc
34 ln -s mod_statusbar.lc $(LCDIR)/ext_statusbar.lc