diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-16 23:10:37 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-16 23:10:37 +0000 |
commit | 5ae689a29633afc64474c414541c56a98a3876cf (patch) | |
tree | f6fa4d2b40b607c3d49a74ccab61e7c2a65110f4 /Makefile | |
parent | 0e0c6eb1ee81a9e4508fbaddcb05f7e545f1b040 (diff) | |
download | netsurf-5ae689a29633afc64474c414541c56a98a3876cf.tar.gz netsurf-5ae689a29633afc64474c414541c56a98a3876cf.tar.bz2 |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 32 |
1 files changed, 4 insertions, 28 deletions
@@ -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 @@ -579,28 +577,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 # ---------------------------------------------------------------------------- |