From 7c52a3cf5243b42b632fd73789d1b484e81b9b0c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 22 Aug 2013 15:07:48 +0100 Subject: overlay: Rudiments of config files and option parsing Signed-off-by: Chris Wilson --- overlay/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'overlay/Makefile.am') diff --git a/overlay/Makefile.am b/overlay/Makefile.am index 75a3338a..52a61270 100644 --- a/overlay/Makefile.am +++ b/overlay/Makefile.am @@ -8,10 +8,9 @@ LDADD = $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS) $(OVERLAY_LIBS) intel_gpu_overlay_SOURCES = \ i915_pciids.h \ - overlay.h \ - overlay.c \ chart.h \ chart.c \ + config.c \ cpu-top.h \ cpu-top.c \ debugfs.h \ @@ -26,6 +25,8 @@ intel_gpu_overlay_SOURCES = \ gpu-freq.c \ igfx.h \ igfx.c \ + overlay.h \ + overlay.c \ power.h \ power.c \ rc6.h \ @@ -33,6 +34,7 @@ intel_gpu_overlay_SOURCES = \ $(NULL) if BUILD_OVERLAY_XLIB +both_x11_sources = x11/position.c x11/position.h AM_CFLAGS += $(OVERLAY_XLIB_CFLAGS) LDADD += $(OVERLAY_XLIB_LIBS) intel_gpu_overlay_SOURCES += \ @@ -41,6 +43,7 @@ intel_gpu_overlay_SOURCES += \ endif if BUILD_OVERLAY_XVLIB +both_x11_sources = x11/x11-position.c AM_CFLAGS += $(OVERLAY_XVLIB_CFLAGS) LDADD += $(OVERLAY_XVLIB_LIBS) intel_gpu_overlay_SOURCES += \ @@ -52,4 +55,6 @@ intel_gpu_overlay_SOURCES += \ $(NULL) endif +intel_gpu_overlay_SOURCES += $(both_x11_sources) + EXTRA_DIST=README -- cgit v1.2.3