]> git.ozlabs.org Git - petitboot/blob - ui/ncurses/Makefile.am
06f272f5624faed7bf3587089217974a1662dd03
[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 AM_CPPFLAGS = \
16         -I$(top_srcdir) \
17         -I$(top_srcdir)/lib \
18         -DLOCALEDIR='"$(localedir)"' \
19         $(DEFAULT_CPPFLAGS)
20
21 AM_CFLAGS = \
22         $(DEFAULT_CFLAGS)
23
24 common_libs = \
25         libpbnc.la \
26         $(top_builddir)/ui/common/libpbui.la \
27         $(top_builddir)/lib/libpbcore.la \
28         @MENU_LIB@ @FORM_LIB@ @CURSES_LIB@
29
30 noinst_LTLIBRARIES = libpbnc.la
31
32 libpbnc_la_SOURCES = \
33         nc-config.c \
34         nc-config.h \
35         nc-config-help.c \
36         nc-cui.c \
37         nc-cui.h \
38         nc-cui-help.c \
39         nc-boot-editor.c \
40         nc-boot-editor.h \
41         nc-boot-editor-help.c \
42         nc-helpscreen.c \
43         nc-helpscreen.h \
44         nc-lang.c \
45         nc-lang.h \
46         nc-menu.c \
47         nc-menu.h \
48         nc-scr.c \
49         nc-scr.h \
50         nc-sysinfo.c \
51         nc-sysinfo.h \
52         nc-sysinfo-help.c \
53         nc-textscreen.c \
54         nc-textscreen.h \
55         nc-widgets.c \
56         nc-widgets.h
57
58 sbin_PROGRAMS = petitboot-nc
59
60 if ENABLE_PS3
61 sbin_PROGRAMS += petitboot-ps3-nc
62 endif
63
64
65 petitboot_nc_SOURCES = generic-main.c
66 petitboot_nc_LDADD = $(common_libs)
67
68 petitboot_ps3_nc_SOURCES = ps3-main.c
69 petitboot_ps3_nc_LDADD = $(common_libs) $(libdir)/libps3-utils.so
70 #petitboot_ps3_nc_LDFLAGS = -L$(libdir) -lps3-utils
71
72 EXTRA_DIST = ui-guidelines.text
73
74 MAINTAINERCLEANFILES = Makefile.in