Imakefile   [plain text]


XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:55:04 cpqbld Exp $




XCOMM $XFree86: xc/programs/xsm/Imakefile,v 1.8 2002/05/31 18:46:14 dawes Exp $

#if !defined(RshCmd)
#if SystemV
#ifdef HPArchitecture
#define	RshCmd remsh
#else
#define	RshCmd rcmd
#endif
#else
#define	RshCmd rsh
#endif
#endif

         RSHCMD = RshCmd

#if HasMkstemp
  MKTMP_DEFINES = -DHAS_MKSTEMP
#endif
        DEPLIBS = XawClientDepLibs XkbClientDepLibs
LOCAL_LIBRARIES = XawClientLibs XkbClientLibs
        DEFINES = $(MKTMP_DEFINES) XkbClientDefines
           SRCS1 = auth.c choose.c info.c list.c lock.c log.c \
		   mainwin.c misc.c popup.c printhex.c prop.c remote.c \
		   restart.c save.c saveutil.c signals.c xsm.c xtwatch.c
                   
           OBJS1 = auth.o choose.o info.o list.o lock.o log.o \
		   mainwin.o misc.o popup.o printhex.o prop.o remote.o \
	           restart.o save.o saveutil.o signals.o xsm.o xtwatch.o

        INCLUDES = -I.

          PROGS1 = ProgramTargetName(xsm)

        PROGRAMS = $(PROGS1)

ComplexProgramTarget_1(xsm,$(LOCAL_LIBRARIES),NullParameter)
SpecialCObjectRule(remote,NullParameter,'-DRSHCMD="$(RSHCMD)"')
#if !HasPutenv
SpecialCObjectRule(misc,NullParameter,-DNOPUTENV)
#endif
SpecialCObjectRule(restart,$(_NOOP_),'-DSYSTEM_INIT_FILE="'$(XSMDIR)'/system.xsm"')
SpecialCObjectRule(signals,NullParameter,$(SIGNAL_DEFINES))
InstallNonExecFile(system.xsm,$(XSMDIR))
InstallAppDefaults(XSm)

LinkConfDirectory(xsm,.,xsm,.)