]> git.ozlabs.org Git - petitboot/blob - ui/twin/Makefile.am
af875009b9ae4826906ecc38b3d9ea367d426b07
[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 AM_CPPFLAGS = \
16         -I$(top_srcdir) \
17         -I$(top_srcdir)/lib \
18         -I$(includedir) \
19         $(DEFAULT_CPPFLAGS) \
20         $(twin_CFLAGS)
21
22 AM_CFLAGS = \
23         -DPB_ARTWORK_PATH='"$(pkgdatadir)/artwork/"' \
24         $(DEFAULT_CFLAGS)  \
25          $(twin_CFLAGS)
26
27 AM_LDFLAGS = \
28         $(twin_LIBS)
29
30 common_libs = \
31         libpbt.la \
32         $(top_builddir)/ui/common/libpbui.la \
33         $(top_builddir)/lib/libpbcore.la
34
35 noinst_LTLIBRARIES = libpbt.la
36
37 libpbt_la_SOURCES = \
38         pbt-client.c \
39         pbt-client.h \
40         pbt-main.c \
41         pbt-main.h \
42         pbt-menu.c \
43         pbt-menu.h \
44         pbt-scr.c \
45         pbt-scr.h
46
47 sbin_PROGRAMS = pb-twin
48
49 if ENABLE_PS3
50 sbin_PROGRAMS += pb-twin-ps3
51 endif
52
53
54 pb_twin_SOURCES = main-generic.c
55 pb_twin_LDADD = $(common_libs)
56
57 pb_twin_ps3_SOURCES = main-ps3.c
58 pb_twin_ps3_LDADD = $(common_libs)
59 pb_twin_ps3_LDFLAGS = -lps3-utils
60
61
62 MAINTAINERCLEANFILES = Makefile.in