summaryrefslogtreecommitdiff
path: root/windows/Makefile.target
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-05-05 22:28:51 +0100
committerVincent Sanders <vince@kyllikki.org>2016-05-15 13:44:34 +0100
commitd21447d096a320a08b3efb2b8768fad0dcdcfd64 (patch)
tree1a83814b7c9e94b2f13c473261f23dd3a17dee64 /windows/Makefile.target
parent2cbb337756d9af5bda4d594964d446439f602551 (diff)
downloadnetsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.gz
netsurf-d21447d096a320a08b3efb2b8768fad0dcdcfd64.tar.bz2
move frontends into sub directory
Diffstat (limited to 'windows/Makefile.target')
-rw-r--r--windows/Makefile.target90
1 files changed, 0 insertions, 90 deletions
diff --git a/windows/Makefile.target b/windows/Makefile.target
deleted file mode 100644
index 1f2dcba24..000000000
--- a/windows/Makefile.target
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# Makefile for NetSurf Windows target
-#
-# This file is part of NetSurf
-
-LDFLAGS += -L${GCCSDK_INSTALL_ENV}/lib
-CFLAGS += -I${GCCSDK_INSTALL_ENV}/include/
-
-NETSURF_FEATURE_NSSVG_CFLAGS := -DWITH_NS_SVG
-NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE
-NETSURF_FEATURE_BMP_CFLAGS := -DWITH_BMP
-NETSURF_FEATURE_GIF_CFLAGS := -DWITH_GIF
-NETSURF_FEATURE_PNG_CFLAGS := -DWITH_PNG
-
-$(eval $(call feature_enabled,BMP,-DWITH_BMP,-lnsbmp,BMP (libnsbmp)))
-$(eval $(call feature_enabled,GIF,-DWITH_GIF,-lnsgif,GIF (libnsgif)))
-$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG (libpng) ))
-$(eval $(call feature_enabled,NSSVG,-DWITH_NS_SVG,-lsvgtiny,SVG (libsvgtiny)))
-
-ifneq ($(PKG_CONFIG),)
- $(eval $(call pkg_config_find_and_add,zlib,ZLib))
- $(eval $(call pkg_config_find_and_add,libcurl,Curl))
- $(eval $(call pkg_config_find_and_add,libcares,Cares))
-else
- LDFLAGS += -lcurl -lz
-endif
-
-LDFLAGS += -lssl -lcrypto -lgnurx -lgdi32 -lcomctl32 -lws2_32 -lmsimg32 -mwindows
-
-CFLAGS += -U__STRICT_ANSI__ -mwin32
-# only windows versions after XP are supported
-CFLAGS += '-DWINVER=0x0501'
-CFLAGS += '-D_WIN32_WINNT=0x0501'
-CFLAGS += '-D_WIN32_WINDOWS=0x0501'
-CFLAGS += '-D_WIN32_IE=0x0501'
-
-#installed resource path
-CFLAGS += '-DNETSURF_WINDOWS_RESPATH="$(NETSURF_WINDOWS_RESPATH)"'
-
-WSCFLAGS := -std=c99 -DCURL_STATICLIB -DCARES_STATICLIB -g
-
-CFLAGS += $(WSCFLAGS)
-LDFLAGS += $(WSCFLAGS)
-
-# ----------------------------------------------------------------------------
-# built-in resource setup
-# ----------------------------------------------------------------------------
-
-$(OBJROOT)/windows_resource.o: windows/res/resource.rc
- $(VQ)echo " WINDRES: compiling windows resources"
- ${Q}$(WINDRES) $< -O coff -o $@
-
-S_RESOURCES := windows_resource.o
-
-# ----------------------------------------------------------------------------
-# Source file setup
-# ----------------------------------------------------------------------------
-
-# S_WINDOWS are sources purely for the windows build
-S_WINDOWS := 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 \
- localhistory.c schedule.c windbg.c pointers.c
-S_WINDOWS := $(addprefix windows/,$(S_WINDOWS))
-
-# This is the final source build list
-# Note this is deliberately *not* expanded here as common and image
-# are not yet available
-SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_WINDOWS) $(S_RESOURCES)
-EXETARGET := NetSurf.exe
-
-# ----------------------------------------------------------------------------
-# Install target
-# ----------------------------------------------------------------------------
-
-install-windows:
-
-# ----------------------------------------------------------------------------
-# Package target
-# ----------------------------------------------------------------------------
-
-package-windows: netsurf-installer.exe
-
-WIN_RES_OBJ := installer.nsi NetSurf.ico netsurf.png welcome.html default.css
-WIN_RES_INS_OBJ := $(addprefix windows/res/,$(WIN_RES_OBJ)) $(OBJROOT)/messages
-
-$(OBJROOT)/messages: resources/FatMessages
- $(Q)$(SPLIT_MESSAGES) -l en -p win -f messages resources/FatMessages > $@
-
-netsurf-installer.exe: $(EXETARGET) $(WIN_RES_INS_OBJ)
- makensis -V4 -NOCD windows/res/installer.nsi