/**/#
/**/# 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.
/**/#


#define	YES	1
#define NO	0



#ifdef ibm032
#define MacroIncludeFile "Rt.macros"
#define MacroFile Rt.macros
#undef ibm032
#define RtArchitecture
#define MACHTYPE "rt"
#endif ibm032

#ifdef rt
#define MacroIncludeFile "Rt.macros"
#define MacroFile Rt.macros
#undef rt
#define RtArchitecture
#define MACHTYPE "rt"
#endif rt

#ifdef vax
#define MacroIncludeFile "Vax.macros"
#define MacroFile Vax.macros
#undef vax
#define VaxArchitecture
#define MACHTYPE "vax"
#endif vax

#include MacroIncludeFile

#ifdef ConstructMFLAGS
         MFLAGS = -${MAKEFLAGS}
#endif

            TOP = /mit/cgw
        INSTALL = install
           TAGS = etags
        DEFINES = -DCGW
         CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
        LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES)
   INSTLIBFLAGS = -c -m 0664
          GWLIB = $(TOP)//**/MACHTYPE/**//libexl
      GWLIBINST = $(TOP)//**/MACHTYPE/**//lib
         DEVLIB = libdev.a
        FAKELIB = libfake.a
        GATELIB = libgate.a
        PROTLIB = libprot.a
          APLIB = libappl.a
         NETLIB = libnet.a
           CLIB = libc.a
            SCB = scb.o
            CRT = crt.o
         CRTDDT = crtddt.o
         DDTLIB = libddt.a
          DDTST = isymt.o
      FAKEDDTST = fst.o
         SYSLIB = libsys.a
        SNMPLIB = libsnmp.a
          TOOLS = $(TOP)/src/tools
        TOOLBIN = $(TOP)//**/MACHTYPE/**//bin
        TOOLMAN = $(TOP)/man//**/ManSuffix
         DOCSRC = $(TOP)/doc
         DEPEND = $(TOOLBIN)/makedepend
      DEPENDSRC = $(TOOLS)/makedepend
       IMAKESRC = $(TOOLS)/imake
         MKSYMT = $(TOOLBIN)/mksymt
/*         MAKE = $(TOOLBIN)/make */
/* Perhaps includes should come from the config directory? */
       INCLUDES = -I$(TOP)//**/MACHTYPE/**//gw -I$(TOP)//**/MACHTYPE/**//sys/include
      MACROFILE = MacroFile 
          IMAKE = $(TOOLBIN)/imake
/* Used to be $(NEWTOP)$(IMAKE) and $(NEWTOP)$(TOOLS) */
      IMAKE_CMD = $(IMAKE) -TImake.tmpl \
			-I$(TOOLS)/imake.includes \
			-s Makefile
         RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
			tags TAGS make.log

#include "Imake.rules"
#include INCLUDE_IMAKEFILE

CleanTarget()
MakefileTarget()
TagsTarget()

#ifdef IHaveSubdirs

MakeSubdirs($(SUBDIRS))
InstallSubdirs($(SUBDIRS))
CleanSubdirs($(SUBDIRS))
TagSubdirs($(SUBDIRS))
MakefileSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#else IHaveSubdirs

install::
	@echo "install done"

Makefiles::

#endif IHaveSubdirs
