#
# Copyright (c) 2003 Linuxant inc.
# Copyright (c) 2001-2003 Conexant Systems, Inc.
#
# NOTE: The use and distribution of this software is governed by the terms in
# the file LICENSE, which is included in the package. You must read this and
# agree to these terms before using or distributing this software.
# 
TOP=../..

include ../common.mak

OBJS=	osstdio.o osnvm.o osresour.o osservices.o osstring.o
ifeq ($(IMPORTED_TARGET),TARGET_HCF_USB_LINUX)
OBJS+=	osusb.o
endif

CFLAGS += -D__NO_VERSION__
CFLAGS += -DHCFINF_FILE=\"$(HCFINF_FILE)\"
CFLAGS += -DHCFCTY_FILE=\"$(HCFCTY_FILE)\"

CFLAGS += -DHCFLINUXVERSION="\"$(HCFLINUXVERSION)\""

all: libosspec.a

libosspec.a: $(OBJS)
	$(AR) cr $@ $^

