aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/libjunbound/makefile.w32
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/libjunbound/makefile.w32')
-rw-r--r--src/native/libjunbound/makefile.w3225
1 files changed, 0 insertions, 25 deletions
diff --git a/src/native/libjunbound/makefile.w32 b/src/native/libjunbound/makefile.w32
deleted file mode 100644
index e57c030..0000000
--- a/src/native/libjunbound/makefile.w32
+++ /dev/null
@@ -1,25 +0,0 @@
-CC = g++ -O2
-TARGET_BASENAME = junbound.dll
-TARGET_DIR ?= ../../../lib/native/windows
-
-ifeq ($(wildcard /bin/cygpath.*),/bin/cygpath.exe)
- target.dir := $(shell cygpath --mixed "$(TARGET_DIR)")
- cygwin.target.dir := $(shell cygpath --unix "$(TARGET_DIR)")
-else
- target.dir := "$(TARGET_DIR)"
- cygwin.target.dir := "$(TARGET_DIR)"
-endif
-
-CPPFLAGS = \
- -Wall -Wreturn-type \
- -DWINVER=0x0502 -D_WIN32_WINNT=0x0502 \
- -DJNI_IMPLEMENTATION \
- -I"$(JAVA_HOME)/include" -I"$(JAVA_HOME)/include/win32" -Iwindows32
-
-LDFLAGS = -shared -static -Wl,--kill-at -Wl,--subsystem,windows
-LIBS = -Lwindows32 -lunbound -lldns -lcrypto -lws2_32 -lgdi32 -liphlpapi
-TARGET = $(TARGET_DIR)/$(TARGET_BASENAME)
-
-$(TARGET): src/*.cpp
- $(CC) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS)
- -strip $(TARGET)