summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/ibm/AIX/Imakefile
blob: 6aa00dd9631c9b89afd122ea15d417055b7b64ba (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
XCOMM $XConsortium: Imakefile,v 1.6 93/09/06 15:26:16 rws Exp $
#include <Server.tmpl>

OSDEP_SRC = AIXV3.c AIXinit.c aixMsg.c aixError.c aixWrap.c
OSDEP_OBJ = AIXV3.o AIXinit.o aixMsg.o aixError.o aixWrap.o

SRCS =		aixCursor.c	\
		aixEvents.c	\
		aixKeybd.c	\
		aixMouse.c	\
		hftQueue.c	\
		hftUtils.c	\
		$(OSDEP_SRC)

LIBOBJS =	aixCursor.o	\
		aixEvents.o	\
		aixKeybd.o	\
		aixMouse.o	\
		hftQueue.o	\
		hftUtils.o	\
		$(OSDEP_OBJ)

OBJS =		$(OTHROBJS) $(LIBOBJS)

EXT_DEFINES = ExtensionOSDefines
DEPEND_DEFINES = $(EXT_DEFINES)

#if ibmSpecialMalloc
DEFINES = -DIBM_SPECIAL_MALLOC
#else
DEFINES =
#endif

#if HasBSD44Sockets
SOCK_DEFINES = -DBSD44SOCKETS
#endif


INCLUDES = -I. -I../ -I../../../include -I$(INCLUDESRC) -I../common -I$(EXTINCSRC) -I../../../os

#if DebugServer && ProfileServer
DebuggedAndProfiledLibraryObjectRule()
#else
# if DebugServer
DebuggedLibraryObjectRule()
# else
#  if ProfileServer
ProfiledLibraryObjectRule()
#  else
NormalLibraryObjectRule()
#  endif
# endif
#endif

all::	$(OTHROBJS)

all:: hft.o

SpecialCObjectRule(AIXinit,$(ICONFIGFILES),$(SOCK_DEFINES))
SpecialCObjectRule(aixEvents,$(ICONFIGFILES),$(EXT_DEFINES))

hft.o:	
	cp hft.exp hft.o

NormalRelocatableTarget(OPERATING_SYSTEM,$(LIBOBJS))

#if ProfileServer
ProfiledRelocatableTarget(OPERATING_SYSTEM,$(LIBOBJS))
#endif
#if DebugServer
DebuggedRelocatableTarget(OPERATING_SYSTEM,$(LIBOBJS))
#endif

DependTarget()

LintLibraryTarget(OPERATING_SYSTEM,$(SRCS))
NormalLintTarget($(SRCS))