PKCS11: Move syslog2stderr.c to programs/test
diff --git a/programs/.gitignore b/programs/.gitignore
index 05fb0b6..60942d76 100644
--- a/programs/.gitignore
+++ b/programs/.gitignore
@@ -49,7 +49,7 @@
test/udp_proxy
util/pem2der
util/strerror
-util/syslog2stderr.so
+test/syslog2stderr.so
x509/cert_app
x509/cert_req
x509/crl_app
diff --git a/programs/Makefile b/programs/Makefile
index 163059b..805ab20 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -278,14 +278,15 @@
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) x509/req_app.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
ifndef WINDOWS
-util/syslog2stderr.so: util/syslog2stderr.c
- echo " CC util/syslog2stderr.c"
+test/syslog2stderr.so: test/syslog2stderr.c
+ echo " CC test/syslog2stderr.c"
$(CC) $(CFLAGS) -fPIC -shared -o $@ $< -ldl
endif
clean:
ifndef WINDOWS
rm -f $(APPS)
+ rm -f test/syslog2stderr.so
else
del /S /Q /F *.o *.exe
endif
diff --git a/programs/util/syslog2stderr.c b/programs/test/syslog2stderr.c
similarity index 100%
rename from programs/util/syslog2stderr.c
rename to programs/test/syslog2stderr.c