2002-10-08 15:15:29 +04:00
|
|
|
# $Id: makefile,v 1.5 2002/10/08 11:15:29 bursa Exp $
|
2002-07-28 01:10:45 +04:00
|
|
|
|
2002-10-08 15:15:29 +04:00
|
|
|
all: !NetSurf/!RunImage,ff8
|
2002-07-28 01:10:45 +04:00
|
|
|
clean:
|
|
|
|
rm */objs-riscos/*
|
|
|
|
|
2002-09-11 18:24:02 +04:00
|
|
|
FLAGS = -g -Wall -W -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-qual \
|
2002-07-28 01:10:45 +04:00
|
|
|
-Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes \
|
|
|
|
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -std=c9x \
|
|
|
|
-I.. -I../../Tools/libxml2/include -I../../Tools/oslib \
|
2002-09-12 01:19:24 +04:00
|
|
|
-I../../Tools/curl/include -I../../Tools/libutf-8 \
|
2002-10-08 13:38:29 +04:00
|
|
|
-Dfd_set=long -mpoke-function-name -DNETSURF_DUMP
|
2002-07-28 01:10:45 +04:00
|
|
|
CC = riscos-gcc
|
|
|
|
OBJECTS = render/objs-riscos/utils.o render/objs-riscos/css.o \
|
|
|
|
render/objs-riscos/css_enum.o render/objs-riscos/box.o \
|
|
|
|
render/objs-riscos/layout.o \
|
2002-09-11 18:24:02 +04:00
|
|
|
riscos/objs-riscos/gui.o riscos/objs-riscos/font.o \
|
|
|
|
desktop/objs-riscos/browser.o desktop/objs-riscos/fetch.o \
|
|
|
|
desktop/objs-riscos/netsurf.o
|
|
|
|
HEADERS = render/box.h render/css.h render/css_enum.h \
|
|
|
|
render/layout.h render/utils.h riscos/font.h riscos/gui.h \
|
|
|
|
desktop/browser.h desktop/fetch.h desktop/gui.h desktop/netsurf.h
|
2002-09-12 01:19:24 +04:00
|
|
|
LIBS = ../../Tools/libxml2/libxml.ro ../../Tools/oslib/oslib.o \
|
|
|
|
../../Tools/curl/libcurl.ro ../../Tools/libutf-8/libutf-8.ro
|
2002-07-28 01:10:45 +04:00
|
|
|
|
2002-10-08 15:15:29 +04:00
|
|
|
!NetSurf/!RunImage,ff8: $(OBJECTS)
|
|
|
|
$(CC) $(FLAGS) -o !NetSurf/!RunImage,ff8 $(OBJECTS) $(LIBS)
|
2002-07-28 01:10:45 +04:00
|
|
|
|
|
|
|
render/css_enum.c render/css_enum.h: render/css_enums render/makeenum
|
2002-09-12 01:19:24 +04:00
|
|
|
cd ..; netsurf/render/makeenum netsurf/render/css_enum < netsurf/render/css_enums
|
2002-07-28 01:10:45 +04:00
|
|
|
|
|
|
|
render/objs-riscos/%.o: render/%.c $(HEADERS)
|
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
|
|
|
|
|
|
|
riscos/objs-riscos/%.o: riscos/%.c $(HEADERS)
|
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
2002-09-11 18:24:02 +04:00
|
|
|
|
|
|
|
desktop/objs-riscos/%.o: desktop/%.c $(HEADERS)
|
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
|
|
|
|