summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-04-14 05:26:28 +0000
committerMartin Pool <mbp@samba.org>2003-04-14 05:26:28 +0000
commitee855b3333e715f7ffa42d287ae84a219255bc51 (patch)
tree182df4440d6d289c34317f052a50031d1ecac0d0
parent9251f3f2372f32902c5268206fc136dc2846554d (diff)
downloadsamba-ee855b3333e715f7ffa42d287ae84a219255bc51.tar.gz
samba-ee855b3333e715f7ffa42d287ae84a219255bc51.tar.bz2
samba-ee855b3333e715f7ffa42d287ae84a219255bc51.zip
Add rules to build bin/t_snprintf, which exposes the snprintf test code.
(This used to be commit 7805641d6eafd00c8979e068b5820f6671f4de37)
-rw-r--r--source3/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index b7a2519ce7..f7c8d47862 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1112,6 +1112,9 @@ bin/t_doschar@EXEEXT@: bin/libbigballofmud.@SHLIBEXT@ torture/t_doschar.o
bin/t_push_ucs2@EXEEXT@: bin/libbigballofmud.@SHLIBEXT@ torture/t_push_ucs2.o
$(CC) $(FLAGS) -o $@ $(LIBS) torture/t_push_ucs2.o -L ./bin -lbigballofmud
+bin/t_snprintf@EXEEXT@: lib/snprintf.c
+ $(CC) $(FLAGS) -o $@ -DTEST_SNPRINTF lib/snprintf.c -lm
+
install: installbin installman installscripts installdat installswat installmodules installclientlib
# DESTDIR is used here to prevent packagers wasting their time