configure: Use AC_GNU_SOURCE
[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         $(DEFAULT_CPPFLAGS)
19
20 AM_CFLAGS = \
21         $(DEFAULT_CFLAGS)
22
23 noinst_LTLIBRARIES = libpbui.la
24
25 libpbui_la_SOURCES = \
26         discover-client.c \
27         discover-client.h \
28         joystick.c \
29         joystick.h \
30         timer.c \
31         timer.h \
32         ui-system.c \
33         ui-system.h
34
35 if ENABLE_PS3
36 libpbui_la_SOURCES += \
37         ps3.c \
38         ps3.h
39 endif
40
41 artwork =
42
43 if WITH_TWIN
44 artwork += \
45         $(srcdir)/artwork/background.jpg \
46         $(srcdir)/artwork/COPYING-tux \
47         $(srcdir)/artwork/tux.png \
48         $(srcdir)/artwork/oxygen/applications-system.png \
49         $(srcdir)/artwork/oxygen/configure.png \
50         $(srcdir)/artwork/oxygen/COPYING-oxygen \
51         $(srcdir)/artwork/oxygen/drive-harddisk.png \
52         $(srcdir)/artwork/oxygen/network-wired.png \
53         $(srcdir)/artwork/oxygen/utilities-terminal.png
54 endif
55
56 artworkdir = $(pkgdatadir)/artwork/
57 dist_artwork_DATA = $(artwork)
58
59 MAINTAINERCLEANFILES = Makefile.in