2003-02-26 00:00:27 +03:00
|
|
|
# $Id: makefile,v 1.14 2003/02/25 21:00:27 bursa Exp $
|
2002-07-28 01:10:45 +04:00
|
|
|
|
2002-12-30 17:33:49 +03:00
|
|
|
all: !NetSurf/!RunImage,ff8
|
2002-07-28 01:10:45 +04:00
|
|
|
clean:
|
2002-12-30 17:30:20 +03:00
|
|
|
rm */arm-riscos-aof/*
|
2003-01-02 16:13:27 +03:00
|
|
|
|
2003-02-09 15:58:15 +03:00
|
|
|
setup: render/arm-riscos-aof riscos/arm-riscos-aof desktop/arm-riscos-aof \
|
|
|
|
content/arm-riscos-aof utils/arm-riscos-aof
|
2002-12-30 17:30:20 +03:00
|
|
|
%/arm-riscos-aof:
|
|
|
|
mkdir $@
|
2002-07-28 01:10:45 +04:00
|
|
|
|
2003-02-09 15:58:15 +03:00
|
|
|
FLAGS = -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 \
|
2003-02-09 15:58:15 +03:00
|
|
|
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline \
|
2002-12-30 17:30:20 +03:00
|
|
|
-I.. -I/usr/local/riscoslibs/include \
|
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
|
2003-02-09 15:58:15 +03:00
|
|
|
OBJECTS = \
|
|
|
|
content/arm-riscos-aof/cache.o content/arm-riscos-aof/content.o \
|
|
|
|
content/arm-riscos-aof/fetch.o content/arm-riscos-aof/fetchcache.o \
|
|
|
|
desktop/arm-riscos-aof/browser.o desktop/arm-riscos-aof/netsurf.o \
|
|
|
|
render/arm-riscos-aof/box.o render/arm-riscos-aof/css.o \
|
|
|
|
render/arm-riscos-aof/css_enum.o render/arm-riscos-aof/html.o \
|
|
|
|
render/arm-riscos-aof/layout.o render/arm-riscos-aof/textplain.o \
|
2003-02-26 00:00:27 +03:00
|
|
|
riscos/arm-riscos-aof/font.o riscos/arm-riscos-aof/gui.o \
|
|
|
|
riscos/arm-riscos-aof/theme.o riscos/arm-riscos-aof/jpeg.o \
|
2003-02-09 15:58:15 +03:00
|
|
|
utils/arm-riscos-aof/utils.o
|
|
|
|
HEADERS = \
|
|
|
|
content/cache.h content/content.h content/fetch.h content/fetchcache.h \
|
|
|
|
desktop/browser.h desktop/gui.h desktop/netsurf.h render/box.h \
|
|
|
|
render/css.h render/css_enum.h render/html.h render/layout.h \
|
|
|
|
riscos/font.h riscos/gui.h riscos/theme.h utils/log.h \
|
|
|
|
utils/utils.h render/textplain.h
|
2002-12-30 17:30:20 +03:00
|
|
|
LIBS = \
|
|
|
|
/usr/local/riscoslibs/libxml2/libxml2.ro \
|
|
|
|
/usr/local/riscoslibs/OSLib/OSLib.ro \
|
|
|
|
/usr/local/riscoslibs/curl/libcurl.ro \
|
2003-02-09 15:58:15 +03:00
|
|
|
/usr/local/riscoslibs/libutf-8/libutf-8.ro
|
|
|
|
# /usr/local/riscoslibs/ubiqx/ubiqx.ro
|
2002-07-28 01:10:45 +04:00
|
|
|
|
2003-01-02 16:13:27 +03:00
|
|
|
!NetSurf/!RunImage,ff8: $(OBJECTS)
|
2002-10-08 15:15:29 +04:00
|
|
|
$(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-12-30 17:30:20 +03:00
|
|
|
cd ..; /usr/bin/perl netsurf/render/makeenum netsurf/render/css_enum < netsurf/render/css_enums
|
2002-07-28 01:10:45 +04:00
|
|
|
|
2002-12-30 17:30:20 +03:00
|
|
|
render/arm-riscos-aof/%.o: render/%.c $(HEADERS)
|
2002-07-28 01:10:45 +04:00
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
|
|
|
|
2002-12-30 17:30:20 +03:00
|
|
|
riscos/arm-riscos-aof/%.o: riscos/%.c $(HEADERS)
|
2002-07-28 01:10:45 +04:00
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
2002-09-11 18:24:02 +04:00
|
|
|
|
2002-12-30 17:30:20 +03:00
|
|
|
desktop/arm-riscos-aof/%.o: desktop/%.c $(HEADERS)
|
2002-09-11 18:24:02 +04:00
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
|
|
|
|
2003-02-09 15:58:15 +03:00
|
|
|
content/arm-riscos-aof/%.o: content/%.c $(HEADERS)
|
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
|
|
|
|
|
|
|
utils/arm-riscos-aof/%.o: utils/%.c $(HEADERS)
|
|
|
|
$(CC) $(FLAGS) -o $@ -c $<
|
|
|
|
|
2002-10-12 17:05:16 +04:00
|
|
|
netsurf.zip: !NetSurf/!RunImage,ff8
|
2002-10-15 15:09:56 +04:00
|
|
|
rm netsurf.zip; riscos-zip -9vr, netsurf.zip !NetSurf
|
2002-10-12 17:05:16 +04:00
|
|
|
|