#			Copyright (c) 1994 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/gmod/Makefile#1 $
#
include ../include/xp_defs.mk

SRCDIR=$(XP_ROOT)/gmod

LLIB=$(XP_LIB_DIR)/libgmod.a
DLLIB=$(XP_LIB_DIR)/libgmod
SHLIB_CPLUS=yes

# Please add files in alphabetical order
LIBOFILES= \
    $(LLIB)(demux.o) \
    $(LLIB)(errhandl.o) \
    $(LLIB)(err_prnt.o) \
    $(LLIB)(execcomm.o) \
    $(LLIB)(exitproc.o) \
    $(LLIB)(file.o) \
    $(LLIB)(gmod.o) \
    $(LLIB)(greverse.o) \
    $(LLIB)(hconn.o) \
    $(LLIB)(hsv2rgb.o) \
    $(LLIB)(instncer.o) \
    $(LLIB)(journal.o) \
    $(LLIB)(loop.o) \
    $(LLIB)(ldscrrel.o) \
    $(LLIB)(morph.o) \
    $(LLIB)(sel_ent.o) \
    $(LLIB)(sel_arr.o) \
    $(LLIB)(sel_ind.o) \
    $(LLIB)(str_chc.o) \
    $(LLIB)(timer.o) \
    $(EMPTY)

PROJ_INCLUDES = -I$(XP_INC_DIR)/$(MACHINE)

default: $(LLIB) $(DLLIBNAME)

include $(XP_MACHRULE_PATH)

clean::
	$(RM) $(LLIB) $(DLLIBNAME) uci_gmod.h

$(LLIB)(journal.o):  uci_gmod.h ../include/avs/gmod.h ../include/avs/om.h
$(LLIB)(file.o): ../include/avs/om.h
