ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/lib/ncurses/config.mk
(Generate patch)

Comparing trunk/lib/ncurses/config.mk (file contents):
Revision 10609 by laffer1, Sat Dec 7 23:54:44 2013 UTC vs.
Revision 10610 by laffer1, Sat Jun 9 15:21:17 2018 UTC

# Line 1 | Line 1
1 < # $MidnightBSD: src/lib/ncurses/config.mk,v 1.3 2008/10/05 18:18:56 laffer1 Exp $
1 > # $MidnightBSD$
2 > # $FreeBSD: stable/10/lib/ncurses/config.mk 313595 2017-02-11 06:25:47Z ngie $
3  
4   # This Makefile is shared by libncurses, libform, libmenu, libpanel.
5  
6 < NCURSES_DIR=    ${.CURDIR}/../../../contrib/ncurses
6 > NCURSES_DIR=    ${SRCTOP}/contrib/ncurses
7  
8   .if defined(ENABLE_WIDEC)
9   LIB_SUFFIX=     w
10   CFLAGS+=        -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC
11 < NCURSES_CFG_H=  ${.CURDIR}/../ncurses/ncurses_cfg.h
11 > NCURSES_CFG_H=  ${.CURDIR:H}/ncurses/ncurses_cfg.h
12   .else
13   LIB_SUFFIX=
14   NCURSES_CFG_H=  ${.CURDIR}/ncurses_cfg.h
15   .endif
16  
17   CFLAGS+=        -I.
18 < .if exists(${.OBJDIR}/../ncurses${LIB_SUFFIX})
19 < CFLAGS+=        -I${.OBJDIR}/../ncurses${LIB_SUFFIX}
18 > .if exists(${.OBJDIR:H}/ncurses${LIB_SUFFIX})
19 > CFLAGS+=        -I${.OBJDIR:H}/ncurses${LIB_SUFFIX}
20   .endif
21 < CFLAGS+=        -I${.CURDIR}/../ncurses${LIB_SUFFIX}
21 > CFLAGS+=        -I${.CURDIR:H}/ncurses${LIB_SUFFIX}
22  
23   # for ${NCURSES_CFG_H}
24 < CFLAGS+=        -I${.CURDIR}/../ncurses
24 > CFLAGS+=        -I${.CURDIR:H}/ncurses
25  
26   CFLAGS+=        -I${NCURSES_DIR}/include
27   CFLAGS+=        -I${NCURSES_DIR}/ncurses

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines