summaryrefslogtreecommitdiffstats
path: root/src/ccapi/test/Makefile
diff options
context:
space:
mode:
authorJustin Anderson <jander@mit.edu>2007-10-10 19:02:54 +0000
committerJustin Anderson <jander@mit.edu>2007-10-10 19:02:54 +0000
commitd8f767c12f18c229627a49d709ba08fa19bf1e10 (patch)
treee478902936d5f60602fb99dd00d959589d5e92bf /src/ccapi/test/Makefile
parentc2bff88257c8076f5a6ed15712863acc7eea3724 (diff)
simple multithreaded locking test for ccapi
ticket: 5459 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20112 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/test/Makefile')
-rw-r--r--src/ccapi/test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ccapi/test/Makefile b/src/ccapi/test/Makefile
index 31655f99d8..bd7d743ade 100644
--- a/src/ccapi/test/Makefile
+++ b/src/ccapi/test/Makefile
@@ -20,7 +20,7 @@ TEST_NAMES = test_constants test_cc_initialize test_cc_context_get_version test_
TEST_OBJECTS = $(patsubst %,$(OBJDIR)/%.o,$(TEST_NAMES))
-all: setup-test-dir build-base build-tests link-tests copy-script success-message
+all: setup-test-dir simple_lock_test build-base build-tests link-tests copy-script success-message
# compile base files used by all tests
build-base: $(OBJECTS)
@@ -28,7 +28,7 @@ build-base: $(OBJECTS)
# compile each test
build-tests: $(TEST_OBJECTS)
-# rule to compile files in src directory
+# rule to compile src files
$(OBJDIR)/%.o: %.c
$(CC) -c -o $@ $<
@@ -45,6 +45,9 @@ link-tests: $(TEST_NAMES)
$(TEST_NAMES): $(TEST_OBJECTS)
$(CC) -o $(TESTDIR)/$@ $(OBJDIR)/$@.o $(OBJECTS) $(LIBS)
+simple_lock_test:
+ $(CC) -o $(TESTDIR)/simple_lock_test simple_lock_test.c $(LIBS)
+
copy-script:
cp $(SCRIPT_NAME) $(DSTDIR)/$(SCRIPT_NAME)