autotools: Use non-recursive make
[petitboot] / ui / common / Makefile.am
index e629f1c3720b2ce2f24f08781fa037afd0ba04e0..df6ea021144e2baa213a653eb7c5274509fe2a57 100644 (file)
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
 
-AM_CPPFLAGS = \
-       -I$(top_srcdir) \
-       -I$(top_srcdir)/lib \
-       -I$(includedir) \
-       $(DEFAULT_CPPFLAGS)
-
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
-
-noinst_LTLIBRARIES = libpbui.la
-
-libpbui_la_SOURCES = \
-       discover-client.c \
-       discover-client.h \
-       joystick.c \
-       joystick.h \
-       timer.c \
-       timer.h \
-       ui-system.c \
-       ui-system.h
+noinst_LTLIBRARIES += ui/common/libpbui.la
+
+ui_common_libpbui_la_SOURCES = \
+       ui/common/discover-client.c \
+       ui/common/discover-client.h \
+       ui/common/joystick.c \
+       ui/common/joystick.h \
+       ui/common/timer.c \
+       ui/common/timer.h \
+       ui/common/ui-system.c \
+       ui/common/ui-system.h
 
 if ENABLE_PS3
-libpbui_la_SOURCES += \
-       ps3.c \
-       ps3.h
+ui_common_libpbui_la_SOURCES += \
+       ui/common/ps3.c \
+       ui/common/ps3.h
 endif
 
 artwork =
 
 if WITH_TWIN
 artwork += \
-       $(srcdir)/artwork/background.jpg \
-       $(srcdir)/artwork/COPYING-tux \
-       $(srcdir)/artwork/tux.png \
-       $(srcdir)/artwork/oxygen/applications-system.png \
-       $(srcdir)/artwork/oxygen/configure.png \
-       $(srcdir)/artwork/oxygen/COPYING-oxygen \
-       $(srcdir)/artwork/oxygen/drive-harddisk.png \
-       $(srcdir)/artwork/oxygen/network-wired.png \
-       $(srcdir)/artwork/oxygen/utilities-terminal.png
+       $(srcdir)/ui/common/artwork/background.jpg \
+       $(srcdir)/ui/common/artwork/COPYING-tux \
+       $(srcdir)/ui/common/artwork/tux.png \
+       $(srcdir)/ui/common/artwork/oxygen/applications-system.png \
+       $(srcdir)/ui/common/artwork/oxygen/configure.png \
+       $(srcdir)/ui/common/artwork/oxygen/COPYING-oxygen \
+       $(srcdir)/ui/common/artwork/oxygen/drive-harddisk.png \
+       $(srcdir)/ui/common/artwork/oxygen/network-wired.png \
+       $(srcdir)/ui/common/artwork/oxygen/utilities-terminal.png
 endif
 
 artworkdir = $(pkgdatadir)/artwork/
 dist_artwork_DATA = $(artwork)
 
-MAINTAINERCLEANFILES = Makefile.in