applied BSD support patch

This commit is contained in:
Anselm R. Garbe
2006-10-12 08:11:08 +02:00
parent 2fa12210c9
commit 0f1157d7e6
2 changed files with 25 additions and 2 deletions

View File

@@ -15,11 +15,14 @@ INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11
# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
LDFLAGS = ${LIBS}
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = -g ${LIBS}
# On *BSD remove -DHAVE_SHADOW_H from CFLAGS
# On OpenBSD remove -lcrypt from LIBS
# compiler and linker
CC = cc
LD = ${CC}