]> git.ozlabs.org Git - petitboot/blob - ui/ncurses/Makefile.am
discover/grub2: Implement statement blocks
[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         $(DEFAULT_CPPFLAGS)
19
20 AM_CFLAGS = \
21         $(DEFAULT_CFLAGS)
22
23 common_libs = \
24         libpbnc.la \
25         $(top_builddir)/ui/common/libpbui.la \
26         $(top_builddir)/lib/libpbcore.la \
27         @MENU_LIB@ @FORM_LIB@ @CURSES_LIB@
28
29 noinst_LTLIBRARIES = libpbnc.la
30
31 libpbnc_la_SOURCES = \
32         nc-cui.c \
33         nc-cui.h \
34         nc-boot-editor.c \
35         nc-boot-editor.h \
36         nc-menu.c \
37         nc-menu.h \
38         nc-scr.c \
39         nc-scr.h
40
41 sbin_PROGRAMS = petitboot-nc
42
43 if ENABLE_PS3
44 sbin_PROGRAMS += petitboot-ps3-nc
45 endif
46
47
48 petitboot_nc_SOURCES = generic-main.c
49 petitboot_nc_LDADD = $(common_libs)
50
51 petitboot_ps3_nc_SOURCES = ps3-main.c
52 petitboot_ps3_nc_LDADD = $(common_libs) $(libdir)/libps3-utils.so
53 #petitboot_ps3_nc_LDFLAGS = -L$(libdir) -lps3-utils
54
55
56 MAINTAINERCLEANFILES = Makefile.in