u-boot/board/MAI/bios_emulator/scitech/makedefs/bc3.mk
wdenk c7de829c79 * Patch by Thomas Frieden, 13 Nov 2002:
Add code for AmigaOne board
  (preliminary merge to U-Boot, still WIP)

* Patch by Jon Diekema, 12 Nov 2002:
  - Adding URL for IEEE OUI lookup
  - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED
    being defined.
  - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and
    root-on-nfs macros are designed to switch how the default boot
    method gets defined.
2002-11-19 11:04:11 +00:00

102 lines
2.9 KiB
Makefile

#############################################################################
#
# SciTech Multi-platform Graphics Library
#
# ========================================================================
#
# The contents of this file are subject to the SciTech MGL Public
# License Version 1.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.scitechsoft.com/mgl-license.txt
#
# Software distributed under the License is distributed on an
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Copyright (C) 1991-1998 SciTech Software, Inc.
#
# The Initial Developer of the Original Code is SciTech Software, Inc.
# All Rights Reserved.
#
# ========================================================================
#
# Descripton: Generic DMAKE startup makefile definitions file. Assumes
# that the SCITECH environment variable has been set to point
# to where all our stuff is installed. You should not need
# to change anything in this file.
#
# Borland C++ 3.1 version. Supports 16 bit DOS development.
#
#############################################################################
# Include standard startup script definitions
.IMPORT: SCITECH
.INCLUDE: "$(SCITECH)\makedefs\startup.mk"
# Default commands for compiling, assembling linking and archiving
CC := bcc
CFLAGS := -ml -H=bcc.sym -i60 -d
.IF $(USE_TASM32)
AS := tasm32
.ELIF $(USE_TASMX)
AS := tasmx
.ELSE
AS := tasm
.ENDIF
ASFLAGS := /t /mx /m /iINCLUDE /i$(SCITECH)\INCLUDE
LD := bclink tlink.exe
LDFLAGS := -c
LIB := tlib
LIBFLAGS := /C
# Optionally turn on debugging information
.IF $(DBG)
CFLAGS += -v
LDFLAGS += -v
ASFLAGS += /zi
LIBFLAGS += /P128
.ELSE
LDFLAGS += -x
ASFLAGS += /q
.END
# Optionally turn on optimisations
.IF $(OPT)
CFLAGS += -3 -O2
.ELIF $(OPT_SIZE)
CFLAGS += -3 -O1
.END
# Optionally turn on direct i387 FPU instructions
.IF $(FPU)
CFLAGS += -f287 -DFPU387
ASFLAGS += -DFPU387
.END
# Optionally compile a beta release version of a product
.IF $(BETA)
CFLAGS += -DBETA
ASFLAGS += -DBETA
.END
USE_REALDOS := 1
# Define the default libraries to link with
DEF_LIBS := mathl.lib cl.lib
# Define the base directory for library files
.IF $(CHECKED)
LIB_BASE_DIR := $(SCITECH_LIB)\lib\debug
CFLAGS += -DCHECKED=1
.ELSE
LIB_BASE_DIR := $(SCITECH_LIB)\lib\release
.ENDIF
# Define where to install library files
LIB_DEST := $(LIB_BASE_DIR)\dos16\bc3
# Define which file contains our rules
RULES_MAK := bc3.mk