summaryrefslogtreecommitdiff
path: root/lib/makefile.dj
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-11 23:43:32 +0000
committerGunter Knauf <gk@gknw.de>2004-07-11 23:43:32 +0000
commit6e6748f051f5f94d14deefd2c5c6849460cc01e4 (patch)
tree3a22ca255b0bd62e2205006f5fcbea8e41625bbf /lib/makefile.dj
parenta8d544d9b3301fa426f96010144d7c07307d464e (diff)
downloadcurl-6e6748f051f5f94d14deefd2c5c6849460cc01e4.tar.gz
changed to use Makefile.inc since Gisle agreed.
Diffstat (limited to 'lib/makefile.dj')
-rw-r--r--lib/makefile.dj16
1 files changed, 4 insertions, 12 deletions
diff --git a/lib/makefile.dj b/lib/makefile.dj
index 2cc13e275..930e8b940 100644
--- a/lib/makefile.dj
+++ b/lib/makefile.dj
@@ -7,19 +7,11 @@ DEPEND_PREREQ = config.h getdate.c
include ../packages/DOS/common.dj
-SOURCES = base64.c connect.c content_encoding.c cookie.c dict.c \
- easy.c escape.c file.c formdata.c ftp.c \
- getdate.c getenv.c getinfo.c hash.c hostip.c \
- hostip6.c hostip4.c hostares.c hostasyn.c hostsyn.c \
- if2ip.c krb4.c md5.c ldap.c llist.c \
- memdebug.c mprintf.c multi.c netrc.c progress.c \
- security.c sendf.c share.c speedcheck.c ssluse.c \
- strequal.c strtok.c telnet.c timeval.c transfer.c \
- strerror.c strtoofft.c url.c version.c http.c \
- http_chunks.c http_digest.c http_negotiate.c http_ntlm.c
+# Makefile.inc provides the CSOURCES and HHEADERS defines
+include Makefile.inc
+
+OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
-SOURCES := $(strip $(SOURCES))
-OBJECTS = $(addprefix $(OBJ_DIR)/, $(SOURCES:.c=.o))
CURL_LIB = libcurl.a
all: $(OBJ_DIR) config.h $(CURL_LIB)