Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (35 sloc) 0.888 kb
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
1 #
2 # Adapted for djgpp2 / Watt-32 / DOS by
72da9219 » gknauf
2011-04-14 Changed email per Gisle's request.
3 # Gisle Vanem <gvanem@broadpark.no>
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
4 #
5
f671d051 » gknauf
2009-07-14 renamed generated config.h to curl_config.h in order to avoid clashes…
6 DEPEND_PREREQ = curl_config.h
d165da07 » Gisle Vanem
2007-02-27 Added TOPDIR variable. Put dependencies in external file.
7 TOPDIR = ..
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
8
9 include ../packages/DOS/common.dj
6e6748f0 » gknauf
2004-07-11 changed to use Makefile.inc since Gisle agreed.
10 include Makefile.inc
11
12 OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
13
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
14 CURL_LIB = libcurl.a
15
169e94d6 » yangtse
2009-06-13 improve usability with UNIX-like shells or a DOS command interpreters
16 # NOTE: if ../include/curl/curlbuild.h is missing, you're probably building
3f96b782 »
2010-03-24 update to current state
17 # this from a git checkout and then you need to run buildconf.bat first.
6f3e8173 »
2009-06-08 ../include/curl/curlbuild.h.dist is not present in release archives so
18
f671d051 » gknauf
2009-07-14 renamed generated config.h to curl_config.h in order to avoid clashes…
19 all: $(OBJ_DIR) curl_config.h $(CURL_LIB)
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
20
21 $(CURL_LIB): $(OBJECTS)
22 ar rs $@ $?
23
afd6e738 » yangtse
2010-12-03 build: lib/config.dos renamed to lib/config-dos.h
24 curl_config.h: config-dos.h
169e94d6 » yangtse
2009-06-13 improve usability with UNIX-like shells or a DOS command interpreters
25 $(COPY) $^ $@
26
27 # clean generated files
28 #
29 genclean:
f671d051 » gknauf
2009-07-14 renamed generated config.h to curl_config.h in order to avoid clashes…
30 - $(DELETE) curl_config.h
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
31
169e94d6 » yangtse
2009-06-13 improve usability with UNIX-like shells or a DOS command interpreters
32 # clean object files and subdir
33 #
34 objclean: genclean
35 - $(DELETE) $(OBJ_DIR)$(DS)*.o
36 - $(RMDIR) $(OBJ_DIR)
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
37
169e94d6 » yangtse
2009-06-13 improve usability with UNIX-like shells or a DOS command interpreters
38 # clean without removing built library
39 #
40 clean: objclean
41 - $(DELETE) depend.dj
42
43 # clean everything
44 #
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
45 realclean vclean: clean
169e94d6 » yangtse
2009-06-13 improve usability with UNIX-like shells or a DOS command interpreters
46 - $(DELETE) $(CURL_LIB)
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
47
d165da07 » Gisle Vanem
2007-02-27 Added TOPDIR variable. Put dependencies in external file.
48 -include depend.dj
4223f602 »
2003-12-19 djgpp fixes by Gisle Vanem
49
Something went wrong with that request. Please try again.