| 1 |
# locations of X11 found in different BSD distributions |
| 2 |
X=/usr/X11R6 |
| 3 |
L=/usr/local |
| 4 |
|
| 5 |
# CC C compiler |
| 6 |
# CFLAGS flags for building C files |
| 7 |
# CFDYN additional flags for dynamic functions |
| 8 |
# RLINK flags for linking run-time system |
| 9 |
# RLIBS libraries to link with run-time system |
| 10 |
# TLIBS libraries to link for POSIX threads |
| 11 |
# XLIBS libraries to link for graphics |
| 12 |
|
| 13 |
CC = cc |
| 14 |
CFLAGS = -O -I$X/include -I$L/include |
| 15 |
CFDYN = -fPIC |
| 16 |
RLINK = -Wl,-E |
| 17 |
RLIBS = -lm |
| 18 |
TLIBS = -lpthread |
| 19 |
XLIBS = -Wl,-R$X/lib -Wl,-R$L/lib -L$X/lib -L$L/lib -lXpm -lX11 |