#
# THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY
# PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT
# TO USE THE GLIDE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX
# INTERACTIVE, INC. A COPY OF THIS LICENSE MAY BE OBTAINED FROM THE 
# DISTRIBUTOR OR BY CONTACTING 3DFX INTERACTIVE INC(info@3dfx.com). 
# THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER 
# EXPRESSED OR IMPLIED. SEE THE 3DFX GLIDE GENERAL PUBLIC LICENSE FOR A
# FULL TEXT OF THE NON-WARRANTY PROVISIONS.  
# 
# USE, DUPLICATION OR DISCLOSURE BY THE GOVERNMENT IS SUBJECT TO
# RESTRICTIONS AS SET FORTH IN SUBDIVISION (C)(1)(II) OF THE RIGHTS IN
# TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 252.227-7013,
# AND/OR IN SIMILAR OR SUCCESSOR CLAUSES IN THE FAR, DOD OR NASA FAR
# SUPPLEMENT. UNPUBLISHED RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF
# THE UNITED STATES.  
# 
# COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
#
# $Revision: 1.1.2.2 $
# $Date: 2005/04/02 19:26:43 $
#

# local defines, options, includes

LCDEFS		= -DSST96
ifeq ($(FX_SST96_ALT_FIFO),1)
LCDEFS		+= -DSST96_ALT_FIFO_WRAP
endif

PARTNERCFILES   =       initmcrx.c
#init8625.c

ifeq ($(DEBUG),1)
DBGOPTS         =       -DGDBG_INFO_ON
endif

ifneq ($(FX_GLIDE_HW),sst96)
LCDEFS		+=	-DDUMMY
endif

LCOPTS   += $(DBGOPTS) \
           -I$(BUILD_ROOT_SWLIBS)/include \
           -I$(BUILD_ROOT_HW)/include

# sources
HEADERS             = init96.h initvga.h
PRIVATE_HEADERS     = atvga.h fxinit96.h initat3d.h initmcrx.h
INSTALL_DESTINATION = $(BUILD_ROOT_HW)
CFILES              = $(PARTNERCFILES) init96.c lindrvr.c

# targets
LIBRARIES      = libinit96.a

include $(BUILD_ROOT_SWLIBS)/include/make/3dfx.mak

