diff options
Diffstat (limited to 'tests/modeprint')
-rw-r--r-- | tests/modeprint/Makefile | 14 | ||||
-rw-r--r-- | tests/modeprint/Makefile.am | 13 | ||||
-rw-r--r-- | tests/modeprint/test | 1 |
3 files changed, 13 insertions, 15 deletions
diff --git a/tests/modeprint/Makefile b/tests/modeprint/Makefile deleted file mode 100644 index 70788dc9..00000000 --- a/tests/modeprint/Makefile +++ /dev/null @@ -1,14 +0,0 @@ - -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 diff --git a/tests/modeprint/Makefile.am b/tests/modeprint/Makefile.am new file mode 100644 index 00000000..77f8ec78 --- /dev/null +++ b/tests/modeprint/Makefile.am @@ -0,0 +1,13 @@ +AM_CFLAGS = \ + -I$(top_srcdir)/shared-core \ + -I$(top_srcdir)/libdrm/intel/ \ + -I$(top_srcdir)/libdrm + +noinst_PROGRAMS = \ + modeprint + +modeprint_SOURCES = \ + modeprint.c +modeprint_LDADD = \ + $(top_builddir)/libdrm/libdrm.la \ + $(top_builddir)/libdrm/intel/libdrm_intel.la diff --git a/tests/modeprint/test b/tests/modeprint/test deleted file mode 100644 index bd1952cc..00000000 --- a/tests/modeprint/test +++ /dev/null @@ -1 +0,0 @@ -LD_PRELOAD=../../libdrm/.libs/libdrm.so ./app $@ |