ntel-gpu-tools/lib/Makefile.am
Chris Wilson 95374225e8 Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system,
so it is useful to be able to compile those tools on those foreign
systems. Obviously, any program to interact with the PCI device or talk
to GEM will fail on a non-Intel system.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-08 12:17:31 +01:00

26 lines
406 B
Makefile

NULL=#
AM_CFLAGS = $(WARN_CFLAGS) -I$(srcdir)/..
libintel_tools_la_SOURCES = \
intel_batchbuffer.h \
intel_chipset.h \
intel_gpu_tools.h \
intel_mmio.c \
intel_pci.c \
intel_reg.h \
instdone.c \
instdone.h \
drmtest.h
if HAVE_DRM
libintel_tools_la_SOURCES += \
intel_batchbuffer.c \
intel_drm.c \
drmtest.c \
$(NULL)
AM_CFLAGS += $(DRM_CFLAGS)
endif
noinst_LTLIBRARIES = libintel_tools.la