config.mk
author Anselm R Garbe <anselm@garbe.us>
Sun, 27 Sep 2009 20:20:10 +0100
changeset 1502 15761ac5e2f1
parent 1500 48c3f87c335d
child 1504 25cb0e9856e6
permissions -rw-r--r--
applied Ryan Zheng's patch and re-releasing 5.7.2
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
1502
15761ac5e2f1 applied Ryan Zheng's patch and re-releasing 5.7.2
Anselm R Garbe <anselm@garbe.us>
parents: 1500
diff changeset
     2
VERSION = 5.7.2
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}
1498
257403d4cd96 switching to release flags
Anselm R Garbe <anselm@garbe.us>
parents: 1494
diff changeset
    23
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
257403d4cd96 switching to release flags
Anselm R Garbe <anselm@garbe.us>
parents: 1494
diff changeset
    24
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
257403d4cd96 switching to release flags
Anselm R Garbe <anselm@garbe.us>
parents: 1494
diff changeset
    25
#LDFLAGS = -g ${LIBS}
257403d4cd96 switching to release flags
Anselm R Garbe <anselm@garbe.us>
parents: 1494
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