1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
|
/* Config file for xlockmore
* Many "ideas" taken from xscreensaver-1.34 by Jamie Zawinski.
*
* This file is included by the various Imakefiles.
* After editing this file, you need to execute the commands
*
* xmkmf
* make Makefiles
*
* Substitute #undef with #define to activate option
*/
XCOMM Define these now or down further below, see below for explanation.
XCOMM #define CPPCompiler
XCOMM #define XpmLibrary
XCOMM #define XmLibrary
XCOMM #define GLLibrary
XCOMM #define TtfLibrary
XCOMM #define GlttLibrary
XCOMM #define DtSaverLibrary
XCOMM #define DPMSLibrary
XCOMM #define RplayLibrary
XCOMM #define NasLibrary
XCOMM #define Modules
XCOMM #define Check
XCOMM #define Unstable
XCOMM #define DisableInteractive
N =
O = .o
XCOMM O = .obj
C = .c
CX = .cc
S = $(N) $(N)
XCOMM S = ,
XCOMM please define
XCOMM C as the C source code extension
XCOMM O as the object extension
XCOMM S as the separator for object code
XCOMM CC = cc
XCOMM CC = acc
XCOMM CC = CC
XCOMM CC = gcc -Wall
XCOMM CC = g++ -Wall
XCOMM CXX = g++ -Wall
CC = CC
CXX = CC
LN_S = $(LN)
XCOMM *** BEGIN C++ CONFIG SECTION ***
XCOMM Only the solitare.cc, invert.c, and text3d.cc modes use this.
XCOMM If your system has C++, remove the 'XCOMM ' from the next line.
#ifdef CPPCompiler
CPPDEF = -DHAVE_CXX
XCOMM Need this to get text3d.cc to work.
XCOMM If your system has these 2 remove the 'XCOMM ' from the next 2 lines.
XCOMM #define TtfLibrary
XCOMM #define GlttLibrary
#ifdef TtfLibrary
#ifdef GlttLibrary
CPPDEF += -DHAVE_TTF -DHAVE_GLTT
GLTTLIB = -L/usr/local/lib -lgltt
TTFLIB = -L/usr/local/lib -lttf
#endif
#endif
#endif
XCOMM *** END C++ CONFIG SECTION ***
XCOMM *** BEGIN XPM CONFIG SECTION ***
XCOMM Only the bat.c, bounce.c, decay.c, flag.c, image.c, life.c, life1d.c,
XCOMM maze.c, puzzle.c, atlantis.c, fire.c, glplanet.c, and sballs modes
XCOMM use this but they do not depend on it (they just look better).
XCOMM If your system has libXpm, remove the 'XCOMM ' from the next line.
XCOMM #define XpmLibrary
#ifdef XpmLibrary
XPMDEF = -DHAVE_XPM
XCOMM Use the following if your xpm.h file is not in an X11 directory
XCOMM XPMDEF = -DHAVE_XPM
XCOMM If you get an error "Cannot find xpm.h" while compiling, set
XCOMM XPMINC to the directory X11/xpm.h is in. Below is a guess.
XPMINC = -I/usr/local/include
XCOMM SGI's ViewKit put in a link so the include is under X11 as well
XCOMM XPMINC = -I/usr/include/Vk
XCOMM If you get an error "Cannot find libXpm" while linking, set XPMLIBPATH
XCOMM to the directory libXpm.* is in. Below is a guess.
XPMLIB = -L/usr/local/lib -lXpm
#endif
XCOMM *** END XPM CONFIG SECTION ***
XCOMM *** BEGIN XM CONFIG SECTION ***
XCOMM Only options.c and xmlock.c uses Motif.
XCOMM If your system has libXm, remove the 'XCOMM ' from the next line.
XCOMM #define XmLibrary
#ifdef XmLibrary
XCOMM If its not with your X11 stuff you should set the following
XCOMM MOTIFHOME = /usr/local
XCOMM MOTIFHOME = /usr/dt
XCOMM If you get an error "Cannot find Xm/PanedW.h" while compiling, set
XCOMM XMINC to the directory Xm/PanedW.h is in. Below is a guess.
XCOMM XMINC = -I$(MOTIFHOME)/include
XCOMM If you get an error "Cannot find libXm" while linking, set XMLIBPATH
XCOMM to the directory libXm.* is in. Below is a guess.
XCOMM XMLIB = -L$(MOTIFHOME)/lib -lXm
XMLIB = -lXm
XCOMM Debugging with editres
XCOMM EDITRESDEF = -DUSE_XMU
XCOMM EDITRESLIB = -lXmu
#endif
XCOMM *** END XM CONFIG SECTION ***
XCOMM *** BEGIN MESA AND OPENGL CONFIG SECTION ***
XCOMM Modes in modes/glx use this.
XCOMM If your system has libMesaGL & widgets,
XCOMM remove the 'XCOMM ' from the next line.
XCOMM #define GLLibrary
#ifdef GLLibrary
GLDEF = -DUSE_GL
XCOMM If you get an error "Cannot find GL/gl.h" while compiling, set
XCOMM GLINC to the directory GL/gl.h is in.
GLINC = -I/usr/local/include
XCOMM If you get an error "Cannot find libMesaGL" while linking, set GLLIBPATH
XCOMM to the directory libMesaGL.* is in. Below is a guess.
XCOMM !!!WARNING!!! Known security hole with MesaGL < 3.0 if setuid root
GLLIB = -L/usr/local/lib -lGL -lGLU
XCOMM GLLIB = -L/usr/local/lib -lMesaGL -lMesaGLU
#ifdef SGIArchitecture
GLDEF += -DglGenTextures=glGenTexturesEXT\
-DglDeleteTextures=glDeleteTexturesEXT\
-DglBindTexture=glBindTextureEXT
GLLIB = -lGL -lGLU -lgl
#endif
#ifdef SunArchitecture
XCOMM with OGL1.1
GLDEF += -DSUN_OGL_NO_VERTEX_MACROS
#endif
XCOMM 3Dfx card
XCOMM GLDEF += -DFX
XCOMM Threads
XCOMM GLLIB += -lpthread
#endif
XCOMM *** END MESA AND OPENGL CONFIG SECTION ***
XCOMM *** BEGIN CDE DT CONFIG SECTION ***
XCOMM COMMON DESKTOP ENVIRONMENT
XCOMM if your system has libDtSvc, remove the 'XCOMM ' from the next line
XCOMM #define DtSaverLibrary
#ifdef DtSaverLibrary
DTSAVERDEF = -DUSE_DTSAVER
DTSAVERINC = -I/usr/dt/include
DTSAVERLIB = -L/usr/dt/lib -lDtSvc
#endif
XCOMM *** END CDE DT CONFIG SECTION ***
XCOMM *** BEGIN DPMS CONFIG SECTION ***
XCOMM DISPLAY POWER MANAGEMENT SIGNALING
XCOMM if your system has libXdpms, remove the 'XCOMM ' from the next line
XCOMM #define DPMSLibrary
#ifdef DPMSLibrary
DTSAVERDEF = -DUSE_DPMS
XCOMM where are these include files anyway?
XCOMM DPMSINC =
XCOMM DPMSLIB = -lXdpms
XCOMM -lXdpms may not be required
XCOMM DPMSLIB =
#endif
XCOMM *** END DPMS CONFIG SECTION ***
XCOMM *** BEGIN SOUND CONFIG SECTION ***
XCOMM Only xlock.c and resource.c use this
XCOMM if your system has these sound libraries, remove the 'XCOMM '
XCOMM #define RplayLibrary
XCOMM #define NasLibrary
#ifdef RplayLibrary
SOUNDDEF = -DUSE_RPLAY
SOUNDINC = -I/usr/local/include
XCOMM SOUNDLIB = -L/share/lib -lrplay
SOUNDLIB = -L/usr/local/lib -lrplay
#endif
#ifdef NasLibrary
SOUNDDEF = -DUSE_NAS
SOUNDINC = -I/usr/X11R6/include
SOUNDLIB = -L/usr/X11R6/lib -laudio
#endif
XCOMM Set sound directory in XLock.ad
XCOMM system play (optional software)
XCOMM SUNOS 4.1.3
XCOMM DEF_PLAY = "/usr/demo/SOUND/play"
XCOMM IRIX 5.3
XCOMM DEF_PLAY = "/usr/sbin/sfplay"
XCOMM Digital Unix with Multimedia Services installed:
XCOMM DEF_PLAY = "/usr/bin/mme/decsound -play"
XCOMM LINUX and others (see config directory)
XCOMM DEF_PLAY = "/usr/local/bin/play.sh"
XCOMM Uncomment line below if you have one of the above
XCOMM SOUNDDEF = -DDEF_PLAY=\"$(DEF_PLAY)\"
XCOMM *** END SOUND CONFIG SECTION ***
XCOMM *** BEGIN RNG CONFIG SECTION ***
XCOMM Uncomment to use your system's Random Number Generator
XCOMM They usually come in 3 types
XCOMM Uncomment to use high-precision (but expensive) RNG
XCOMM SRANDDEF = -DSRAND=srand48
XCOMM LRANDDEF = -DLRAND=lrand48
XCOMM SRANDDEF = -DSRAND=srandom
XCOMM LRANDDEF = -DLRAND=random
XCOMM Least desirable RNG
XCOMM SRANDDEF = -DSRAND=srand
XCOMM LRANDDEF = -DLRAND=rand
XCOMM Normally use the above with (default)
XCOMM MAXRANDDEF = -DMAXRAND=2147483648.0
XCOMM Use the following if using srand/rand and NOT AIXV3
XCOMM MAXRANDDEF = -DMAXRAND=32767.0
RANDDEF = $(SRANDDEF) $(LRANDDEF) $(MAXRANDDEF)
XCOMM *** END RNG CONFIG SECTION ***
XCOMM *** BEGIN MODULES CONFIG SECTION **
XCOMM This is a HIGHLY experimental section.
XCOMM To use modules, you must have an ELF setup installed, and
XCOMM libdl. This was originally written for Linux.
XCOMM /usr/include/dlfcn.h is not present on all Linux machines.
XCOMM Also tried to get this running on XCOMM Solaris-2.6 with gcc and gmake.
XCOMM Do not know if other Unixes support this kind of dynamic loading.
XCOMM Un-commenting Modules will compile xlock so that all of the modes
XCOMM are in separate modules which are loaded at runtime. This means
XCOMM you can add new modes simply by putting them in your modules
XCOMM directory.
XCOMM #define Modules
#ifdef Modules
XCOMM #define UseElfFormat YES
XCOMM This is the default directory to look in for modules. It can be
XCOMM a colon separated list of directories.
DEF_MODULEPATH = $(USRLIBDIR)/X11/xlock/modules
#ifdef LinuxArchitecture
XCOMM Flag to compile the main program so that global variables will be
XCOMM available to modules (gives errors on Sun).
MODULEFLAGS = -rdynamic
#endif
MODULEDEF = -DDEF_MODULEPATH=\"$(DEF_MODULEPATH)\" -DUSE_MODULES
XCOMM Library necessary to use dynamic loading
MODULELIB = -ldl
#endif
XCOMM *** END MODULES CONFIG SECTION ***
XCOMM *** BEGIN DEBUG CHECK SECTION ***
XCOMM #define Check
#ifdef Check
XCOMM Very experimental
CHECKDEF = -DDEBUG
#endif
XCOMM *** END DEBUG CHECK SECTION ***
XCOMM *** BEGIN INTERACTIVE CHECK SECTION ***
XCOMM #define DisableInteractive
#ifdef DisableInteractive
XCOMM Can disable interactive modes for production environments
INTERACTIVEDEF = -DDISABLE_INTERACTIVE
#endif
XCOMM *** END INTERACTIVE CHECK SECTION ***
XCOMM *** BEGIN UNSTABLE CHECK SECTION ***
XCOMM #define Unstable
#ifdef Unstable
XCOMM Experimental modes
UNSTABLEDEF = -DUSE_UNSTABLE
#endif
XCOMM *** END DEBUG CHECK SECTION ***
#ifndef __QNX__
#ifndef MathLibrary
#define MathLibrary -lm
#endif
#else
#define MathLibrary
PASSWDDEF = -DHAVE_SHADOW -Dlinux
PASSWDLIB = -l/src/util/Lib/util
#endif
XCOMM KERBEROS Ver. 4
XCOMM PASSWDDEF = -DHAVE_KRB4
XCOMM PASSWDINC = -I/usr/athena/include
XCOMM PASSWDLIB = -L/usr/athena/lib -lkrb -ldes -lresolv
XCOMM
XCOMM KERBEROS Ver. 5
XCOMM PASSWDDEF = -DHAVE_KRB5
XCOMM PASSWDINC = -I/opt/krb5/include
XCOMM PASSWDLIB = -L/opt/krb5/lib -lkrb5 -lcrypto -lcom_err
XCOMM DCE authentication (tested only on HP's)
XCOMM PASSWDDEF = -DDCE_PASSWD
XCOMM PASSWDINC = -I/usr/include/reentrant
XCOMM PASSWDLIB = -ldce -lc_r
XCOMM PAM
XCOMM PASSWDDEF = -DUSE_PAM
XCOMM PASSWDLIB = -lpam -ldl
#ifdef SVR4ix86Architecture
PASSWDDEF = -DHAVE_SHADOW
#endif
#ifdef SunArchitecture
#if SystemV4
#if OSMajorVersion == 2 && OSMinorVersion < 5
SYSTEMDEF = -DLESS_THAN_SOLARIS2_5 -DSOLARIS2
SLEEPDEF = -DHAVE_NANOSLEEP
#else
SYSTEMDEF = -DSOLARIS2
SLEEPDEF = -DHAVE_USLEEP
#endif
XCOMM imake is usually not set up right here.
XCOMM Assume shadowing... usually more correct.
XCOMM #if HasShadowPasswd
XCOMM PASSWDDEF = -DHAVE_SHADOW
XCOMM #endif
PASSWDDEF = -DHAVE_SHADOW
XCOMM Problems finding libXext.so.0 when sticky bit is set
EXTRA_LDOPTIONS = -R/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/local/lib
#if OSMajorVersion == 2 && OSMinorVersion < 7
PIXMAPTYPE = sol
#else
PIXMAPTYPE = solaris
#endif
#else
SYSTEMDEF = -DSUNOS4 -DUSE_MATHERR
SLEEPDEF = -DHAVE_USLEEP
#if HasShadowPasswd
XCOMM PASSWDDEF = -DSUNOS_ADJUNCT_PASSWD
PASSWDDEF = -DHAVE_SHADOW
#endif
PIXMAPTYPE = sun
#endif
BITMAPTYPE = sun
#else
#if HasShadowPasswd
PASSWDDEF = -DHAVE_SHADOW
XCOMM PASSWDLIB = -lshadow
#endif
#if defined(HPArchitecture) || defined(ApolloArchitecture)
#ifdef HPArchitecture
XCOMM If your site is using Secured Passwords,
XCOMM PASSWDDEF = -DHPUX_SECURE_PASSWD
XCOMM If your site is using Passwd Etc,
XCOMM PASSWDDEF = -DHP_PASSWDETC
XCOMM PASSWDLIB = -lrgy -lnck -lndbm
XCOMM PASSWDLIB = -lrgy -lnck -lndbm -lsec
CCOPTIONS = -Aa
SYSTEMDEF = -D_HPUX_SOURCE -DSYSV -DUSE_MATHERR
#else
SLEEPDEF = -DHAVE_USLEEP
#endif
EXTRA_LIBRARIES = -lXhp11
BITMAPTYPE = hp
PIXMAPTYPE = hp
#else
#ifdef i386SVR4Architecture
EXTRA_LIBRARIES = -lsocket -lnsl -lgen
PASSWDDEF = -DHAVE_SHADOW
BITMAPTYPE = x11
PIXMAPTYPE = x11
#else
#if defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) || defined(i386BsdArchitecture)
SLEEPDEF = -DHAVE_USLEEP
BITMAPTYPE = bsd
PIXMAPTYPE = bsd
INSTPGMFLAGS = -s -o root -m 4111
#else
#ifdef LinuxArchitecture
SLEEPDEF = -DHAVE_USLEEP
BITMAPTYPE = linux
PIXMAPTYPE = linux
#if HasShadowPasswd && !UseElfFormat
EXTRA_LIBRARIES = -lgdbm
#endif
#else
#ifdef SGIArchitecture
BITMAPTYPE = sgi
PIXMAPTYPE = sgi
#else
#ifdef AIXArchitecture
BITMAPTYPE = ibm
PIXMAPTYPE = ibm
XCOMM If AIX 3.1 or less, do not have struct passwd and other things
#if OSMajorVersion < 3 || (OSMajorVersion == 3 && OSMinorVersion < 2)
SYSTEMDEF = -DLESS_THAN_AIX3_2
#endif
XCOMM Use this if your site is using AFS:
XCOMM PASSWDDEF = -DAFS
XCOMM Solaris 2.x may need the next line
XCOMM PASSWDDEF += -DSHADOW
XCOMM PASSWDINC = -I/usr/afsws/include
XCOMM PASSWDLIB = -L/usr/afsws/lib -L/usr/afsws/lib/afs -L/usr/afsws/domestic/lib -lkauth -lubik -lprot -lrxkad -lrx -llwp -lauth -lsys -ldes -lcmd -lcom_err /usr/afsws/lib/afs/util.a
XCOMM SunOS 4.1.x may need the next line
XCOMM PASSWDLIB += /usr/afsws/domestic/lib/librxkad.a
XCOMM Solaris 2.x may need the next line
XCOMM PASSWDLIB += /usr/afsws/domestic/lib/librxkad.a usr/lib/libsocket.so.1 /usr/lib/libnsl.so.1 /usr/ucblib/libucb.a
XCOMM You may need this one too.
XCOMM EXTRA_LIBRARIES = -laudit
#else
#ifdef UltrixArchitecture
BITMAPTYPE = dec
PIXMAPTYPE = dec
EXTRA_LIBRARIES = -lauth
XCOMM Use this if your site is using SIA:
XCOMM PASSWDDEF = -DSIA
XCOMM PASSWDLIB = -lsecurity
#else
#ifdef SCOArchitecture
PASSWDDEF = -DHAVE_SHADOW -DSVR4
BITMAPTYPE = sco
PIXMAPTYPE = sco
#else
#ifdef cygwinArchitecture
SLEEPDEF = -DHAVE_USLEEP
BITMAPTYPE = cygwin
PIXMAPTYPE = cygwin
#else
BITMAPTYPE = x11
PIXMAPTYPE = x11
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
XLOCKINC = -I$(top_srcdir) -I. -I$(UTILSDIR)
XCOMM -DUSE_VROOT Allows xlock to run in root window (some
XCOMM window managers have problems)
XCOMM -DALWAYS_ALLOW_ROOT Users can not turn off allowroot
XCOMM -DUSE_SYSLOG Paranoid administrator option (a check is also
XCOMM done to see if you have it)
XCOMM -DUSE_MULTIPLE_USER Multiple users ... security?
XCOMM -DUSE_MULTIPLE_ROOT Multiple root users ... security?
XCOMM -DUSE_WINDOW_VISIBILITY Allow a window to be placed over xlock
XCOMM -DUSE_OLD_EVENT_LOOP Some machines may still need this (fd_set
XCOMM errors may be a sign)
XCOMM -DUSE_VMSUTILS This patches up old __VMS_VER < 70000000
XCOMM -DUSE_DPMS DPMS stuff
XCOMM
XCOMM For personal use you may want to consider:
XCOMM -DUSE_XLOCKRC paranoid admin or unknown shadow passwd alg
XCOMM
XCOMM For labs you may want to consider:
XCOMM -DUSE_AUTO_LOGOUT=240 Enable auto-logout and set deadline (minutes)
XCOMM -DDEF_AUTO_LOGOUT=\"120\" Set default auto-logout deadline (minutes)
XCOMM -DUSE_BUTTON_LOGOUT=10 Enable logout button and set appear time (min)
XCOMM -DDEF_BUTTON_LOGOUT=\"5\" Set default logout button (minutes)
XCOMM -DUSE_BOMB Enable automatic logout mode (does not come up
XCOMM in random mode)
XCOMM -DDISABLE_INTERACTIVE Disable interactive modes (useful for production
XCOMM enviroments)
XCOMM -DUSE_UNSTABLE Enable unstable (alpha) modes
XCOMM -DCLOSEDOWN_LOGOUT Use with USE_AUTO_LOGOUT, USE_BUTTON_LOGOUT,
XCOMM USE_BOMB if using xdm
XCOMM -DSESSION_LOGOUT Alternate of above
XCOMM -DSTAFF_FILE=\"/etc/xlock.staff\" File of staff who are exempt
XCOMM -DSTAFF_NETGROUP=\"/etc/xlock.netgroup\" Netgroup that is exempt
XCOMM May have to combine in one long line if "+=" does not work
OPTDEF = -DUSE_VROOT -DALWAYS_ALLOW_ROOT -DUSE_BOMB
XCOMM OPTDEF += -DDISABLE_INTERACTIVE
XCOMM OPTDEF += -DUSE_UNSTABLE
XCOMM OPTDEF += -DUSE_SYSLOG -DSYSLOG_FACILITY=LOG_AUTH
XCOMM OPTDEF += -DSYSLOG_WARNING=LOG_WARNING
XCOMM OPTDEF += -DSYSLOG_NOTICE=LOG_NOTICE -DSYSLOG_INFO=LOG_INFO
XCOMM OPTDEF += -DUSE_MULTIPLE_USER
XCOMM OPTDEF += -DUSE_MULTIPLE_ROOT
XCOMM OPTDEF += -DUSE_OLD_EVENT_LOOP
XCOMM OPTDEF += -DUSE_XLOCKRC
XCOMM OPTDEF += -DUSE_AUTO_LOGOUT=240
XCOMM OPTDEF += -DDEF_AUTO_LOGOUT=\"120\"
XCOMM OPTDEF += -DUSE_BUTTON_LOGOUT=10
XCOMM OPTDEF += -DDEF_BUTTON_LOGOUT=\"5\"
XCOMM OPTDEF += -DCLOSEDOWN_LOGOUT
XCOMM OPTDEF += -DSESSION_LOGOUT
XCOMM OPTDEF += -DSTAFF_FILE=\"/etc/xlock.staff\"
XCOMM OPTDEF += -DSTAFF_NETGROUP=\"/etc/xlock.netgroup\"
DEFINES = -DDEF_FILESEARCHPATH=\"$(LIBDIR)/%T/%N%S\" \
$(SYSTEMDEF) $(EDITRESDEF) $(SLEEPDEF) $(OPTDEF) $(RANDDEF) \
$(MODULEDEF) $(CHECKDEF) $(INTERACTIVEDEF) $(UNSTABLEDEF) $(PASSWDDEF) \
$(XMINC) $(XAWINC) $(CPPDEF) $(XPMDEF) $(GLDEF) $(DTSAVERDEF) $(DPMSDEF) \
$(SOUNDDEF) $(PASSWDINC) $(XPMINC) $(GLINC) $(DTSAVERINC) $(DPMSINC) \
$(SOUNDINC) $(XLOCKINC)
DEPLIBS = $(DEPXLIB)
#ifdef SGIArchitecture
FIRSTLIB = -L/usr/lib32
#endif
LOCAL_LIBRARIES = $(FIRSTLIB) $(MODULELIB) $(XLIB) \
$(XPMLIB) $(GLLIB) $(TTFLIB) $(GLTTLIB) $(DTSAVERLIB) $(DPMSLIB) $(SOUNDLIB)
MLIBS = $(FIRSTLIB) $(XPMLIB) $(XMLIB) $(EDITRESLIB) -lXt \
$(XLIB) $(SMLIB) $(ICELIB)
LINTLIBS = $(LINTXLIB)
#if HasLibCrypt
CRYPTLIB = -lcrypt
#endif
SYS_LIBRARIES = $(CRYPTLIB) $(PASSWDLIB) MathLibrary
VER = xlockmore
DISTVER = xlockmore-5.06
|