summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/Makefile.win32
blob: 39f7f94dbb5372c4082e8dc3e7df100337262349 (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
47
48
49
50
51
52
#
# Makefile - makefile for Win32 Native HtDig
#
# TODO:  Clean up remove references to RNT & OLPP
#

RNTBASE = .

LIBDIRS = db htlib htcommon htnet htword htfuzzy
EXEDIRS = htdig htsearch httools

MAKE += -f Makefile.win32

all: $(addsuffix .build, $(OLPPDIR) $(LIBDIRS) $(EXEDIRS) $(MODDIRS))

%.build:
	$(MAKE) -C $*


clean: $(addsuffix .clean, $(OLPPDIR) $(LIBDIRS) $(EXEDIRS) $(MODDIRS))
	$(RM) -r bin/$(BUILDTARGET)
	$(RM) -r lib/$(BUILDTARGET)

%.clean:
	$(MAKE) -C $* clean

ctags:
	-rm -f tags
	-(find `abspath $(LIBDIRS) $(EXEDIRS) $(INCLDIRS)` -name '*.[chly]' -o -name '*.cpp' | grep -v ' ' | xargs $@ -a; sort -o tags tags)

etags:
	-rm -f TAGS
	-(find ../ -name "*.[ch]"  | xargs $@ -a)
	-(find ../ -name "*.cpp" | xargs $@ -a)
	-(find ../ -name "*.php" | xargs $@ -a)
	-(find ../ -name "*.phph" | xargs $@ -a)

cxref: $(CXREFDIRDEP) $(addsuffix .cxref, $(EXEDIRS) $(LIBDIRS))
	@echo Indexing
	@(cxref -index-all -O$(CXREFDIR) -Nrnw -html)

%.cxref:
	$(MAKE) -C $* cxref

lint: $(addsuffix .lint, $(LIBDIRS) $(EXEDIRS))

%.lint:
	$(MAKE) -C $* lint

depend:
	-(find $(RNTBASE) -name "*.d" -exec rm {} \;)