]> granicus.if.org Git - curl/commitdiff
Get the curl source files for Amiga from Makefile.inc
authorDan Fandrich <dan@coneharvesters.com>
Tue, 12 Oct 2010 19:12:40 +0000 (12:12 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 12 Oct 2010 19:13:32 +0000 (12:13 -0700)
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

index a242950f5a4658df66ff630a6673bed6d34e4b89..dc984811a017944ab0074c445e4a807c42a2a937 100644 (file)
@@ -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