summaryrefslogtreecommitdiffstats
path: root/ui/twin/Makefile.am
blob: 053e73c37512d9ca3fe6417cd8fd3b49da4e262d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; version 2 of the License.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/lib \
	$(DEFAULT_CPPFLAGS) \
	$(twin_CFLAGS)

AM_CFLAGS = \
	-DPB_ARTWORK_PATH='"$(pkgdatadir)/artwork/"' \
	$(DEFAULT_CFLAGS)  \
	 $(twin_CFLAGS)

AM_LDFLAGS = \
	$(twin_LIBS)

common_libs = \
	libpbt.la \
	$(top_builddir)/ui/common/libpbui.la \
	$(top_builddir)/lib/libpbcore.la

noinst_LTLIBRARIES = libpbt.la

libpbt_la_SOURCES = \
	pbt-client.c \
	pbt-client.h \
	pbt-main.c \
	pbt-main.h \
	pbt-menu.c \
	pbt-menu.h \
	pbt-scr.c \
	pbt-scr.h

sbin_PROGRAMS = petitboot-twin

if ENABLE_PS3
sbin_PROGRAMS += petitboot-ps3-twin
endif


petitboot_twin_SOURCES = main-generic.c
petitboot_twin_LDADD = $(common_libs)

petitboot_ps3_twin_SOURCES = main-ps3.c
petitboot_ps3_twin_LDADD = $(common_libs)
petitboot_ps3_twin_LDFLAGS = -lps3-utils


MAINTAINERCLEANFILES = Makefile.in
OpenPOWER on IntegriCloud