Pledge on OpenBSD
[azarus-st.git] / config.mk
blobc7355f1507c8b30d0ee08066322f3b51d7928c11
1 # st version
2 VERSION = 0.8.1
4 # Customize below to fit your system
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = $(PREFIX)/share/man
10 X11INC = /usr/X11R6/include
11 X11LIB = /usr/X11R6/lib
13 # includes and libs
14 INCS = -I$(X11INC) \
15 `pkg-config --cflags fontconfig` \
16 `pkg-config --cflags freetype2`
17 LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
18 `pkg-config --libs fontconfig` \
19 `pkg-config --libs freetype2`
21 # flags
22 CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
23 STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
24 STLDFLAGS = $(LIBS) $(LDFLAGS)
26 # OpenBSD:
27 #CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
28 #LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
29 # `pkg-config --libs fontconfig` \
30 # `pkg-config --libs freetype2`
32 # compiler and linker
33 # CC = c99