source: trunk/essentials/sys-libs/ncurses/kNIX-bootstrap.kmk@ 3166

Last change on this file since 3166 was 3073, checked in by bird, 19 years ago

bootstrap config of ncurses.

  • Property svn:keywords set to Id
File size: 10.3 KB
Line 
1# $Id: kNIX-bootstrap.kmk 3073 2007-04-09 00:14:03Z bird $
2## @file
3#
4# kNIX Boostrap Makefile for ncurses
5#
6# Copyright (c) 2007 knut st. osmundsen <[email protected]>
7#
8#
9# This file is part of kLIBC.
10#
11# kLIBC is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# kLIBC is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with kLIBC; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24#
25#
26
27DEPTH = ../../..
28include $(PATH_KBUILD)/header.kmk
29
30#
31# The ncurses template.
32#
33TEMPLATE_ncurses_EXTENDS = usr.lib
34TEMPLATE_ncurses_DEFS = $(TEMPLATE_usr.lib_DEFS) \
35 HAVE_CONFIG_H \
36 _BSD_TYPES \
37 __BSD_VISIBLE \
38 _POSIX_C_SOURCE=200112L \
39 _XOPEN_SOURCE=600
40# LOCALEDIR=\"/@unixroot/usr/share/locale\"
41TEMPLATE_ncurses_INCS = $(TEMPLATE_usr.lib_INCS) \
42 $(PATH_TARGET) \
43 $(PATH_SUB_ROOT)/ncurses \
44 $(PATH_SUB_ROOT)/include \
45 $(PATH_SUB_CURRENT) \
46 $(PATH_SUB_ROOT)/menu \
47 $(PATH_SUB_ROOT)/panel\
48 $(PATH_SUB_ROOT)/form
49TEMPLATE_ncurses_LIBS = $(TEMPLATE_usr.lib_LIBS) \
50 $(TARGET_libncurses)
51TEMPLATE_ncurses_ORDERDEPS = $(TEMPLATE_usr.lib_ORDERDEPS) \
52 $(PATH_TARGET)/curses.h \
53 $(PATH_TARGET)/hashsize.h \
54 $(PATH_TARGET)/init_keytry.h \
55 $(PATH_TARGET)/ncurses_cfg.h \
56 $(PATH_TARGET)/ncurses_def.h \
57 $(PATH_TARGET)/nomacros.h \
58 $(PATH_TARGET)/parametrized.h \
59 $(PATH_TARGET)/term.h \
60 $(PATH_TARGET)/termcap.h \
61 $(PATH_TARGET)/unctrl.h
62
63#
64# libncurses
65#
66LIBRARIES += libncurses
67libncurses_TEMPLATE = ncurses
68libncurses_SOURCES = \
69 ncurses/tty/hardscroll.c \
70 ncurses/tty/hashmap.c \
71 ncurses/base/lib_addch.c \
72 ncurses/base/lib_addstr.c \
73 ncurses/base/lib_beep.c \
74 ncurses/base/lib_bkgd.c \
75 ncurses/base/lib_box.c \
76 ncurses/base/lib_chgat.c \
77 ncurses/base/lib_clear.c \
78 ncurses/base/lib_clearok.c \
79 ncurses/base/lib_clrbot.c \
80 ncurses/base/lib_clreol.c \
81 ncurses/base/lib_color.c \
82 ncurses/base/lib_colorset.c \
83 ncurses/base/lib_delch.c \
84 ncurses/base/lib_delwin.c \
85 ncurses/base/lib_echo.c \
86 ncurses/base/lib_endwin.c \
87 ncurses/base/lib_erase.c \
88 ncurses/base/lib_flash.c \
89 ncurses/base/lib_getch.c \
90 ncurses/base/lib_getstr.c \
91 ncurses/base/lib_hline.c \
92 ncurses/base/lib_immedok.c \
93 ncurses/base/lib_inchstr.c \
94 ncurses/base/lib_initscr.c \
95 ncurses/base/lib_insch.c \
96 ncurses/base/lib_insdel.c \
97 ncurses/base/lib_insnstr.c \
98 ncurses/base/lib_instr.c \
99 ncurses/base/lib_isendwin.c \
100 ncurses/base/lib_leaveok.c \
101 ncurses/base/lib_mouse.c \
102 ncurses/base/lib_move.c \
103 ncurses/tty/lib_mvcur.c \
104 ncurses/base/lib_mvwin.c \
105 ncurses/base/lib_newterm.c \
106 ncurses/base/lib_newwin.c \
107 ncurses/base/lib_nl.c \
108 ncurses/base/lib_overlay.c \