#			Copyright (c) 1993 by
#			Advanced Visual Systems Inc.
#			All Rights Reserved
#
#	This software comprises unpublished confidential information of
#	Advanced Visual Systems Inc. and may not be used, copied or made
#	available to anyone, except in accordance with the license
#	under which it is furnished.
#
#	This file is under Perforce control
#	$Id: //depot/express/fcs70/cxxutl/Makefile#1 $
#
# include standard variable defs
include ../include/stddefs.mk

SRCDIR=$(XP_ROOT)/cxxutl

LLIB=$(XP_LIB_DIR)/libcxxut_.a
EXPORTLIB=$(LLIBDIR)/libcxxut.a
DLLIB=$(XP_LIB_DIR)/libcxxut
LIB_TO_MAKE_DLLIB_FROM=$(EXPORTLIB)
SHLIB_CPLUS=yes

CXXTEMPLLIBS=
CXXTEMPLPATH=$(SRCDIR)
CXXDECTEMPLPATH=$(SRCDIR)

PROJ_INCLUDES=-I$(XP_ROOT)/cxxutl -I$(XP_ROOT)/include/avs/cxxutl

LIBOFILES = \
	$(LLIB)(deftempl.o) \
	$(LLIB)(aliaattr.o) \
	$(LLIB)(ptrlisto.o) \
	$(LLIB)(typeattr.o) \
	$(LLIB)(enum.o) \
	$(LLIB)(attrmgr.o) \
	$(LLIB)(debug.o) \
	$(LLIB)(string.o) \
	$(LLIB)(baseattr.o) \
	$(LLIB)(datetime.o) \
	$(EMPTY)

default: $(LLIB) $(EXPORTLIB) $(DLLIBNAME) 

tags: *.c
	ctags -w *.c $(XP_ROOT)/ag/*.c &

depend:
	mkdep -fmt "$$(LLIB)(%s.o): %s\n" \
              -I"$$(XP_ROOT)" -I"$$(XP_ROOT)/include" *.cxx

clean::
	$(RM) $(LLIB) $(DLLIBNAME) $(CXXUTLTEMPL)

include $(XP_MACHRULE_PATH)

include Dependfile
