mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
NetBSD flags.
This commit is contained in:
parent
5a6ed33a3f
commit
ca8b6a08ff
10
Makefile
10
Makefile
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.111 2009-02-08 14:11:37 nicm Exp $
|
||||
# $Id: Makefile,v 1.112 2009-02-17 08:08:42 nicm Exp $
|
||||
|
||||
.SUFFIXES: .c .o .y .h
|
||||
.PHONY: clean update-index.html upload-index.html
|
||||
@ -88,6 +88,14 @@ CFLAGS+= -DUSE_LIBUTIL_H -DNO_QUEUE_H -DNO_TREE_H
|
||||
LIBS+= -lcrypt
|
||||
.endif
|
||||
|
||||
# NetBSD
|
||||
.if ${OS} == "NetBSD"
|
||||
INCDIRS+= -Icompat
|
||||
SRCS+= compat/strtonum.c compat/vis.c
|
||||
LIBS+= -lcrypt
|
||||
CFLAGS+=-DNO_STRTONUM
|
||||
.endif
|
||||
|
||||
OBJS= ${SRCS:S/.c/.o/:S/.y/.o/}
|
||||
|
||||
DISTDIR= ${PROG}-${VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user