summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/cmd-inet/usr.lib/mdnsd/Makefile3
-rw-r--r--usr/src/cmd/cmd-inet/usr.lib/mdnsd/PosixDaemon.c2
-rw-r--r--usr/src/lib/libdns_sd/java/com/apple/dnssd/Makefile8
3 files changed, 8 insertions, 5 deletions
diff --git a/usr/src/cmd/cmd-inet/usr.lib/mdnsd/Makefile b/usr/src/cmd/cmd-inet/usr.lib/mdnsd/Makefile
index 294f9a4622..5c6226d233 100644
--- a/usr/src/cmd/cmd-inet/usr.lib/mdnsd/Makefile
+++ b/usr/src/cmd/cmd-inet/usr.lib/mdnsd/Makefile
@@ -44,7 +44,8 @@ MDNSFLAGS= -DNOT_HAVE_DAEMON -DNOT_HAVE_SA_LEN \
-DLOG_PERROR=0 -DHAVE_SOLARIS -DHAVE_SOLARIS_ZONES \
-D_XPG4_2 -D__EXTENSIONS__ -DHAVE_BROKEN_RECVIF_NAME \
-DHAVE_IPV6=1 -Dasm=__asm -DMDNSD_NOROOT \
- -DPID_FILE=\"\" -DMDNSD_USER=\"noaccess\"
+ -DPID_FILE=\"\" -DMDNSD_USER=\"noaccess\" \
+ -DMDNS_VERSIONSTR_NODTS
include ../../../Makefile.cmd
diff --git a/usr/src/cmd/cmd-inet/usr.lib/mdnsd/PosixDaemon.c b/usr/src/cmd/cmd-inet/usr.lib/mdnsd/PosixDaemon.c
index b6a92caa5b..3938f8be80 100644
--- a/usr/src/cmd/cmd-inet/usr.lib/mdnsd/PosixDaemon.c
+++ b/usr/src/cmd/cmd-inet/usr.lib/mdnsd/PosixDaemon.c
@@ -364,6 +364,8 @@ void freeL(char *msg, void *x)
// For convenience when using the "strings" command, this is the last thing in the file
#if mDNSResponderVersion > 1
mDNSexport const char mDNSResponderVersionString[] = "mDNSResponder-" STRINGIFY(mDNSResponderVersion) " (" __DATE__ " " __TIME__ ") ";
+#elif MDNS_VERSIONSTR_NODTS
+mDNSexport const char mDNSResponderVersionString[] = "mDNSResponder (Engineering Build) ";
#else
mDNSexport const char mDNSResponderVersionString[] = "mDNSResponder (Engineering Build) (" __DATE__ " " __TIME__ ") ";
#endif
diff --git a/usr/src/lib/libdns_sd/java/com/apple/dnssd/Makefile b/usr/src/lib/libdns_sd/java/com/apple/dnssd/Makefile
index e25208d774..1da9c33f51 100644
--- a/usr/src/lib/libdns_sd/java/com/apple/dnssd/Makefile
+++ b/usr/src/lib/libdns_sd/java/com/apple/dnssd/Makefile
@@ -140,11 +140,11 @@ $(DOCEXAMPLESDESTDIR)/%: %
install_doc: $(CLASSES) $(DOCAPIDESTDIR)
-$(RM) -r $(DOCAPIDESTDIR)/*
cd $(TOP); umask 022; \
- $(JAVADOC) $(JAVASRCDIR)/*.java -classpath $(CLASSPATH) -d \
- $(DOCAPIDESTDIR) -public $(DNSSD_PKG)
+ $(JAVADOC) $(JAVASRCDIR)/*.java -notimestamp -classpath \
+ $(CLASSPATH) -d $(DOCAPIDESTDIR) -public $(DNSSD_PKG)
doc:
-@mkdir -p $(DOCAPIDIR)
cd $(TOP); umask 022; \
- $(JAVADOC) $(JAVASRCDIR)/*.java -classpath $(CLASSPATH) -d \
- $(DOCAPIDIR) -public $(DNSSD_PKG)
+ $(JAVADOC) $(JAVASRCDIR)/*.java -notimestamp -classpath \
+ $(CLASSPATH) -d $(DOCAPIDIR) -public $(DNSSD_PKG)