aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/SM/Imakefile
blob: d2687bb642a4120c727dd09c42d5d5caa3cd129b (plain)
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
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:44:28 cpqbld Exp $




XCOMM $XFree86: xc/lib/SM/Imakefile,v 1.3 2001/01/17 19:41:31 dawes Exp $

#define DoNormalLib NormalLibSM
#define DoSharedLib SharedLibSM
#define DoExtraLib SharedLibSM
#define DoDebugLib DebugLibSM
#define DoProfileLib ProfileLibSM
#define LibName SM
#define SoRev SOSMREV
#define IncSubdir X11
#define IncSubSubdir SM

#include <Threads.tmpl>

#ifdef SharedSMReqs
REQUIREDLIBS = SharedSMReqs
#endif

#if (SystemV || SystemV4) && !HasSockets
CONN_DEFINES = -DTCPCONN -DICE_t
#else
CONN_DEFINES = $(CONNECTION_FLAGS) -DICE_t
#endif
DEPEND_DEFINES = $(CONN_DEFINES) DependDefines

HEADERS = SM.h \
          SMproto.h \
          SMlib.h

SRCS = sm_client.c \
       sm_genid.c \
       sm_manager.c \
       sm_process.c \
       sm_error.c \
       sm_misc.c \
       sm_auth.c

OBJS = sm_client.o \
       sm_genid.o \
       sm_manager.o \
       sm_process.o \
       sm_error.o \
       sm_misc.o \
       sm_auth.o

#include <Library.tmpl>

SpecialCLibObjectRule(sm_manager,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))
SpecialCLibObjectRule(sm_genid,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))

DependTarget()