#///////////////////////////////////////////////////////////////////////////
# $Header: Exp $
#
# Copyright (c) 2000 ConnectTel, Inc. All Rights Reserved.
#  
# MODULE DESCRIPTION: 
#
# Creates the library libvgagl.a for RTEMS
#
# MODIFICATION/HISTORY:
#
# $Log: makefile.mak,v $
#
#///////////////////////////////////////////////////////////////////////////
#----------------------------------------------------------------------
# Makefile for SVGAlib GL routines.
#----------------------------------------------------------------------

# Adjust the header files path for this project..
PRJ_INC = -I../src  -I.

include ../make_include.rtems


 
SVGA_GL_FILES =grlib.o driver.o line.o palette.o scale.o text.o font8x8.o cbitmap.o mem.o 

LIB_TARGET = libvgagl.a

ALL = $(LIB_TARGET)

all: $(ALL)

clean:
	rm -f *.o *.a

$(LIB_TARGET): $(SVGA_GL_FILES)
	$(AR) rcs $(LIB_TARGET) $(SVGA_GL_FILES)


install: $(ALL)
	cp vgagl.h $(PROJECT_RELEASE)/lib/include
	cp $(LIB_TARGET) $(PROJECT_RELEASE)/lib
