# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space.  Imake tries to compensate
# for this, but is not always successful.
#

###########################################################################
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $Header: /usr/src/uci/usr/local/bin/mkmf/RCS/Imake.tmpl,v 1.83 1992/05/02 01:15:29 sam Exp $
#
# Platform-specific parameters may be set in the appropriate .cf
# configuration files.  Site-wide parameters may be set in the file
# site.def.  Full rebuilds are recommended if any parameters are changed.

###########################################################################
# platform-specific configuration parameters - edit sun.cf to change

###########################################################################
# user-specific configuration parameters - edit user.def to change

###########################################################################
# site-specific configuration parameters - edit site.def to change

# $Id: site.def,v 1.6 1991/11/27 19:13:20 sources Exp $

            SHELL = /bin/sh
         PARALLEL =

              TOP = .
      CURRENT_DIR = /i1/dm/src/uci/usr/local/etc/proxy-cmsd

               AR = ar clq
               CC = /usr/bs/sunc/cc

         COMPRESS = compress
              CPP = /lib/cpp $(STD_CPP_DEFINES)
    PREPROCESSCMD = /usr/bs/sunc/cc -E $(STD_CPP_DEFINES)
          INSTALL = install
               LD = ld
             LINT = lint
      LINTLIBFLAG = -C
         LINTOPTS = -axz
               LN = ln -s
             MAKE = make
               MV = mv
               CP = cp
           RANLIB = ranlib
  RANLIBINSTFLAGS =
               RM = rm -f
     STD_INCLUDES =
  STD_CPP_DEFINES =
      STD_DEFINES =
 EXTRA_LOAD_FLAGS =
  EXTRA_LIBRARIES =
             TAGS = ctags

    SHAREDCODEDEF = -DSHAREDCODE
         SHLIBDEF = -DSUNSHLIB

    PROTO_DEFINES =

     INSTPGMFLAGS = -s

     INSTBINFLAGS = -m 0555
     INSTUIDFLAGS = -m 4555
     INSTLIBFLAGS = -m 0444
     INSTINCFLAGS = -m 0444
     INSTMANFLAGS = -m 0444
     INSTDATFLAGS = -m 0444
    INSTKMEMFLAGS = -g kmem -m 2555

          DESTDIR =
     TOP_INCLUDES = -I$(INCROOT)
      CDEBUGFLAGS = -O
        CCOPTIONS =
      COMPATFLAGS =

      ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES)
       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)
           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
           LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
   LDCOMBINEFLAGS = -X -r

        MACROFILE = sun.cf
           RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut make.out

    IMAKE_DEFINES =

        IMAKE_CMD = $(IMAKE) -I$(CONFIGDIR) -I$(SYSCONFIGDIR) $(IMAKE_DEFINES)

###########################################################################
# UCI-ICS system build parameters
# $Id: Project.tmpl,v 1.7 1992/05/11 23:03:50 sam Exp $

###########################################################################
# X Window System make variables; this need to be coordinated with rules
# $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $

           BINDIR = /usr/local/bin
          INCROOT = $(DESTDIR)/usr/include
           LIBDIR = /usr/local/lib
        CONFIGDIR = $(HOME)/lib/config
     SYSCONFIGDIR = /usr/local/lib/config
       LINTLIBDIR = $(LIBDIR)/lint

          MANPATH = $(DESTDIR)/usr/share/man
    MANSOURCEPATH = $(MANPATH)/man
           MANDIR = $(MANSOURCEPATH)l
        LIBMANDIR = $(MANSOURCEPATH)l

            IMAKE = imake
           DEPEND = makedepend
        MKDIRHIER = mkdir -p

###########################################################################
# Imake rules for building libraries, programs, scripts, and data files
# rules:  $Id: Imake.rules,v 1.9 1991/06/28 22:59:01 erickson Exp $

###########################################################################
# start of Imakefile

 OBJS = proxy-cmsd.o
 SRCS = proxy-cmsd.c

 PROGRAM = proxy-cmsd

all:: proxy-cmsd

proxy-cmsd:$(PARALLEL) $(OBJS) $(DEPLIBS)
	$(RM) $@
	$(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)

saber_proxy-cmsd:
	#load $(ALLDEFINES) $(SRCS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)

osaber_proxy-cmsd:
	#load $(ALLDEFINES) $(OBJS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)

install:: inst-proxy-cmsd

inst-proxy-cmsd: proxy-cmsd
	$(INSTALL) -c $(INSTPGMFLAGS) $(INSTBINFLAGS)   proxy-cmsd $(BINDIR)

install.man:: inst-proxy-cmsd.man

inst-proxy-cmsd.man: proxy-cmsd.man
	$(INSTALL) -c $(INSTMANFLAGS) proxy-cmsd.man $(MANDIR)/proxy-cmsd.l

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

lint:
	$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
	$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)

clean::
	$(RM) $(PROGRAM)

CDEBUGFLAGS	= -O4
CC		= cc
BINDIR		= /usr/local/etc
DEFINES		= -DDEBUG

###########################################################################
# common rules for all Makefiles - do not edit

emptyrule::

clean::
	$(RM_CMD) \#*

Makefile::
	-@if [ -f Makefile ]; then \
	echo "	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
	else exit 0; fi
	$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)

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

saber:
	#load $(ALLDEFINES) $(SRCS)

osaber:
	#load $(ALLDEFINES) $(OBJS)

###########################################################################
# empty rules for directories that do not have SUBDIRS - do not edit

install::
	@echo "install in $(CURRENT_DIR) done"

install.man::
	@echo "install.man in $(CURRENT_DIR) done"

Makefiles::

###########################################################################
# dependencies generated by makedepend

