]> git.decadent.org.uk Git - ion3.git/blob - ioncore/Makefile
[svn-upgrade] Integrating new upstream version, ion3 (20070506)
[ion3.git] / ioncore / Makefile
1 ##
2 ## Ioncore 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
13 CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
14
15 SOURCES=binding.c conf-bindings.c cursor.c event.c exec.c focus.c         \
16         strings.c key.c modules.c mwmhints.c pointer.c property.c         \
17         screen.c sizehint.c window.c ioncore.c                            \
18         xic.c selection.c clientwin.c colormap.c region.c eventh.c        \
19         attach.c resize.c grab.c manage.c regbind.c                       \
20         rootwin.c tags.c names.c saveload.c frame.c                       \
21         frame-pointer.c conf.c reginfo.c extlconv.c fullscreen.c mplex.c  \
22         bindmaps.c gr.c infowin.c activity.c netwm.c frame-draw.c         \
23         kbresize.c rectangle.c xwindow.c presize.c extlrx.c               \
24         pholder.c mplexpholder.c llist.c basicpholder.c sizepolicy.c      \
25         stacking.c group.c grouppholder.c group-cw.c navi.c               \
26         group-ws.c float-placement.c groupedpholder.c framedpholder.c     \
27         return.c detach.c screen-notify.c
28
29 LUA_SOURCES=\
30         ioncore_ext.lua ioncore_luaext.lua ioncore_bindings.lua \
31         ioncore_winprops.lua ioncore_misc.lua ioncore_efbb.lua \
32         ioncore_wd.lua ioncore_menudb.lua ioncore_tabnum.lua
33
34 ifeq ($(PRELOAD_MODULES),1)
35 CFLAGS += -DCF_PRELOAD_MODULES
36 endif
37
38 MAKE_EXPORTS=ioncore
39
40 TARGETS=ioncore.a
41
42 include $(TOPDIR)/libmainloop/rx.mk
43
44 ######################################
45
46 include $(TOPDIR)/build/rules.mk
47
48 ######################################
49
50 ioncore.a: $(OBJS)
51         $(AR) $(ARFLAGS) $@ $+
52         $(RANLIB) $@
53
54 _install: lc_install