/* Copyright 1988-1990 Network Computing Devices, Inc.  All rights reserved. */

/**/#ident "@(#)Imakefile	13.3	90/08/20"

#if !defined(NCDVERSION)
     NCDVERSION = 2.2.0
#endif

#
# Make file for the BDF to SNF font compiler
#
      USRCS = fontutil.c
      UOBJS = fontutil.o
      SRCS1 = bdftosnf.c
      OBJS1 = bdftosnf.o $(UOBJS)
      SRCS2 = showsnf.c
      OBJS2 = showsnf.o
   INCLUDES = -I. -I$(TOP) -I$(SERVERSRC)/include
   PROGRAMS = bdftosnf showsnf

ComplexProgramTarget_1(bdftosnf,,)
ComplexProgramTarget_2(showsnf,$(UOBJS),)

NormalLintTarget($(SRCS1) $(USRCS))

clean::
	$(RM) version.h

version.h:
	echo 'static char *copyright = "@(#)Copyright 1990 Network Computing Devices, Inc.  All rights reserved.";' > version.h
	echo 'static char *version = "@(#)bdftosnf version' $(NCDVERSION) '";' >> version.h

bdftosnf.o: version.h
showsnf.o: version.h
