summaryrefslogtreecommitdiff
path: root/lib/makefile.dj
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.mk: portable Makefile.m32Viktor Szakats2022-11-221-73/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update bare GNU Make `Makefile.m32` to: - Move objects into a subdirectory. - Add support for MS-DOS. Tested with DJGPP. - Add support for Watt-32 (on MS-DOS). - Add support for AmigaOS. - Rename `Makefile.m32` to `Makefile.mk` - Replace `ARCH` with `TRIPLET`. - Build `tool_hugehelp.c` proper (when tools are available). - Drop MS-DOS compatibility macro `USE_ZLIB` (replaced by `HAVE_LIBZ`) - Add support for `ZLIB_LIBS` to override `-lz`. - Omit object files when building examples. - Default `CC` to `gcc` once again, for convenience. (Caveat: compiler name `cc` cannot be set now.) - Set `-DCURL_NO_OLDIES` for examples, like autotools does. - Delete `makefile.dj` files. Notice the configuration details and defaults are not retained with the new method. - Delete `makefile.amiga` files. A successful build needs a few custom options. We're also not retaining all build details from the existing Amiga make files. - Rename `Makefile.m32` to `Makefile.mk` to reflect that they are not Windows/MinGW32-specific anymore. - Add support for new `CFG` options: `-map`, `-debug`, `-trackmem` - Set `-DNDEBUG` by default. - Allow using `-DOS=...` in all `lib/config-*.h` headers, syncing this with `config-win32.h`. - Look for zlib parts in `ZLIB_PATH/include` and `ZLIB_PATH/lib` instead of bare `ZLIB_PATH`. Note that existing build configurations for MS-DOS and AmigaOS likely become incompatible with this change. Example AmigaOS configuration: ``` export CROSSPREFIX=/opt/amiga/bin/m68k-amigaos- export CC=gcc export CPPFLAGS='-DHAVE_PROTO_BSDSOCKET_H' export CFLAGS='-mcrt=clib2' export LDFLAGS="${CFLAGS}" export LIBS='-lnet -lm' make -C lib -f Makefile.mk make -C src -f Makefile.mk ``` Example MS-DOS configuration: ``` export CROSSPREFIX=/opt/djgpp/bin/i586-pc-msdosdjgpp- export WATT_PATH=/opt/djgpp/net/watt export ZLIB_PATH=/opt/djgpp export OPENSSL_PATH=/opt/djgpp export OPENSSL_LIBS='-lssl -lcrypt' export CFG=-zlib-ssl make -C lib -f Makefile.mk make -C src -f Makefile.mk ``` Closes #9764
* copyright: make repository REUSE compliantmax.mehl2022-06-131-1/+3
| | | | | | | | | | | Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
* copyright: fix missing year (range) updatesDaniel Stenberg2021-01-291-1/+1
|
* build: fix djgpp buildsGisle Vanem2021-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update build instructions in packages/DOS/README - Extend 'VPATH' with 'vquic' and 'vssh'. - Allow 'Makefile.dist' to build both 'lib' and 'src'. - Allow using the Windows hosted djgpp cross compiler to build for MSDOS under Windows. - 'USE_SSL' -> 'USE_OPENSSL' - Added a 'link_EXE' macro. Etc, etc. - Linking 'curl.exe' needs '$(CURLX_CFILES)' too. - Do not pick-up '../lib/djgpp/*.o' files. Recompile locally. - Generate a gzipped 'tool_hugehelp.c' if 'USE_ZLIB=1'. - Remove 'djgpp-clean' - Adapt to new C-ares directory structure - Use conditional variable assignments Clarify the 'conditional variable assignment' in 'common.dj'. Closes https://github.com/curl/curl/pull/6382
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg2020-03-241-1/+1
| | | | | | | | | Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* lib: fix the djgpp buildGisle Vanem2017-06-211-1/+3
| | | | Bug: https://github.com/curl/curl/commit/73a2fcea0b4adea6ba342cd7ed1149782c214ae3#commitcomment-22655993
* includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg2017-06-141-4/+1
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* build: fix for MSDOS/djgppGisle Vanem2015-10-211-1/+3
| | | | | | - Add a VPATH-statement for the vtls/*.c files. - Due to 'vtls/*.c', remove that subdir part from $(OBJECTS).
* copyrights: update Gisle Vanem's emailDaniel Stenberg2015-10-201-1/+1
|
* makefiles: Added our standard copyright headerSteve Holme2015-08-301-2/+24
| | | | | But kept the original author, when they were specified in a comment, as the initial copyright holder.
* Changed email per Gisle's request.Guenter Knauf2011-04-161-1/+1
|
* build: lib/config.dos renamed to lib/config-dos.hYang Tse2010-12-031-1/+1
|
* update to current stateDaniel Stenberg2010-03-241-2/+1
|
* renamed generated config.h to curl_config.h in order to avoid clashes when ↵Gunter Knauf2009-07-141-4/+4
| | | | libcurl is used with other projects which also have a config.h.
* improve usability with UNIX-like shells or a DOS command interpretersYang Tse2009-06-131-8/+21
|
* ../include/curl/curlbuild.h.dist is not present in release archives soDaniel Stenberg2009-06-081-4/+4
| | | | the makefile cannot depend on it
* Added rule to generate '../include/curl/curlbuild.h'.Gisle Vanem2008-08-211-1/+4
|
* Added TOPDIR variable. Put dependencies in external file.Gisle Vanem2007-02-271-257/+4
|
* Don't include zlib headers in dependency output.Gisle Vanem2006-08-291-73/+35
|
* Use config.dos instead. Updated generated dependencies.Gisle Vanem2006-08-291-153/+183
|
* Updated generated dependencies.Gisle Vanem2005-05-141-118/+135
|
* cut 'n paste errorDaniel Stenberg2005-04-071-2/+2
|
* GnuTLS updatesDaniel Stenberg2005-04-071-0/+4
|
* getdate.c is gone.Gisle Vanem2004-12-171-158/+204
|
* changed to use Makefile.inc since Gisle agreed.Gunter Knauf2004-07-111-12/+4
|
* Gisle's djgpp updatesDaniel Stenberg2004-06-291-167/+202
|
* Gisle Vanem's djgpp/MS-DOS updatesDaniel Stenberg2004-03-291-100/+126
|
* djgpp fixes by Gisle VanemDaniel Stenberg2003-12-191-157/+175
|
* Gisle Vanem made curl build with djgpp on DOS.Daniel Stenberg2003-05-211-0/+157