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..
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 \
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 \
36 ifeq ($(PRELOAD_MODULES
),1)
37 CFLAGS
+= -DCF_PRELOAD_MODULES
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
57 $(AR
) $(ARFLAGS
) $@
$+