XCOMM
XCOMM This is an Imakefile for the National Semiconductor Geode driver. 
XCOMM ------------------------------------------------------------------------------
XCOMM Copyright (C) 1999-2000 National Semiconductor Corporation. All Rights Reserved.
XCOMM *
XCOMM Permission is granted, royalty-free, to any person obtaining a copy of this 
XCOMM software and associated documentation files (the "Software"), to deal in the 
XCOMM Software without restriction, including without limitation the rights to use, 
XCOMM copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 
XCOMM the Software, and to permit persons to whom the Software is furnished to do so, 
XCOMM subject to the following conditions:
XCOMM *
XCOMM   The above copyright notice and this permission notice shall be included in
XCOMM   all copies or substantial portions of the Software in whatever form or media.
XCOMM *
XCOMM   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
XCOMM   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 
XCOMM   OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
XCOMM   IN NO EVENT SHALL NATIONAL SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, 
XCOMM   DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
XCOMM   TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
XCOMM   SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
XCOMM *
XCOMM Except as contained in this permission notice, the name of National Semiconductor 
XCOMM shall not be used in advertising or otherwise to promote the sale, use or other 
XCOMM dealings in this Software without prior written authorization from National Semiconductor.
XCOMM

#include <Server.tmpl>

SRCS = nsc_init.c nsc_accl.c nsc_curs.c durango.c

OBJS = nsc_init.o nsc_accl.o nsc_curs.o durango.o

DEFINES = -DPSZ=8

#if XF86LinkKit
INCLUDES = -I. -I../../../include -I../../../include/X11 -I../..
#else
XCOMM
XCOMM This define is for use under vga256/drivers; comment it out for vga2 or
XCOMM vga16
XCOMM
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86HWSRC) -I$(XF86OSSRC) \
           -I$(SERVERSRC)/cfb -I../../vga -I$(SERVERSRC)/include \
           -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi -I../../../xaa \
           -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC)
#endif

#if MakeHasPosixVariableSubstitutions  
SubdirLibraryRule($(OBJS))
#endif

NormalLibraryObjectRule()
NormalAsmObjectRule()

NormalRelocatableTarget(cyrix_drv, $(OBJS))

XCOMM
XCOMM These lines are for a driver under vga256/drivers
XCOMM
InstallLinkKitNonExecFile(nsc_defs.h,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(nsc_accl.c,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(nsc_cmap.c,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(nsc_curs.c,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(nsc_init.c,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(nsc_bank.s,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(nsc_asm.s,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(durango.c,$(LINKKITDIR)/drivers/vga256/cyrix)
InstallLinkKitNonExecFile(Imakefile,$(LINKKITDIR)/drivers/vga256/cyrix)

DependTarget()


