]> git.decadent.org.uk Git - ion3.git/blob - mod_statusbar/Makefile
[svn-inject] Installing original source of ion3
[ion3.git] / mod_statusbar / Makefile
1 ##
2 ## Ion mod_statusbar Makefile
3 ##
4
5 # System-specific configuration is in system.mk
6 TOPDIR=..
7 include $(TOPDIR)/build/system-inc.mk
8
9 ######################################
10
11 INCLUDES += $(X11_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES) -I..
12 CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
13
14 SOURCES = main.c statusbar.c draw.c
15
16 SUBDIRS = ion-statusd
17 INSTALL_SUBDIRS = $(SUBDIRS)
18
19 MAKE_EXPORTS = mod_statusbar
20
21 MODULE = mod_statusbar
22 MODULE_STUB = mod_statusbar.lua
23
24 ######################################
25
26 include $(TOPDIR)/build/rules.mk
27
28 ######################################
29
30 _install: module_install symlink_install
31
32 symlink_install:
33         rm -f $(LCDIR)/ext_statusbar.lc
34         ln -s mod_statusbar.lc $(LCDIR)/ext_statusbar.lc