Convert build to use automake
[petitboot] / ui / common / 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
21 AM_CFLAGS = \
22         $(DEFAULT_CFLAGS)
23
24 noinst_LTLIBRARIES = libpbui.la
25
26 libpbui_la_SOURCES = \
27         discover-client.c \
28         discover-client.h \
29         joystick.c \
30         joystick.h \
31         loader.c \
32         loader.h \
33         timer.c \
34         timer.h \
35         ui-system.c \
36         ui-system.h \
37         url.c \
38         url.h
39
40 if ENABLE_PS3
41 libpbui_la_SOURCES += \
42         ps3.c \
43         ps3.h
44 endif
45
46 artwork =
47
48 if WITH_TWIN
49 artwork += \
50         artwork/background.jpg \
51         artwork/cdrom.png \
52         artwork/cursor.gz \
53         artwork/hdd.png \
54         artwork/network.png \
55         artwork/system.png \
56         artwork/tux.png \
57         artwork/usbpen.png
58 endif
59
60 artworkdir = $(pkgdatadir)/artwork/
61 dist_artwork_DATA = $(artwork)
62
63 MAINTAINERCLEANFILES = Makefile.in