config.mk
author Anselm R Garbe <garbeam@gmail.com>
Thu, 19 Mar 2009 13:06:15 +0000
changeset 1393 deaa276abac1
parent 1387 dbcd0ffca535
child 1395 a2c094196714
permissions -rw-r--r--
applied Marc Andre Tanners showhide patch, the removal of ntiled
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
1387
dbcd0ffca535 applied Gottox' adjustborder removal patch (thanks!)
Anselm R Garbe <garbeam@gmail.com>
parents: 1383
diff changeset
     2
VERSION = 5.5
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
1393
deaa276abac1 applied Marc Andre Tanners showhide patch, the removal of ntiled
Anselm R Garbe <garbeam@gmail.com>
parents: 1387
diff changeset
    14
XINERAMALIBS = -L${X11LIB} -lXinerama
deaa276abac1 applied Marc Andre Tanners showhide patch, the removal of ntiled
Anselm R Garbe <garbeam@gmail.com>
parents: 1387
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}
1260
2d3d08d2dd19 applied anydot's patchset.diff
Anselm R Garbe <garbeam@gmail.com>
parents: 1224
diff changeset
    23
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
2d3d08d2dd19 applied anydot's patchset.diff
Anselm R Garbe <garbeam@gmail.com>
parents: 1224
diff changeset
    24
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
    25
636
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    26
# Solaris
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    27
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    28
#LDFLAGS = ${LIBS}
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    29
268
a47b3b0d7bf4 applied Sanders LD and resize patches
Anselm R.Garbe <arg@10ksloc.org>
parents: 255
diff changeset
    30
# 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
    31
CC = cc