summaryrefslogtreecommitdiff
path: root/xc/programs/xsm/Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/xsm/Imakefile')
-rw-r--r--xc/programs/xsm/Imakefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/xc/programs/xsm/Imakefile b/xc/programs/xsm/Imakefile
new file mode 100644
index 000000000..bf3852510
--- /dev/null
+++ b/xc/programs/xsm/Imakefile
@@ -0,0 +1,42 @@
+XCOMM $XConsortium: Imakefile /main/18 1996/01/31 23:50:38 gildea $
+#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
+
+ PROGS1 = 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)