summaryrefslogtreecommitdiff
path: root/xc/lib/SM/Imakefile
blob: c7866c27e8ebd6142c4b79dcc22a3883ae629e38 (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
XCOMM $XConsortium: Imakefile,v 1.8 94/02/01 18:12:03 mor Exp $

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

#ifdef SharedSMReqs
REQUIREDLIBS = SharedSMReqs
#endif

#if (SystemV || SystemV4) && !HasSockets
CONN_DEFINES = -DTCPCONN -DICE_t
#else
CONN_DEFINES = ConnectionFlags -DICE_t
#endif

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()