1 # This program is free software; you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation; version 2 of the License.
5 # This program is distributed in the hope that it will be useful,
6 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8 # GNU General Public License for more details.
10 # You should have received a copy of the GNU General Public License
11 # along with this program; if not, write to the Free Software
12 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15 ui_ncurses_common_libs = \
16 ui/ncurses/libpbnc.la \
17 ui/common/libpbui.la \
19 @MENU_LIB@ @FORM_LIB@ @CURSES_LIB@
21 noinst_LTLIBRARIES += ui/ncurses/libpbnc.la
23 ui_ncurses_libpbnc_la_SOURCES = \
24 ui/ncurses/nc-config.c \
25 ui/ncurses/nc-config.h \
26 ui/ncurses/nc-config-help.c \
29 ui/ncurses/nc-cui-help.c \
30 ui/ncurses/nc-boot-editor.c \
31 ui/ncurses/nc-boot-editor.h \
32 ui/ncurses/nc-boot-editor-help.c \
33 ui/ncurses/nc-helpscreen.c \
34 ui/ncurses/nc-helpscreen.h \
35 ui/ncurses/nc-lang.c \
36 ui/ncurses/nc-lang.h \
37 ui/ncurses/nc-menu.c \
38 ui/ncurses/nc-menu.h \
41 ui/ncurses/nc-sysinfo.c \
42 ui/ncurses/nc-sysinfo.h \
43 ui/ncurses/nc-sysinfo-help.c \
44 ui/ncurses/nc-textscreen.c \
45 ui/ncurses/nc-textscreen.h \
46 ui/ncurses/nc-widgets.c \
47 ui/ncurses/nc-widgets.h \
48 ui/ncurses/nc-add-url.c \
49 ui/ncurses/nc-add-url.h \
50 ui/ncurses/nc-add-url-help.c \
51 ui/ncurses/nc-subset.c \
52 ui/ncurses/nc-subset.h \
53 ui/ncurses/nc-statuslog.c \
54 ui/ncurses/nc-statuslog.h
57 sbin_PROGRAMS += ui/ncurses/petitboot-nc
60 sbin_PROGRAMS += ui/ncurses/petitboot-ps3-nc
63 ui_ncurses_petitboot_nc_CPPFLAGS = \
65 -DLOCALEDIR='"$(localedir)"' \
68 ui_ncurses_petitboot_nc_SOURCES = ui/ncurses/generic-main.c
69 ui_ncurses_petitboot_nc_LDADD = $(ui_ncurses_common_libs)
71 ui_ncurses_petitboot_ps3_nc_SOURCES = ui/ncurses/ps3-main.c
72 ui_ncurses_petitboot_ps3_nc_LDADD = $(ui_ncurses_common_libs) \
73 $(libdir)/libps3-utils.so
75 EXTRA_DIST += ui/ncurses/ui-guidelines.text