Include mod_xrandr instead of using submodules
[notion/jeffpc.git] / ioncore / Makefile
blobe8c7938107750bb29d5683413002ef4459db03bd
1 ##
2 ## Notioncore Makefile
3 ##
5 # System-specific configuration is in system.mk
6 TOPDIR=..
7 include $(TOPDIR)/build/system-inc.mk
9 ######################################
11 INCLUDES += $(X11_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES) -I..
13 CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
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 framedpholder.c \
27 return.c detach.c screen-notify.c frame-tabs-recalc.c profiling.c \
28 log.c
30 LUA_SOURCES=\
31 ioncore_ext.lua ioncore_luaext.lua ioncore_bindings.lua \
32 ioncore_winprops.lua ioncore_misc.lua ioncore_efbb.lua \
33 ioncore_wd.lua ioncore_menudb.lua ioncore_tabnum.lua \
34 ioncore_quasiact.lua
36 ifeq ($(PRELOAD_MODULES),1)
37 CFLAGS += -DCF_PRELOAD_MODULES
38 endif
40 MAKE_EXPORTS=ioncore
42 TARGETS=ioncore.a
44 include $(TOPDIR)/libmainloop/rx.mk
46 ######################################
48 include $(TOPDIR)/build/rules.mk
50 ######################################
52 # without -finstrument-functions
53 profiling.o: profiling.c
54 $(CC) $(CFLAGS:-finstrument-functions=) -c profiling.c -o profiling.o
56 ioncore.a: $(OBJS)
57 $(AR) $(ARFLAGS) $@ $+
58 $(RANLIB) $@
60 _install: lc_install