]> git.ozlabs.org Git - petitboot/blob - ui/ncurses/Makefile.am
ui: Fix typo: 'deamon' -> 'daemon'
[petitboot] / ui / ncurses / Makefile.am
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.
4 #
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.
9 #
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
13 #
14
15 ui_ncurses_common_libs = \
16         ui/ncurses/libpbnc.la \
17         ui/common/libpbui.la \
18         $(core_lib) \
19         @MENU_LIB@ @FORM_LIB@ @CURSES_LIB@
20
21 noinst_LTLIBRARIES += ui/ncurses/libpbnc.la
22
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 \
27         ui/ncurses/nc-cui.c \
28         ui/ncurses/nc-cui.h \
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 \
39         ui/ncurses/nc-scr.c \
40         ui/ncurses/nc-scr.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
54 sbin_PROGRAMS += ui/ncurses/petitboot-nc
55
56 if ENABLE_PS3
57 sbin_PROGRAMS += ui/ncurses/petitboot-ps3-nc
58 endif
59
60 ui_ncurses_petitboot_nc_CPPFLAGS = \
61         $(DEFAULT_CPPFLAGS) \
62         -DLOCALEDIR='"$(localedir)"' \
63         -I$(top_srcdir)/lib
64
65 ui_ncurses_petitboot_nc_SOURCES = ui/ncurses/generic-main.c
66 ui_ncurses_petitboot_nc_LDADD = $(ui_ncurses_common_libs)
67
68 ui_ncurses_petitboot_ps3_nc_SOURCES = ui/ncurses/ps3-main.c
69 ui_ncurses_petitboot_ps3_nc_LDADD = $(ui_ncurses_common_libs) \
70                                     $(libdir)/libps3-utils.so
71
72 EXTRA_DIST += ui/ncurses/ui-guidelines.text