4d6c899474
* DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto. * include/sys/locking.h: Ditto. * include/sys/param.h: Ditto. * include/sys/stat.h: Ditto. * include/sys/timeb.h: Ditto. * include/sys/types.h: Ditto. * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto.
72 lines
1.8 KiB
Plaintext
72 lines
1.8 KiB
Plaintext
#
|
|
# Jamfile for building various libraries and object files for the
|
|
# Minimalist GNU-Win32 package.
|
|
#* This file has no copyright assigned and is placed in the Public Domain.
|
|
#* This file is a part of the mingw-runtime package.
|
|
#* No warranty is given; refer to the file DISCLAIMER within the package.
|
|
#
|
|
|
|
# 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 ;
|
|
|