aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/ICE/Imakefile
blob: 0dce0c7b4195c4728acc8665c182a2616cb81e10 (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
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
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:44:11 cpqbld Exp $




XCOMM $XFree86: xc/lib/ICE/Imakefile,v 3.5 2001/04/23 16:17:06 tsi Exp $

#define DoNormalLib NormalLibICE
#define DoSharedLib SharedLibICE
#define DoExtraLib SharedLibICE
#define DoDebugLib DebugLibICE
#define DoProfileLib ProfileLibICE
#define LibName ICE
#define SoRev SOICEREV
#define IncSubdir X11
#define IncSubSubdir ICE

#ifdef SharedICEReqs
REQUIREDLIBS = SharedICEReqs
#endif

#if (SystemV || SystemV4) && !HasSockets
CONN_DEFINES = -DTCPCONN -DICE_t -DTRANS_CLIENT -DTRANS_SERVER $(XTRANS_FAILDEFINES)
#else
CONN_DEFINES = $(CONNECTION_FLAGS) -DICE_t -DTRANS_CLIENT -DTRANS_SERVER $(XTRANS_FAILDEFINES)
#endif

#if HasBSD44Sockets
SOCK_DEFINES = -DBSD44SOCKETS
#endif

DEPEND_DEFINES = $(TRANS_INCLUDES) $(CONN_DEFINES) DependDefines

HEADERS = ICE.h \
          ICEconn.h \
          ICEproto.h \
          ICElib.h \
          ICEmsg.h \
          ICEutil.h

SRCS = accept.c \
       authutil.c \
       connect.c \
       error.c \
       getauth.c \
       iceauth.c \
       listen.c \
       listenwk.c \
       locking.c \
       misc.c \
       ping.c \
       process.c \
       protosetup.c \
       register.c \
       replywait.c \
       setauth.c \
       shutdown.c \
       transport.c \
       watch.c

OBJS = accept.o \
       authutil.o \
       connect.o \
       error.o \
       getauth.o \
       iceauth.o \
       listen.o \
       listenwk.o \
       locking.o \
       misc.o \
       ping.o \
       process.o \
       protosetup.o \
       register.o \
       replywait.o \
       setauth.o \
       shutdown.o \
       transport.o \
       watch.o

#include <Library.tmpl>

SpecialCLibObjectRule(accept,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))
SpecialCLibObjectRule(connect,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))
SpecialCLibObjectRule(listen,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))
SpecialCLibObjectRule(listenwk,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))
SpecialCLibObjectRule(misc,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))
SpecialCLibObjectRule(shutdown,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES))
SpecialCLibObjectRule(transport,$(ICONFIGFILES),$(TRANS_INCLUDES) $(CONN_DEFINES) $(SOCK_DEFINES))
LinkSourceFile(transport.c,$(TRANSCOMMSRC))

DependTarget()