From 4a81603d055a226807038737b776d34d330d2f13 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 16 Oct 2024 14:52:39 +0300 Subject: [PATCH] winws: move windows specific files to separate folder --- nfq/Makefile | 4 ++-- nfq/{ => windows/res}/winicon.o | Bin nfq/{ => windows/res}/winmanifest.o | Bin nfq/{ => windows}/windivert/libwindivert.a | Bin nfq/{ => windows}/windivert/windivert.h | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename nfq/{ => windows/res}/winicon.o (100%) rename nfq/{ => windows/res}/winmanifest.o (100%) rename nfq/{ => windows}/windivert/libwindivert.a (100%) rename nfq/{ => windows}/windivert/windivert.h (100%) diff --git a/nfq/Makefile b/nfq/Makefile index 783f437..7d0a947 100644 --- a/nfq/Makefile +++ b/nfq/Makefile @@ -5,7 +5,7 @@ CFLAGS_MAC = -mmacosx-version-min=10.8 CFLAGS_CYGWIN = -Wno-address-of-packed-member -static LIBS_LINUX = -lnetfilter_queue -lnfnetlink -lz LIBS_BSD = -lz -LIBS_CYGWIN = -lz -Lwindivert -lwindivert -lwlanapi -lole32 -loleaut32 -luuid +LIBS_CYGWIN = -lz -Lwindows/windivert -Iwindows -lwindivert -lwlanapi -lole32 -loleaut32 -luuid SRC_FILES = *.c crypto/*.c all: nfqws @@ -24,7 +24,7 @@ mac: $(SRC_FILES) rm -f dvtwsx dvtwsa cygwin: - $(CC) -s $(CFLAGS) $(CFLAGS_CYGWIN) -o winws $(SRC_FILES) $(LDFLAGS) $(LIBS_CYGWIN) winmanifest.o winicon.o + $(CC) -s $(CFLAGS) $(CFLAGS_CYGWIN) -o winws $(SRC_FILES) $(LDFLAGS) $(LIBS_CYGWIN) windows/res/winmanifest.o windows/res/winicon.o clean: rm -f nfqws dvtws winws.exe diff --git a/nfq/winicon.o b/nfq/windows/res/winicon.o similarity index 100% rename from nfq/winicon.o rename to nfq/windows/res/winicon.o diff --git a/nfq/winmanifest.o b/nfq/windows/res/winmanifest.o similarity index 100% rename from nfq/winmanifest.o rename to nfq/windows/res/winmanifest.o diff --git a/nfq/windivert/libwindivert.a b/nfq/windows/windivert/libwindivert.a similarity index 100% rename from nfq/windivert/libwindivert.a rename to nfq/windows/windivert/libwindivert.a diff --git a/nfq/windivert/windivert.h b/nfq/windows/windivert/windivert.h similarity index 100% rename from nfq/windivert/windivert.h rename to nfq/windows/windivert/windivert.h