diff options
Diffstat (limited to 'tools/locktest')
-rw-r--r-- | tools/locktest/Makefile.am | 12 | ||||
-rw-r--r-- | tools/locktest/testlk.c | 4 |
2 files changed, 15 insertions, 1 deletions
diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am new file mode 100644 index 0000000..3156815 --- /dev/null +++ b/tools/locktest/Makefile.am @@ -0,0 +1,12 @@ +## Process this file with automake to produce Makefile.in + +CC=$(CC_FOR_BUILD) +LIBTOOL = @LIBTOOL@ --tag=CC + +noinst_PROGRAMS = testlk +testlk_SOURCES = testlk.c +testlk_CFLAGS=$(CFLAGS_FOR_BUILD) +testlk_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +testlk_LDFLAGS=$(LDFLAGS_FOR_BUILD) + +MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/locktest/testlk.c b/tools/locktest/testlk.c index 47eb40a..b392f71 100644 --- a/tools/locktest/testlk.c +++ b/tools/locktest/testlk.c @@ -1,4 +1,6 @@ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdlib.h> #include <stdio.h> |