summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-06-22 10:49:34 +0100
committerVincent Sanders <vince@kyllikki.org>2020-06-27 23:30:54 +0100
commit421d796e9b462939de9e9e116e09e9384a8ba5bc (patch)
tree4b74bebbfa11814c6b58b03e6c45e93cd621b838 /utils/Makefile
parent1dab82d655b8f54e344f21f062495d5cb35c8c4c (diff)
downloadnetsurf-421d796e9b462939de9e9e116e09e9384a8ba5bc.tar.gz
netsurf-421d796e9b462939de9e9e116e09e9384a8ba5bc.tar.bz2
split tools and utils
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile64
1 files changed, 0 insertions, 64 deletions
diff --git a/utils/Makefile b/utils/Makefile
index a0b73d72b..b186cd116 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -24,67 +24,3 @@ S_UTILS := \
utils.c
S_UTILS := $(addprefix utils/,$(S_UTILS))
-
-
-# lib png build compiler flags
-ifeq ($(HOST),OpenBSD)
- BUILD_LIBPNG_CFLAGS += $(shell $(PKG_CONFIG) --cflags libpng)
- BUILD_LIBPNG_LDFLAGS += $(shell $(PKG_CONFIG) --libs libpng)
-else
- ifeq ($(HOST),FreeBSD)
- BUILD_LIBPNG_CFLAGS += $(shell $(PKG_CONFIG) --cflags libpng)
- BUILD_LIBPNG_LDFLAGS += $(shell $(PKG_CONFIG) --libs libpng)
- else
- BUILD_LIBPNG_CFLAGS +=
- BUILD_LIBPNG_LDFLAGS += -lpng
- endif
-endif
-
-
-# Build tool to convert file to comiled data
-#
-$(TOOLROOT)/xxd: utils/xxd.c $(TOOLROOT)/created
- $(VQ)echo "BUILD CC: $@"
- $(Q)$(BUILD_CC) $(BUILD_CFLAGS) -o $@ $< $(BUILD_LDFLAGS)
-
-
-# Build tool to filter messages
-#
-$(TOOLROOT)/split-messages: utils/split-messages.c $(TOOLROOT)/created
- $(VQ)echo "BUILD CC: $@"
- $(Q)$(BUILD_CC) $(BUILD_CFLAGS) -o $@ $< $(BUILD_LDFLAGS) -lz
-
-
-# Build tool to convert image bitmaps to source code.
-#
-$(TOOLROOT)/convert_image: utils/convert_image.c $(TOOLROOT)/created
- $(VQ)echo "BUILD CC: $@"
- $(Q)$(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_LIBPNG_CFLAGS) -o $@ $< $(BUILD_LDFLAGS) $(BUILD_LIBPNG_LDFLAGS)
-
-
-# Build too to perform font conversion
-#
-$(TOOLROOT)/convert_font: utils/convert_font.c $(TOOLROOT)/created
- $(VQ)echo "BUILD CC: $@"
- $(Q)$(BUILD_CC) $(BUILD_CFLAGS) -o $@ $<
-
-
-# idna
-#
-IDNA_UNICODE_MAJOR=11
-
-utils/DerivedJoiningType.txt:
- curl -o $@ "https://www.unicode.org/Public/$(IDNA_UNICODE_MAJOR).0.0/ucd/extracted/DerivedJoiningType.txt"
-
-utils/IdnaMappingTable.txt:
- curl -o $@ "https://www.unicode.org/Public/idna/$(IDNA_UNICODE_MAJOR).0.0/IdnaMappingTable.txt"
-
-utils/idna-tables-properties.csv:
- curl -o $@ "https://www.iana.org/assignments/idna-tables-$(IDNA_UNICODE_MAJOR).0.0/idna-tables-properties.csv"
-
-# the idna props header must be explicitly rebuilt
-ifneq ($(filter $(MAKECMDGOALS),utils/idna_props.h),)
-utils/idna_props.h: utils/DerivedJoiningType.txt utils/idna-tables-properties.csv
- $(VQ)echo " IDNA: $@"
- $(Q)$(PERL) utils/idna-derived-props-gen.pl -o $@ -p utils/idna-tables-properties.csv -j utils/DerivedJoiningType.txt
-endif