-
Notifications
You must be signed in to change notification settings - Fork 24
/
Makefile.in
87 lines (61 loc) · 2.24 KB
/
Makefile.in
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
## ******************************************************************************
## *
## * Copyright (C) 1999-2005, International Business Machines
## * Corporation and others. All Rights Reserved.
## *
## *******************************************************************************
## Makefile.in for ICU - idnbrowser
## Steven R. Loomis, Feb 17, 2003
srcdir=@srcdir@
top_srcdir=@top_srcdir@
## Build directory information
top_builddir = ..
subdir =idnbrowser
# srcdir must be set before this is included
include $(top_builddir)/icuapps.mk
## Extra files to remove for 'make clean'
CLEANFILES = *~
## Target information
TARGET = idnbrowser
CPPFLAGS += -I$(ICU_SOURCE)/common
CPPFLAGS += -I$(top_srcdir)/apputil
# ICULIBS includes all standard ICU libraries.
# if we wanted only part of the ICU, we could use (for example) just '$(LIBS) -licuuc -lusort' ...
# -ldl is needed for DLL version
ICULIBS := -L../apputil -lapputil $(LDFLAGS_ICUIO) $(ICULIBS)
# Want to make sure the usort.h dependency is not on the installed version ..
CPPFLAGS += -I$(top_srcdir)/locexp/util
OBJECTS = parseqs.o idnbrwsr.o
## List of standard targets
all: all-local
install: install-local
clean: clean-local
distclean : distclean-local
dist: dist-local
check: check-local
all-local: $(TARGET)
install-local: all-local install-target
install-target: all-local
$(MKINSTALLDIRS) $(BINDIR) $(DESTDIR)$(BINDIR)/data
$(INSTALL) $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
$(INSTALL) $(srcdir)/idna-header.html $(DESTDIR)$(BINDIR)/data
dist-local:
clean-local:
test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
rm -f $(OBJECTS) $(TARGET)
distclean-local: clean-local
rm -f Makefile $(DEPS)
check-local:
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
# ICULIBS includes all standard ICU libraries.
# if we wanted only part of the ICU, we could use (for example) just
# '$(LIBS) -licuuc -lusort' ...
-include local.mk
# Run against HTMLTidy
tidy: $(TARGET)
$(NBROWSEROPTS) $(INVOKE) ./$(TARGET) | tail +3 > idnbrwsr.html
tidy -utf8 -q idnbrwsr.html 2>&1 | sed -e "s%^idnbrwsr.html%"`pwd`"/idnbrwsr.html%g"
$(TARGET) : $(OBJECTS)
$(LINK.cc) -o $@ $^ $(ICULIBS)