mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
version.h is now generated in the libs directory, so make sure it is correctly included in the compiler flags. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib $(PYTHON_CPPFLAGS) $(DRM_CFLAGS) $(CAIRO_CFLAGS) -I$(top_srcdir)
|
|
|
|
BUILT_SOURCES = chipset_wrap_python.c
|
|
|
|
dist_bin_SCRIPTS = quick_dump.py reg_access.py
|
|
bin_SCRIPTS = chipset.py
|
|
|
|
lib_LTLIBRARIES = I915ChipsetPython.la
|
|
I915ChipsetPython_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) $(PCIACCESS_LIBS)
|
|
I915ChipsetPython_la_SOURCES = chipset_wrap_python.c chipset_macro_wrap.c \
|
|
$(top_srcdir)/lib/igt_core.c \
|
|
$(top_srcdir)/lib/igt_debugfs.c \
|
|
$(top_srcdir)/lib/intel_os.c \
|
|
$(top_srcdir)/lib/intel_chipset.c \
|
|
$(top_srcdir)/lib/intel_reg_map.c \
|
|
$(top_srcdir)/lib/intel_mmio.c \
|
|
$(top_srcdir)/lib/intel_iosf.c
|
|
|
|
chipset_wrap_python.c chipset.py: chipset.i
|
|
$(AM_V_GEN)$(SWIG) $(AX_SWIG_PYTHON_OPT) -I/usr/include -I$(top_srcdir)/lib -o $@ $<
|
|
|
|
all-local: I915ChipsetPython.la
|
|
$(LN_S) -f .libs/I915ChipsetPython.so _chipset.so
|
|
|
|
CLEANFILES = chipset_wrap_python.c chipset.py _chipset.so
|
|
EXTRA_DIST = $(QUICK_DUMP_EXTRA_DIST) \
|
|
base_display.txt base_interrupt.txt base_other.txt base_power.txt base_rings.txt \
|
|
quick_dump.py \
|
|
reg_access.py \
|
|
chipset.i chipset.py
|