]> git.ozlabs.org Git - petitboot/blob - ui/twin/Makefile.am
discover: Track both configured and current autoboot settings
[petitboot] / ui / twin / 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_twin_common_libs = \
16         ui/twin/libpbt.la \
17         ui/common/libpbui.la \
18         $(core_lib)
19
20 ui_twin_common_cppflags = \
21         $(DEFAULT_CPPFLAGS) \
22         -I$(top_srcdir)/lib \
23         -DPB_ARTWORK_PATH='"$(pkgdatadir)/artwork/"'
24
25 noinst_LTLIBRARIES += ui/twin/libpbt.la
26
27 ui_twin_libpbt_la_SOURCES = \
28         ui/twin/pbt-client.c \
29         ui/twin/pbt-client.h \
30         ui/twin/pbt-main.c \
31         ui/twin/pbt-main.h \
32         ui/twin/pbt-menu.c \
33         ui/twin/pbt-menu.h \
34         ui/twin/pbt-scr.c \
35         ui/twin/pbt-scr.h
36
37 ui_twin_libpbt_la_CPPFLAGS = $(ui_twin_common_cppflags)
38
39 sbin_PROGRAMS += ui/twin/petitboot-twin
40
41 if ENABLE_PS3
42 sbin_PROGRAMS += ui/twin/petitboot-ps3-twin
43 endif
44
45
46 ui_twin_petitboot_twin_SOURCES = ui/twin/main-generic.c
47 ui_twin_petitboot_twin_CPPFLAGS = $(ui_twin_common_cppflags)
48 ui_twin_petitboot_twin_LDADD = $(ui_twin_common_libs) $(twin_LIBS)
49
50 ui_twin_petitboot_ps3_twin_SOURCES = ui/twin/main-ps3.c
51 ui_twin_petitboot_ps3_twin_CPPFLAGS = $(ui_twin_common_cppflags)
52 ui_twin_petitboot_ps3_twin_LDADD = $(ui_twin_common_libs) $(twin_LIBS) -lps3-utils
53