From b80490641414983404eda65095224535a41a12ec Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 12 Oct 2010 12:12:40 -0700 Subject: [PATCH] Get the curl source files for Amiga from Makefile.inc This is similar to how it's done in the lib directory. The Amiga build appears to have been broken for a year because of a missing homedir.c --- src/makefile.amiga | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/makefile.amiga b/src/makefile.amiga index a242950f5..dc984811a 100644 --- a/src/makefile.amiga +++ b/src/makefile.amiga @@ -14,11 +14,14 @@ MANPAGE = ../docs/curl.1 README = ../docs/MANUAL MKHELP = ../src/mkhelp.pl -OBJS = getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c curlutil.c os-specific.c ../lib/rawstr.c ../lib/nonblock.c +top_srcdir = .. +include Makefile.inc -all: hugehelp.c $(OBJS:.c=.o) - $(CC) $(CFLAGS) -o cURL $(OBJS:.c=.o) $(LIBS) -Wl,-Map,cURL.map,--cref +OBJS = $(CURL_CFILES:.c=.o) $(CURLX_ONES:.c=.o) + +all: hugehelp.c $(OBJS) + $(CC) $(CFLAGS) -o cURL $(OBJS) $(LIBS) -Wl,-Map,cURL.map,--cref hugehelp.c: $(README) $(MANPAGE) mkhelp.pl rm -f hugehelp.c