diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-17 19:38:33 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-17 19:38:33 +0000 |
commit | 1fd5e000ace55b323124c7e556a7a864b972a5c4 (patch) | |
tree | dc4fcf1e5e22a040716ef92c496b8d94959b2baa /winsup/mingw/jamfile | |
parent | 369d8a8fd5e887eca547bf34bccfdf755c9e5397 (diff) | |
download | cygnal-1fd5e000ace55b323124c7e556a7a864b972a5c4.tar.gz cygnal-1fd5e000ace55b323124c7e556a7a864b972a5c4.tar.bz2 cygnal-1fd5e000ace55b323124c7e556a7a864b972a5c4.zip |
import winsup-2000-02-17 snapshot
Diffstat (limited to 'winsup/mingw/jamfile')
-rw-r--r-- | winsup/mingw/jamfile | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/winsup/mingw/jamfile b/winsup/mingw/jamfile new file mode 100644 index 000000000..1769d952d --- /dev/null +++ b/winsup/mingw/jamfile @@ -0,0 +1,72 @@ +# +# Jamfile for building various libraries and object files for the +# Minimalist GNU-Win32 package. +# +# $Revision$ +# $Author$ +# $Date$ +# + +# Change this line if you have installed Mingw32 in another directory. +# +LOCATE_TARGET = /mingw32/lib ; + +RUNTIME default = crtdll ; + +# Build the mingw32 library which contains startup code and extra support +# routines. +# +Library libmingw32.a : + CRTglob.c + CRTfmode.c + CRTinit.c + dirent.c + dllmain.c + gccmain.c + main.c + ; + + +# Build the startup object files for normal applications and for DLLs. +# The crt2 and dllcrt2 versions are for MSVCRTxx.DLL runtimes. crt1 and +# dllcrt1 are for the CRTDLL.DLL runtime. +# +Object crt1.o : crt1.c ; +Object crt2.o : crt1.c ; + +CCFLAGS on crt2.o += -D__MSVCRT__ ; + +Object dllcrt1.o : dllcrt1.c ; +Object dllcrt2.o : dllcrt1.c ; + +CCFLAGS on dllcrt2.o += -D__MSVCRT__ ; + +DEPENDS all : crt1.o dllcrt1.o crt2.o dllcrt2.o ; + + +# Build an object file which contains a single global variable initialized +# so that globbing will not be performed on the command line. +# +Object CRT_noglob.o : CRT_noglob.c ; +LOCATE on CRT_noglob.o = $(LOCATE_TARGET) ; + +DEPENDS all : CRT_noglob.o ; + + +# Build a special import library which contains mostly the imports defined +# in moldname.def, but with their leading underscores stripped off, plus the +# extra code in the C modules included. +# +ImportLib libmoldname.a : moldname.def ctype_old.c string_old.c ; + +DLLNAME on libmoldname.a = $(RUNTIME).dll ; +DLLTOOLFLAGS on libmoldname.a += -U ; + + +# Build import libraries for the various runtimes. +# +ImportLib libcrtdll.a : crtdll.def ; +ImportLib libmsvcrt.a : msvcrt.def ; +ImportLib libmsvcrt20.a : msvcrt20.def ; +ImportLib libmsvcrt40.a : msvcrt40.def ; + |