# @(#)$Mu: wlib/GNUmakefile,v 1.24 $
##
## GNUmakefile
##	GNU Makefile for the widget creation library.
##	This file is part of wlib.
##
## Copyright (C) 1996  Matthew D. Francey
##
## This library is free software; you can redistribute it and/or modify
## it under the terms of the GNU Library General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Library Public License for more details.
##
## You should have received a copy of the GNU Library General Public License
## along with this library; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##
##   Authors:	Matthew D. Francey
##		Eric A. Howe (mu@trends.net)
##

##
## This Makefile requires GNU Make
##

##
## get the system dependent definitions
##
include	../make/top.mk
include	../make/sys.mk

##
## define the library specific things
##
csrcs   = $(wildcard [A-Za-z]*.c)
objs    = $(subst .c,.o,$(csrcs))
subdirs = wlib

dflags += $(defs) $(incl)
lib     = wlib
clean   = $(wildcard wlib/*.isgml.bak)

##
## get the rules so we can do something
##
include ../make/rules.mk

##
## The strdefs.[ch] files are maintained by hand to avoid problems
## with the dep target and generated headers
##
strdefs:
	$(top)/tools/mkstrdefs wlib/strdefs.h.in strdefs.c.in wlib/strdefs.h strdefs.c

##
## include dependency file if you've got one, there's no need to
## bother with this unless you are hacking the source
##
-include .depend
