diff options
-rw-r--r-- | tests/proptest/Android.mk | 13 | ||||
-rw-r--r-- | tests/proptest/Makefile.am | 6 | ||||
-rw-r--r-- | tests/proptest/Makefile.sources | 2 |
3 files changed, 19 insertions, 2 deletions
diff --git a/tests/proptest/Android.mk b/tests/proptest/Android.mk new file mode 100644 index 00000000..d0ab5c92 --- /dev/null +++ b/tests/proptest/Android.mk | |||
@@ -0,0 +1,13 @@ | |||
1 | LOCAL_PATH := $(call my-dir) | ||
2 | |||
3 | include $(CLEAR_VARS) | ||
4 | include $(LOCAL_PATH)/Makefile.sources | ||
5 | |||
6 | LOCAL_SRC_FILES := $(PROPTEST_FILES) | ||
7 | |||
8 | LOCAL_MODULE := proptest | ||
9 | |||
10 | LOCAL_SHARED_LIBRARIES := libdrm | ||
11 | LOCAL_STATIC_LIBRARIES := libdrm_util | ||
12 | |||
13 | include $(BUILD_EXECUTABLE) | ||
diff --git a/tests/proptest/Makefile.am b/tests/proptest/Makefile.am index 14288206..3fde46be 100644 --- a/tests/proptest/Makefile.am +++ b/tests/proptest/Makefile.am | |||
@@ -1,3 +1,5 @@ | |||
1 | include Makefile.sources | ||
2 | |||
1 | AM_CFLAGS = \ | 3 | AM_CFLAGS = \ |
2 | $(WARN_CFLAGS)\ | 4 | $(WARN_CFLAGS)\ |
3 | -I$(top_srcdir)/include/drm \ | 5 | -I$(top_srcdir)/include/drm \ |
@@ -12,8 +14,8 @@ noinst_PROGRAMS = \ | |||
12 | proptest | 14 | proptest |
13 | endif | 15 | endif |
14 | 16 | ||
15 | proptest_SOURCES = \ | 17 | proptest_SOURCES = $(PROPTEST_FILES) |
16 | proptest.c | 18 | |
17 | proptest_LDADD = \ | 19 | proptest_LDADD = \ |
18 | $(top_builddir)/libdrm.la \ | 20 | $(top_builddir)/libdrm.la \ |
19 | $(top_builddir)/tests/util/libutil.la | 21 | $(top_builddir)/tests/util/libutil.la |
diff --git a/tests/proptest/Makefile.sources b/tests/proptest/Makefile.sources new file mode 100644 index 00000000..446110d6 --- /dev/null +++ b/tests/proptest/Makefile.sources | |||
@@ -0,0 +1,2 @@ | |||
1 | PROPTEST_FILES := \ | ||
2 | proptest.c | ||