Revision 8 (by gdshaw, 2004/03/11 03:52:01) Added compilation script.
# This file is part of the RISC OS Packaging Project distribution of curl.
# Copyright � 2004 Graham Shaw.
# Distribution and use are subject to the same terms as curl as a whole.

CPPFLAGS = -Icurl_build:include -include config-riscos.h
CCFLAGS = -mthrowback -munixlib -mpoke-function-name -O2

include fixdeps:Rules/make

OBJ = base64.o \
 connect.o \
 content_encoding.o \
 cookie.o \
 dict.o \
 easy.o \
 escape.o \
 file.o \
 formdata.o \
 ftp.o \
 getdate.o \
 getenv.o \
 getinfo.o \
 hash.o \
 hostip.o \
 http.o \
 http_chunks.o \
 http_digest.o \
 http_negotiate.o \
 http_ntlm.o \
 if2ip.o \
 inet_pton.o \
 krb4.o \
 ldap.o \
 llist.o \
 md5.o \
 memdebug.o \
 mprintf.o \
 multi.o \
 netrc.o \
 progress.o \
 security.o \
 sendf.o \
 share.o \
 speedcheck.o \
 ssluse.o \
 strequal.o \
 strtok.o \
 telnet.o \
 timeval.o \
 transfer.o \
 url.o \
 version.o

all: libcurl.a

libcurl.a: $(OBJ)
	mkdir -p a
	$(AR) -c a.libcurl $(OBJ:%.o=o.%)

include $(OBJ:.o=.d)