XCOMM $XConsortium: Imakefile,v 1.7 94/02/22 15:42:37 mor Exp $
#if !defined(RshCmd)
#if SystemV
#ifdef HPArchitecture
#define	RshCmd remsh
#else
#define	RshCmd rcmd
#endif
#else
#define	RshCmd rsh
#endif
#endif

         RSHCMD = RshCmd

        DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs

           SRCS1 = auth.c list.c misc.c printhex.c remote.c restart.c save.c \
                   xsm.c xtwatch.c
                   
           OBJS1 = auth.o list.o misc.o printhex.o remote.o restart.o save.o \
                   xsm.o xtwatch.o

          PROGS1 = xsm

           SRCS2 = xsmclient.c
           OBJS2 = xsmclient.o
          PROGS2 = xsmclient

            SRCS = $(SRCS1) $(SRCS2)
            OBJS = $(OBJS1) $(OBJS2)
        PROGRAMS = $(PROGS1) $(PROGS2)

ComplexProgramTarget_1(xsm,$(LOCAL_LIBRARIES),NullParameter)
ComplexProgramTarget_2(xsmclient,$(LOCAL_LIBRARIES),NullParameter)
SpecialCObjectRule(remote,NullParameter,'-DRSHCMD="$(RSHCMD)"')
#if !HasPutenv
SpecialCObjectRule(misc,NullParameter,-DNOPUTENV)
#endif
