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