summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-03-05 21:23:21 +1100
committer Vas Crabb <vas@vastheman.com>2020-03-05 21:23:21 +1100
commit5bce46bd7561ae1857c7e17614133f01f984ae78 (patch)
tree5df802bbf88b78604f359e9691f395fd2fea4bec /makefile
parent72082dc6d70b62ad921d5ac680c628c9ce158271 (diff)
Removed winpcap and cleaned up network module selection.
(nw) The pcap.h header itself has the problematic original BSD license, including the obnoxious advertising clause. Using tap/tun networking on Windows provides a much better experience, so the extra setup is worth it. This patch also allows you to enable pcap on platforms where it's disabled by default with USE_PCAP=1 if you really want to use it.
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefile b/makefile
index 679a818c4e1..4009e18e391 100644
--- a/makefile
+++ b/makefile
@@ -33,7 +33,8 @@
# SDL2_MULTIAPI = 1
# NO_USE_MIDI = 1
# NO_USE_PORTAUDIO = 1
-# DONT_USE_NETWORK = 1
+# USE_TAPTUN = 1
+# USE_PCAP = 1
# USE_QTDEBUG = 1
# NO_X11 = 1
# NO_USE_XINPUT = 1
@@ -713,6 +714,10 @@ ifdef DONT_USE_NETWORK
PARAMS += --DONT_USE_NETWORK='$(DONT_USE_NETWORK)'
endif
+ifdef USE_PCAP
+PARAMS += --USE_PCAP='$(USE_PCAP)'
+endif
+
ifdef NO_OPENGL
PARAMS += --NO_OPENGL='$(NO_OPENGL)'
endif