summaryrefslogtreecommitdiff
path: root/nomkdep
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-11-25 01:00:46 -0800
committerGuy Harris <guy@alum.mit.edu>2017-11-25 01:00:46 -0800
commit95b48602978df7f168c0fe12ab169f9dd9cd7b19 (patch)
tree85fafb24a4c3d5c3dd1e408ac0e220ed0b0bab9a /nomkdep
parent8a23ca98bc45017805169a94603dd3f235c23441 (diff)
downloadlibpcap-95b48602978df7f168c0fe12ab169f9dd9cd7b19.tar.gz
Fix "make depend" in rpcapd if we can't generate dependencies.
Have a "nomkdep" script that does nothing, and run it, rather than using the built-in ":" command. That way, in the rpcapd directory, we don't try to run ../: and fail, we try to run ../nomkdep and succeed.
Diffstat (limited to 'nomkdep')
-rwxr-xr-xnomkdep6
1 files changed, 6 insertions, 0 deletions
diff --git a/nomkdep b/nomkdep
new file mode 100755
index 00000000..bed73668
--- /dev/null
+++ b/nomkdep
@@ -0,0 +1,6 @@
+#!/bin/sh -
+#
+# Does nothing; used if we don't have a command-line flag to the compiler
+# to get it to generate dependencies.
+#
+exit 0