From 5ae689a29633afc64474c414541c56a98a3876cf Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 16 Apr 2009 23:10:37 +0000 Subject: Purge debug target -- it spent most of its life broken. In future, we can use the framebuffer frontend with a null output handler, which gives us effectively the same thing with less special-case stuff. svn path=/trunk/netsurf/; revision=7107 --- Makefile | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 193c0728f..578aece44 100644 --- a/Makefile +++ b/Makefile @@ -91,11 +91,9 @@ RESOURCES = ifneq ($(TARGET),riscos) ifneq ($(TARGET),gtk) ifneq ($(TARGET),beos) - ifneq ($(TARGET),debug) - ifneq ($(TARGET),amiga) - ifneq ($(TARGET),framebuffer) - $(error Unknown TARGET "$(TARGET)", should either be "riscos", "gtk", "beos", "amiga", "debug" or "framebuffer") - endif + ifneq ($(TARGET),amiga) + ifneq ($(TARGET),framebuffer) + $(error Unknown TARGET "$(TARGET)", should either be "riscos", "gtk", "beos", "amiga", or "framebuffer") endif endif endif @@ -159,7 +157,7 @@ else PKG_CONFIG := #endif else - # Building for GTK or debug + # Building for GTK, Amiga, or Framebuffer PKG_CONFIG := pkg-config endif endif @@ -578,28 +576,6 @@ ifeq ($(TARGET),framebuffer) endif -# ---------------------------------------------------------------------------- -# Debug target setup -# ---------------------------------------------------------------------------- - -ifeq ($(TARGET),debug) - CFLAGS += -std=c99 -DDEBUG_BUILD \ - -D_BSD_SOURCE \ - -D_XOPEN_SOURCE=600 \ - -D_POSIX_C_SOURCE=200112L \ - -D_NETBSD_SOURCE \ - $(WARNFLAGS) -I. -g \ - $(shell $(PKG_CONFIG) --cflags libnsgif-0 libnsbmp-0) \ - $(shell xml2-config --cflags) - LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl) - - $(eval $(call pkg_config_find_and_add,RSVG,librsvg-2.0,SVG rendering)) - $(eval $(call pkg_config_find_and_add,ROSPRITE,librosprite,RISC OS sprite rendering)) - $(eval $(call pkg_config_find_and_add,HUBBUB,libhubbub-0,Hubbub HTML parser)) - -LDFLAGS += $(shell $(PKG_CONFIG) --libs libnsgif-0 libnsbmp-0) -endif - # ---------------------------------------------------------------------------- # General make rules # ---------------------------------------------------------------------------- -- cgit v1.2.3