From 731cd5526e5c732d51307b26e784f454a724a699 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Wed, 17 Dec 2008 10:09:49 -0800 Subject: libdrm: add mode setting files Add mode setting files to libdrm, including xf86drmMode.* and the new drm_mode.h header. Also add a couple of tests to sanity check the kernel interfaces and update code to support them. --- tests/modeprint/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/modeprint/Makefile (limited to 'tests/modeprint/Makefile') diff --git a/tests/modeprint/Makefile b/tests/modeprint/Makefile new file mode 100644 index 00000000..70788dc9 --- /dev/null +++ b/tests/modeprint/Makefile @@ -0,0 +1,14 @@ + +all: app + +#CFLAGS = -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \ +# -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \ + +app: modeprint.c + @gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm modeprint.c + +clean: + @rm -f app + +run: app + @sudo ./test -- cgit v1.2.3