summaryrefslogtreecommitdiff
path: root/src/modules/processor/htmllinkextract/Makefile.W32
blob: f4161ba8e1d1209c34fa10534e55c0b85b5fb4c6 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TOPDIR = ..\..\..\..

SUBDIRS =

!INCLUDE $(TOPDIR)\makefiles\nmake\platform.mk

INCLUDE_CXXFLAGS = \
	/D_WIN32_WINNT=0x504 /DSHARED

INCLUDE_DIRS = \
	/I. \
	/I$(TOPDIR)\src \
	/I$(TOPDIR)\streamhtmlparser

INCLUDE_LDFLAGS = \

INCLUDE_LIBS = \
	$(TOPDIR)\streamhtmlparser\streamhtmlparser.lib \
	$(TOPDIR)\src\crawlingwolf.lib

DYNAMIC_MODULE = \
	mod_processor_htmllinkextract.dll

STATIC_LIB = \
	htmllinkextractprocessor.lib

CPP_OBJS = \
	HTMLLinkExtractProcessor.obj

!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk

$(STATIC_LIB): $(CPP_OBJS)
	$(LINK) /lib /nologo /out:$@ $(STATIC_LDFLAGS) $?

$(DYNAMIC_MODULE): $(CPP_OBJS)
	$(LINK) /dll /nologo /out:$@ $(LDFLAGS) $(LIBS) $?

local_all: $(STATIC_LIB) $(DYNAMIC_MODULE)

local_clean:
	@-erase $(LOCAL_STATIC_LIB) 2>NUL
	@-erase $(CPP_OBJS) 2>NUL

local_distclean:

local_test: