summaryrefslogtreecommitdiff
path: root/frontends/windows/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-08-20 22:26:41 +0100
committerVincent Sanders <vince@kyllikki.org>2018-08-21 10:27:16 +0100
commita8248a7bb9555e558cb8c7eed1146c62ab024130 (patch)
tree7fddb99258c7bea07eb1c855b07fa175129c11bd /frontends/windows/Makefile
parent650ac58604104c3097c83718d32331f06779b52f (diff)
downloadnetsurf-a8248a7bb9555e558cb8c7eed1146c62ab024130.tar.gz
netsurf-a8248a7bb9555e558cb8c7eed1146c62ab024130.tar.bz2
Update windows frontend to use windows resources
Diffstat (limited to 'frontends/windows/Makefile')
-rw-r--r--frontends/windows/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/windows/Makefile b/frontends/windows/Makefile
index f6995910d..d22e17112 100644
--- a/frontends/windows/Makefile
+++ b/frontends/windows/Makefile
@@ -33,11 +33,15 @@ WSCFLAGS := -std=c99 -Dnswin32 -DCURL_STATICLIB -DCARES_STATICLIB -g
CFLAGS += $(WSCFLAGS)
LDFLAGS += $(WSCFLAGS)
+# The filter and target for split messages
+MESSAGES_FILTER=win
+MESSAGES_TARGET=$(FRONTEND_RESOURCES_DIR)
+
# ----------------------------------------------------------------------------
# built-in resource setup
# ----------------------------------------------------------------------------
-$(OBJROOT)/windows_resource.o: $(FRONTEND_RESOURCES_DIR)/resource.rc
+$(OBJROOT)/windows_resource.o: $(FRONTEND_RESOURCES_DIR)/resource.rc $(addsuffix /Messages,$(addprefix $(MESSAGES_TARGET)/,$(MESSAGES_LANGUAGES)))
$(VQ)echo " WINDRES: compiling windows resources"
${Q}$(WINDRES) $< -O coff -o $@
@@ -49,7 +53,7 @@ S_RESOURCES := windows_resource.o
# sources purely for the windows build
S_FRONTEND := main.c window.c gui.c drawable.c plot.c findfile.c \
- font.c bitmap.c about.c prefs.c download.c filetype.c file.c \
+ font.c bitmap.c about.c prefs.c download.c fetch.c file.c \
local_history.c schedule.c windbg.c pointers.c login.c \
corewindow.c hotlist.c cookies.c global_history.c ssl_cert.c