2004-05-21 00:06:31 +04:00
|
|
|
CC = gcc
|
|
|
|
CC_DEBUG = gcc
|
2005-12-10 17:31:33 +03:00
|
|
|
ASM = gcc
|
2004-05-21 00:06:31 +04:00
|
|
|
|
2005-04-05 03:42:47 +04:00
|
|
|
PLATFORM_CFLAGS_RISCOS = -mthrowback -INSLibs:include -IOSLib:
|
|
|
|
PLATFORM_CFLAGS_DEBUG = -mthrowback -INSLibs:include -IOSLib:
|
2005-12-10 17:31:33 +03:00
|
|
|
PLATFORM_AFLAGS_RISCOS = -mthrowback -IOSLib:
|
2004-05-21 00:06:31 +04:00
|
|
|
|
2004-06-03 01:40:55 +04:00
|
|
|
LDFLAGS_RISCOS = NSLibs:lib/libxml2 NSLibs:lib/libz NSLibs:lib/libcurl \
|
2004-10-22 21:13:27 +04:00
|
|
|
NSLibs:lib/libssl NSLibs:lib/libcrypto NSLibs:lib/libcares \
|
2005-12-10 17:31:33 +03:00
|
|
|
NSLibs:lib/libmng NSLibs:lib/libjpeg NSLibs:lib/librufl NSLibs:lib/libpencil \
|
|
|
|
OSLib:o.OSLib32
|
2004-05-21 00:06:31 +04:00
|
|
|
LDFLAGS_SMALL = NSLibs:lib/libxml2 NSLibs:lib/libz NSLibs:lib/libcurl \
|
2004-07-26 00:48:25 +04:00
|
|
|
NSLibs:lib/libares NSLibs:lib/libmng \
|
2004-05-21 00:06:31 +04:00
|
|
|
NSLibs:lib/libjpeg OSLib:o.oslib32
|
2004-05-21 00:51:42 +04:00
|
|
|
|
2004-06-03 01:40:55 +04:00
|
|
|
RUNIMAGE = !NetSurf/!RunImage
|
2006-09-11 03:43:06 +04:00
|
|
|
|
|
|
|
# special cases
|
|
|
|
css/css_enum.c css/css_enum.h: css/css_enums css/makeenum
|
2007-05-31 02:39:54 +04:00
|
|
|
perl css/makeenum css/css_enum < css/css_enums
|
2006-09-11 03:43:06 +04:00
|
|
|
css/parser.c css/parser.h: css/parser.y
|
|
|
|
@dir css
|
|
|
|
-lemon parser.y
|
|
|
|
@dir ^
|
|
|
|
css/scanner.c: css/scanner.l
|
|
|
|
@dir css
|
|
|
|
re2c -s scanner.l > scanner.c
|
|
|
|
@dir ^
|
|
|
|
utils/translit.c: transtab
|
|
|
|
@dir utils
|
|
|
|
perl tt2code < transtab > translit.c
|
|
|
|
@dir ^
|
|
|
|
|
|
|
|
# remove generated files
|
|
|
|
clean:
|
|
|
|
-wipe $(OBJDIR_RISCOS).* ~CFR~V
|
|
|
|
-wipe $(OBJDIR_RISCOS_SMALL).* ~CFR~V
|
|
|
|
-wipe $(OBJDIR_DEBUG).* ~CFR~V
|
|
|
|
-wipe $(OBJDIR_GTK).* ~CFR~V
|
|
|
|
-wipe css.c.css_enum ~CFR~V
|
|
|
|
-wipe css.h.css_enum ~CFR~V
|
|
|
|
-wipe css.c.parser ~CFR~V
|
|
|
|
-wipe css.h.parser ~CFR~V
|
|
|
|
-wipe css.c.scanner ~CFR~V
|