wmii/config.mk

64 lines
1.4 KiB
Makefile
Raw Normal View History

2006-10-12 18:10:57 +04:00
# Customize below to fit your system
2005-11-18 18:54:58 +03:00
# Paths
PREFIX = /usr/local
BIN = $(PREFIX)/bin
MAN = $(PREFIX)/share/man
2009-09-29 04:09:38 +04:00
DOC = $(PREFIX)/share/doc/wmii
ETC = $(PREFIX)/etc
LIBDIR = $(PREFIX)/lib
INCLUDE = $(PREFIX)/include
2005-11-18 18:54:58 +03:00
# Includes and libs
2009-10-10 00:40:33 +04:00
INCLUDES = -I. -I$(ROOT)/include -I$(INCLUDE) -I/usr/include
LIBS = -L$(ROOT)/lib -L/usr/lib
2005-11-18 18:54:58 +03:00
2009-10-10 00:40:33 +04:00
TERMINAL = xterm
# Flags
include $(ROOT)/mk/gcc.mk
2008-10-14 12:54:35 +04:00
CFLAGS += $(DEBUGCFLAGS) -O0
LDFLAGS += -g $(LIBS)
SOLDFLAGS += $(LDFLAGS)
SHARED = -shared -Wl,-soname=$(SONAME)
2007-03-26 09:26:10 +04:00
STATIC = -static
# Compiler, Linker. Linker should usually *not* be ld.
2007-07-03 13:20:01 +04:00
CC = cc -c
LD = cc
# Archiver
AR = ar crs
2008-05-30 01:22:56 +04:00
# Your make shell. By default, the first found of /bin/dash, /bin/ksh,
# /bin/sh. Except with bsdmake, which assumes /bin/sh is sane. bash and zsh
# are painfully slow, and should be avoided.
#BINSH = /bin/ash
2009-05-21 22:22:58 +04:00
X11PACKAGES = xft
INCX11 = $$(pkg-config --cflags $(X11PACKAGES))
LIBICONV = # Leave blank if your libc includes iconv (glibc does)
LIBIXP = $(LIBDIR)/libixp.a
# Operating System Configurations
# KenCC
# Note: wmii *must* always compile under KenCC. It's vital for
# argument checking in formatted IO, and similar diagnostics.
#CFLAGS = -wF
#STATIC = # Implied
#CC=pcc -c
#LD=pcc
# *BSD
2008-08-25 20:47:56 +04:00
#LIBICONV = -L/usr/local/lib -liconv
# +Darwin
#STATIC = # Darwin doesn't like static linking
#SHARED = -dynamiclib
#SOEXT = dylib
2006-10-30 11:54:22 +03:00
# Solaris
#CFLAGS = -fast $(INCS)
#LDFLAGS = $(LIBS) -R$(PREFIX)/lib -lsocket -lnsl
2006-10-30 11:54:22 +03:00
#CFLAGS += -xtarget=ultra