config.mk
author Anselm R Garbe <anselm@garbe.us>
Fri, 18 Sep 2009 21:18:00 +0100
changeset 1492 62a601261c8b
parent 1477 aefd753cfe9b
child 1494 e00cb20da182
permissions -rw-r--r--
new experimental updategeom() additions that should avoid several problems with Xinerama, this is EXPERIMENTAL and might break something, the algorithms in use are quite complex and cumbersome, patches and comments welcome
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
160
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     1
# dwm version
1477
aefd753cfe9b fixed nn declaration
Anselm R Garbe <garbeam@gmail.com>
parents: 1474
diff changeset
     2
VERSION = 5.7
160
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     3
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     4
# Customize below to fit your system
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     5
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     6
# paths
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     7
PREFIX = /usr/local
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     8
MANPREFIX = ${PREFIX}/share/man
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     9
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    10
X11INC = /usr/X11R6/include
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    11
X11LIB = /usr/X11R6/lib
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    12
1361
41678fc29f2a several changes towards 5.3, XINERAMA is disabled by default, introduced usegrab Bool for grabbing the server during mouse-based resizals/movements (disabled by default), continued debugging tile() with resizehints == True and a lot of terminals supporting resizehints, still no optimal solution, I need to think about it, considering recursive algorithm for the space optimization
Anselm R Garbe <garbeam@gmail.com>
parents: 1317
diff changeset
    13
# Xinerama, un-comment if you want it
1437
bb00510a176a several bugfixes
Anselm R Garbe <anselm@garbe.us>
parents: 1436
diff changeset
    14
XINERAMALIBS = -L${X11LIB} -lXinerama
bb00510a176a several bugfixes
Anselm R Garbe <anselm@garbe.us>
parents: 1436
diff changeset
    15
XINERAMAFLAGS = -DXINERAMA
1215
840fd59e3141 make it easier for the user, if Xinerama support is given, always use the screen 0 as window area/bar area, everything else can be used for floating clients
Anselm R Garbe <garbeam@gmail.com>
parents: 1208
diff changeset
    16
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    17
# includes and libs
303
1120bd29a275 applied another config.mk patch made by sander
Anselm R.Garbe <arg@10ksloc.org>
parents: 300
diff changeset
    18
INCS = -I. -I/usr/include -I${X11INC}
1215
840fd59e3141 make it easier for the user, if Xinerama support is given, always use the screen 0 as window area/bar area, everything else can be used for floating clients
Anselm R Garbe <garbeam@gmail.com>
parents: 1208
diff changeset
    19
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    20
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    21
# flags
1215
840fd59e3141 make it easier for the user, if Xinerama support is given, always use the screen 0 as window area/bar area, everything else can be used for floating clients
Anselm R Garbe <garbeam@gmail.com>
parents: 1208
diff changeset
    22
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
1457
96862665fd92 reverting to optimised compiler options, current state seems stable
Anselm R Garbe <anselm@garbe.us>
parents: 1437
diff changeset
    23
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
96862665fd92 reverting to optimised compiler options, current state seems stable
Anselm R Garbe <anselm@garbe.us>
parents: 1437
diff changeset
    24
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
96862665fd92 reverting to optimised compiler options, current state seems stable
Anselm R Garbe <anselm@garbe.us>
parents: 1437
diff changeset
    25
#LDFLAGS = -g ${LIBS}
96862665fd92 reverting to optimised compiler options, current state seems stable
Anselm R Garbe <anselm@garbe.us>
parents: 1437
diff changeset
    26
LDFLAGS = -s ${LIBS}
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    27
636
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    28
# Solaris
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    29
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    30
#LDFLAGS = ${LIBS}
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    31
268
a47b3b0d7bf4 applied Sanders LD and resize patches
Anselm R.Garbe <arg@10ksloc.org>
parents: 255
diff changeset
    32
# compiler and linker
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    33
CC = cc