#----------------------------------------------------------------------------
#
# Extra widget classes makefile.
#
# $Ident: This file is part of the 'Gt-library' 1.0.0 $
# $Copyright: (C) 1997 by Gran Gustafsson $
#
#----------------------------------------------------------------------------

#----------------------------------------------------------------------------
# Include configuration
#----------------------------------------------------------------------------
include ../makefile.cfg


#----------------------------------------------------------------------------
# Sources & Objects
#----------------------------------------------------------------------------

SRC = gtfilereq.cc gtscrlist.cc gtscrollbar.cc gtscrwindow.cc gtspace.cc\
	gtmodview.cc

OBJ = gtfilereq.o gtscrlist.o gtscrollbar.o gtscrwindow.o gtspace.o\
	gtmodview.o

SHOBJ = gtfilereq-sh.o gtscrlist-sh.o gtscrollbar-sh.o gtscrwindow-sh.o\
	gtspace-sh.o gtmodview-sh.o


#----------------------------------------------------------------------------
# Targets
#----------------------------------------------------------------------------

all : ../$(GTLIB)

allsh : ../$(GTSLIB)

../$(GTLIB) : $(OBJ)
	$(AR) ../$(GTLIB) $?
	$(RAN) ../$(GTLIB)

../$(GTSLIB) : $(SHOBJ)

%.o : %.cc
	$(COBJ) $<

%-sh.o : %.cc
	$(CSHO) $@ $<

include .depend

.depend : $(SRC)
	$(MKDEP) $(SRC) >.depend


#----------------------------------------------------------------------------
# Specials
#----------------------------------------------------------------------------

clean :
	$(RM) $(OBJ)
	$(RM) $(SHOBJ)
