605e05e3659f1bef3a9193218902c12edd551145
[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
39 bin_PROGRAMS = pb-twin-generic
40
41 if ENABLE_PS3
42 bin_PROGRAMS += pb-twin-ps3
43 endif
44
45
46 pb_twin_generic_SOURCES =
47 pb_twin_generic_LDADD = $(common_libs)
48
49 pb_twin_ps3_SOURCES = 
50 pb_twin_ps3_LDADD = $(common_libs)
51 pb_twin_ps3_LDFLAGS = -lps3-utils
52
53
54 MAINTAINERCLEANFILES = Makefile.in