summaryrefslogtreecommitdiff
path: root/xc/lib/SM/Imakefile
blob: ed850e6158fb7046220c965f9851fce45dc155e6 (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
XCOMM $XConsortium: Imakefile,v 1.7 94/01/31 11:14:52 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 \
          SMlibint.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()