/**/#	Copyright (c) 1990, 1991, 1992, 1993, 1994 Novell, Inc. All Rights Reserved.
/**/#	Copyright (c) 1993 Novell, Inc. All Rights Reserved.
/**/#	  All Rights Reserved

/**/#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Novell Inc.
/**/#	The copyright notice above does not evidence any
/**/#	actual or intended publication of such source code.

#ident	"@(#)r5fonts:lib/font/util/Imakefile	1.3"

XCOMM $XConsortium: Imakefile,v 1.9 92/05/15 11:15:42 gildea Exp $
#if SharedFontLibraries
EXTRA_DEFINES = -KPIC
#endif

#include <Server.tmpl>

        INCLUDES = -I$(FONTSRC)/include -I../include -I$(FONTSERVERSRC)/include
         HEADERS = 
#ifdef FontFormatDefines
     FORMAT_DEFS = FontFormatDefines
#endif
            SRCS = bitmaputil.c fontnames.c fontutil.c fontxlfd.c format.c \
		   fontaccel.c atom.c miscutil.c private.c patcache.c

            OBJS = bitmaputil.o fontnames.o fontutil.o fontxlfd.o format.o \
		   fontaccel.o atom.o miscutil.o private.o patcache.o

SubdirLibraryRule($(OBJS))
.c.o:
	@if [ -d native ]; then exit 0; else set -x; mkdir native; fi
	$(RM) $@ native/$@
	$(HCC) -c $(HCFLAGS) $(_NOOP) $*.c
	$(MV) $@ native/$@
	$(RM) $@
	$(CC) -c $(CFLAGS) $(_NOOP) $*.c

clean::
	-@if [ -d native ]; then \
	(set -x; cd native; $(RM) *.o); else exit 0; fi

includes::

/* NormalLibraryObjectRule() */
NormalLintTarget($(SRCS))

DependTarget()

