summaryrefslogtreecommitdiff
path: root/net/ndpi/files/patch-tests_dga_Makefile.in
blob: c7e09995d8c5d0f41a36f57581eafd18788a43ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- tests/dga/Makefile.in.orig	2022-02-01 08:14:05 UTC
+++ tests/dga/Makefile.in
@@ -12,16 +12,13 @@ HEADERS=$(SRCHOME)/include/ndpi_api.h $(SRCHOME)/inclu
 OBJS=dga_evaluate
 PREFIX?=@prefix@
 
-ifneq ($(BUILD_MINGW),)
 all:
 	@echo 'DGA test disabled due to mingw build.'
 
-else
-
 all: dga_evaluate
 
 EXECUTABLE_SOURCES := dga_evaluate.c
-COMMON_SOURCES := $(filter-out $(EXECUTABLE_SOURCES),$(wildcard *.c ))
+COMMON_SOURCES=
 
 dga_evaluate: $(LIBNDPI) dga_evaluate.o
 	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) dga_evaluate.o $(LIBS) -o $@
@@ -42,5 +39,3 @@ distdir:
 
 distclean: clean
 	/bin/rm -f Makefile
-
-endif