summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2006-01-05 22:01:38 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2006-01-05 22:01:38 +0000
commitca339fcc4d45001722c9eaf45843e53532f25012 (patch)
tree5f1cf22716366e266de5edc86aab867e5802b5f3 /makefile
parent43f8d0048ca4bbd91f8519651608f9562040d016 (diff)
downloadnetsurf-ca339fcc4d45001722c9eaf45843e53532f25012.tar.gz
netsurf-ca339fcc4d45001722c9eaf45843e53532f25012.tar.bz2
[project @ 2006-01-05 22:01:38 by joty]
Using GCCSDK_INSTALL_ENV/GCCSDK_INSTALL_CROSSBIN, support for GCCSDK Autobuilder and liboslib -> libOSLib32 svn path=/import/netsurf/; revision=1986
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/makefile b/makefile
index 183d4a33f..c5ab392a9 100644
--- a/makefile
+++ b/makefile
@@ -15,7 +15,7 @@
# gtk -- experimental gtk version
#
# "riscos", "riscos_small", "ncos", and "riscos_debug" can be compiled under
-# RISC OS, or cross-compiled using gccsdk.
+# RISC OS, or cross-compiled using GCCSDK.
OBJECTS_COMMON = content.o fetch.o fetchcache.o url_store.o # content/
OBJECTS_COMMON += css.o css_enum.o parser.o ruleset.o scanner.o # css/
@@ -78,14 +78,14 @@ OBJS_DEBUG=$(OBJECTS_DEBUG:%.o=$(OBJDIR_DEBUG)/%.o)
OBJS_DEBUGRO=$(OBJECTS_DEBUGRO:%.o=$(OBJDIR_RISCOS)/%.o)
-OBJDIR_GTK = $(shell gcc -dumpmachine)-gtk
+OBJDIR_GTK = $(shell /usr/bin/gcc -dumpmachine)-gtk
SOURCES_GTK=$(OBJECTS_GTK:.o=.c)
OBJS_GTK=$(OBJECTS_GTK:%.o=$(OBJDIR_GTK)/%.o)
# Inclusion of platform specific files has to occur after the OBJDIR stuff as
# that is refered to in the files
-OS = $(word 2,$(subst -, ,$(shell gcc -dumpmachine)))
+OS = $(word 2,$(subst -, ,$(shell /usr/bin/gcc -dumpmachine)))
ifeq ($(OS),riscos)
include riscos.mk
else
@@ -137,7 +137,7 @@ nsrodebug,ff8: $(OBJS_DEBUGRO)
gtk: nsgtk
nsgtk: $(OBJS_GTK)
- gcc -o nsgtk `pkg-config --cflags --libs gtk+-2.0 gthread-2.0` \
+ /usr/bin/gcc -o nsgtk `pkg-config --cflags --libs gtk+-2.0 gthread-2.0` \
$(LDFLAGS_DEBUG) $^
netsurf.zip: $(RUNIMAGE)
@@ -155,7 +155,7 @@ $(OBJDIR_DEBUG)/%.o : %.c
@$(CC_DEBUG) -o $@ -c $(CFLAGS_DEBUG) $<
$(OBJDIR_GTK)/%.o : %.c
@echo "==> $<"
- @gcc -o $@ -c $(CFLAGS_GTK) $<
+ @/usr/bin/gcc -o $@ -c $(CFLAGS_GTK) $<
# pattern rules for asm source
$(OBJDIR_RISCOS)/%.o : %.s