summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-01-02 12:01:23 +0000
committerJames Bursa <james@netsurf-browser.org>2004-01-02 12:01:23 +0000
commit0aa89828602e6963b06c7958ddb4b9d0f719d01d (patch)
tree1956f3021952ce5180101c0771c8fab999a10dd7
parent05d75afd898d44493717852e5f3c3eae406e5510 (diff)
downloadnetsurf-0aa89828602e6963b06c7958ddb4b9d0f719d01d.tar.gz
netsurf-0aa89828602e6963b06c7958ddb4b9d0f719d01d.tar.bz2
[project @ 2004-01-02 12:01:23 by bursa]
Add debugro build and pool.o. svn path=/import/netsurf/; revision=475
-rw-r--r--makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/makefile b/makefile
index 7bea5dec7..6b4236d5b 100644
--- a/makefile
+++ b/makefile
@@ -9,7 +9,7 @@ CC_DEBUG = gcc
OBJECTS_COMMON = cache.o content.o fetch.o fetchcache.o other.o \
css.o css_enum.o parser.o ruleset.o scanner.o \
box.o form.o html.o layout.o textplain.o \
- messages.o utils.o translit.o
+ messages.o utils.o translit.o pool.o
OBJECTS = $(OBJECTS_COMMON) \
browser.o loginlist.o netsurf.o \
htmlinstance.o htmlredraw.o \
@@ -22,6 +22,14 @@ OBJECTS = $(OBJECTS_COMMON) \
OBJECTS_DEBUG = $(OBJECTS_COMMON) \
netsurfd.o \
optionsd.o filetyped.o fontd.o
+OBJECTS_DEBUGRO = $(OBJECTS_COMMON) \
+ netsurfd.o \
+ constdata.o \
+ theme.o \
+ draw.o gif.o jpeg.o png.o sprite.o \
+ about.o filetype.o \
+ version.o \
+ optionsd.o fontd.o
DOCUMENTS = Themes.html
VPATH = content:css:desktop:render:riscos:utils:debug
WARNFLAGS = -W -Wall -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-qual \
@@ -41,6 +49,7 @@ OBJS=$(OBJECTS:%.o=$(OBJDIR)/%.o)
OBJDIR_DEBUG = $(shell $(CC_DEBUG) -dumpmachine)
SOURCES_DEBUG=$(OBJECTS_DEBUG:.o=.c)
OBJS_DEBUG=$(OBJECTS_DEBUG:%.o=$(OBJDIR_DEBUG)/%.o)
+OBJS_DEBUGRO=$(OBJECTS_DEBUGRO:%.o=$(OBJDIR)/%.o)
DOCDIR = !NetSurf/Docs
DOCS=$(DOCUMENTS:%.html=$(DOCDIR)/%.html)
@@ -55,6 +64,9 @@ netsurf.zip: !NetSurf/!RunImage,ff8 $(DOCS)
debug: netsurf
netsurf: $(OBJS_DEBUG)
$(CC_DEBUG) -o $@ $(LDFLAGS_DEBUG) $^
+debugro: nsdebug,ff8
+nsdebug,ff8: $(OBJS_DEBUGRO)
+ $(CC) -o $@ $(LDFLAGS) $^
# pattern rule for c source
$(OBJDIR)/%.o : %.c