
#
# This makefile is automatically generated by imake... do not modify
# or you may lose your changes when imake generates makefiles again.
# Ignore this message if you are not using imake.
#

            TOP = ./../..
             AS = as
             CC = cc
            CPP = /lib/cpp
             LD = ld
           LINT = lint
           MAKE = make
    CDEBUGFLAGS = -O
        DESTDIR =

        INSTALL = install
           TAGS = ctags
         DEPEND = $(DEPENDSRC)/makedepend
          IMAKE = $(IMAKESRC)/imake
            RGB = $(RGBSRC)/rgb
         CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
        LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES)
   INSTLIBFLAGS = -c -m 0664
      USRLIBDIR = $(DESTDIR)/usr/lib
         BINDIR = $(DESTDIR)/usr/bin/X11
         LIBDIR = $(DESTDIR)/usr/lib/X11
         INCDIR = $(DESTDIR)/usr/include/X11
   FUTUREINCDIR = $(DESTDIR)/usr/include/X
        FONTDIR = $(DESTDIR)$(LIBDIR)/fonts
         MANDIR = $(DESTDIR)/usr/man/mann
      CLIENTSRC = $(TOP)/clients
        DEMOSRC = $(TOP)/demos
         LIBSRC = $(TOP)/lib
        FONTSRC = $(TOP)/fonts
     INCLUDESRC = $(TOP)/include
      SERVERSRC = $(TOP)/server
        UTILSRC = $(TOP)/util
        HACKSRC = $(TOP)/hacks
         DOCSRC = $(TOP)/doc
      DEPENDSRC = $(UTILSRC)/makedepend
       IMAKESRC = $(UTILSRC)/imake
         RGBSRC = $(UTILSRC)/rgb
        XLIBSRC = $(LIBSRC)/X
         XRMSRC = $(LIBSRC)/Xrm
     TOOLKITSRC = $(LIBSRC)/Xtk
     OLDXLIBSRC = $(LIBSRC)/oldX
    OLDXMENUSRC = $(LIBSRC)/oldXMenu
      OLDXRMSRC = $(LIBSRC)/oldXrm
  OLDTOOLKITSRC = $(LIBSRC)/oldXtk
   EXTENSIONSRC = $(TOP)/extensions
        XMANSRC = $(DOCSRC)/Xlib/Xman
   EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
           XLIB = $(XLIBSRC)/libX.a
        OLDXLIB = $(OLDXLIBSRC)/liboldX.a
       XTOOLLIB = $(TOOLKITSRC)/libXtk.a
    OLDXTOOLLIB = $(OLDTOOLKITSRC)/liboldXtk.a
    OLDXMENULIB = $(OLDXMENUSRC)/libXMenu.a
         XRMLIB = $(XRMSRC)/libXrm.a
      OLDXRMLIB = $(OLDXRMSRC)/liboldXrm.a
       INCLUDES = -I$(TOP)
      MACROFILE = Vax.macros
      IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \
			-I$(NEWTOP)$(UTILSRC)/imake.includes \
			-s Makefile
         RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
			tags TAGS make.log

#
# Make file for the BDF to SNF font compiler
#
      EXECS = fc showsnf
      FCSRC = fc.c
      FCOBJ = fc.o
      SHSRC = showsnf.c
      SHOBJ = showsnf.o
  COMMONSRC = fontutil.c
  COMMONOBJ = fontutil.o
       SRCS = $(COMMONSRC) $(FCSRC) $(SHSRC)
     OFILES = $(COMMONOBJ) $(FCOBJ) $(SHOBJ)
   INCLUDES = -I. -I../../include -I$(SERVERSRC)/include
CDEBUGFLAGS = -g

all: $(EXECS)

fc:  $(COMMONOBJ) $(FCOBJ)
	rm -f $@
	$(CC) -o $@  $(COMMONOBJ) $(FCOBJ)  $(LDFLAGS)

relink::
	rm -f fc
	$(MAKE) $(MFLAGS) fc

clean::
	rm -f fc

showsnf:  $(COMMONOBJ) $(SHOBJ)
	rm -f $@
	$(CC) -o $@  $(COMMONOBJ) $(SHOBJ)  $(LDFLAGS)

relink::
	rm -f showsnf
	$(MAKE) $(MFLAGS) showsnf

clean::
	rm -f showsnf

depend::
	$(DEPEND) -s "# DO NOT DELETE" $(CFLAGS) $(SRCS)

clean::
	$(RM_CMD) \#*

Makefile:: Imakefile \
	$(UTILSRC)/imake.includes/Imake.tmpl \
	$(UTILSRC)/imake.includes/Imake.rules \
	$(UTILSRC)/imake.includes/$(MACROFILE)
		-rm -f Makefile.bak; mv Makefile Makefile.bak
		$(IMAKE_CMD) -DTOPDIR=$(TOP)

tags::
	$(TAGS) -w *.[ch]
	$(TAGS) -xw *.[ch] > TAGS

install::
	@echo "install done"

Makefiles::

# DO NOT DELETE

fontutil.o: /usr/include/stdio.h /usr/include/sys/file.h ../../include/X.h
fontutil.o: ../../include/Xmd.h ../../include/Xproto.h
fontutil.o: ../../include/Xprotostr.h ./../../server/include/misc.h
fontutil.o: ./../../server/include/os.h ./../../server/include/fontstruct.h
fontutil.o: ./../../server/include/font.h ./../../server/include/servermd.h
fontutil.o: port.h fc.h
fc.o: /usr/include/stdio.h /usr/include/sys/file.h /usr/include/errno.h
fc.o: ./../../server/include/misc.h ./../../server/include/os.h
fc.o: ../../include/X.h ../../include/Xproto.h ../../include/Xmd.h
fc.o: ../../include/Xprotostr.h ./../../server/include/fontstruct.h
fc.o: ./../../server/include/font.h ./../../server/include/servermd.h fc.h
showsnf.o: /usr/include/stdio.h /usr/include/sys/types.h
showsnf.o: /usr/include/sys/file.h /usr/include/sys/stat.h
showsnf.o: /usr/include/errno.h ./../../server/include/misc.h
showsnf.o: ./../../server/include/os.h ../../include/Xmd.h ../../include/X.h
showsnf.o: ../../include/Xproto.h ../../include/Xprotostr.h
showsnf.o: ./../../server/include/fontstruct.h ./../../server/include/font.h
showsnf.o: ./../../server/include/servermd.h fc.h
