aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/Xmu/Imakefile
blob: 0a4f5243f0e666ea6c7b205b41cf0505d6055ffb (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:02 cpqbld Exp $




XCOMM $XFree86: xc/lib/Xmu/Imakefile,v 1.7 1999/04/28 15:04:50 dawes Exp $

#define DoNormalLib NormalLibXmu
#define DoSharedLib SharedLibXmu
#define DoExtraLib SharedLibXmu
#define DoDebugLib DebugLibXmu
#define DoProfileLib ProfileLibXmu
#define HasSharedData YES
#define LibName NX_Xmu
#define SoRev SOXMUREV
#define IncSubdir X11
#define IncSubSubdir Xmu

#include <Threads.tmpl>

#ifdef SharedXmuReqs
REQUIREDLIBS = SharedXmuReqs
#endif

/* Since people link in Xmu without Xt, we avoid references to string data. */
#if HasSharedLibraries
   SHAREDCODEDEF = SharedCodeDef -DXTSTRINGDEFINES
#endif
       LINTLIBS = $(LINTXLIB) 

#if HasSnprintf
   MISC_DEFINES = -DHAS_SNPRINTF
#else
  MISC_INCLUDES = -I$(LIBSRC)/misc
#endif

        DEFINES = $(MISC_DEFINES)
       INCLUDES = $(MISC_INCLUDES)

#ifdef OsNameDefines
OS_NAME_DEFINES = OsNameDefines
#endif
        CSSDEFS = $(OS_NAME_DEFINES) $(CONNECTION_FLAGS)
        BITDEFS = -DBITMAPDIR=\"$(INCDIR)/X11/bitmaps\"

HEADERS = \
	Xmu.h \
	Atoms.h \
	CharSet.h \
	CloseHook.h \
	Converters.h \
	CurUtil.h \
	CvtCache.h \
	DisplayQue.h \
	Drawing.h \
	Editres.h \
	EditresP.h \
	Error.h \
	ExtAgent.h \
	Initer.h \
	Lookup.h \
	Misc.h \
	StdSel.h \
	StdCmap.h \
	SysUtil.h \
	WidgetNode.h \
	WinUtil.h \
	Xct.h


SRCS = \
	AllCmap.c \
	Atoms.c \
	ClientWin.c \
	Clip.c \
	CloseHook.c \
	CmapAlloc.c \
	CrCmap.c \
	CrPixFBit.c \
	CursorName.c \
	CvtCache.c \
	CvtStdSel.c \
	DefErrMsg.c \
	DelCmap.c \
	DisplayQue.c \
	Distinct.c \
	DrawLogo.c \
	DrRndRect.c \
	EditresCom.c \
	ExtAgent.c \
	FToCback.c \
	GetHost.c \
	GrayPixmap.c \
	Initer.c \
	LocBitmap.c \
	Lookup.c \
	LookupCmap.c \
	Lower.c \
	RdBitF.c \
	ScrOfWin.c \
	ShapeWidg.c \
	StdCmap.c \
	StrToBS.c \
	StrToBmap.c \
	StrToCurs.c \
	StrToGrav.c \
	StrToJust.c \
	StrToLong.c \
	StrToOrnt.c \
	StrToShap.c \
	StrToWidg.c \
	UpdMapHint.c \
	VisCmap.c \
	WidgetNode.c \
	Xct.c \
	sharedlib.c

#if SharedDataSeparation
UNSHAREDOBJS = sharedlib.o
#endif

OBJS = \
	AllCmap.o \
	Atoms.o \
	ClientWin.o \
	Clip.o \
	CloseHook.o \
	CmapAlloc.o \
	CrCmap.o \
	CrPixFBit.o \
	CursorName.o \
	CvtCache.o \
	CvtStdSel.o \
	DefErrMsg.o \
	DelCmap.o \
	DisplayQue.o \
	Distinct.o \
	DrawLogo.o \
	DrRndRect.o \
	EditresCom.o \
	ExtAgent.o \
	FToCback.o \
	GetHost.o \
	GrayPixmap.o \
	Initer.o \
	LocBitmap.o \
	Lookup.o \
	LookupCmap.o \
	Lower.o \
	RdBitF.o \
	ScrOfWin.o \
	ShapeWidg.o \
	StdCmap.o \
	StrToBS.o \
	StrToBmap.o \
	StrToCurs.o \
	StrToGrav.o \
	StrToJust.o \
	StrToLong.o \
	StrToOrnt.o \
	StrToShap.o \
	StrToWidg.o \
	UpdMapHint.o \
	VisCmap.o \
	WidgetNode.o \
	Xct.o

#include <Library.tmpl>

SpecialCLibObjectRule(CvtStdSel,$(ICONFIGFILES),$(CSSDEFS))
SpecialCLibObjectRule(LocBitmap,$(ICONFIGFILES),$(BITDEFS))
#if DoSharedLib && SharedDataSeparation
SpecialCObjectRule(sharedlib,$(_NOOP_),$(SHLIBDEF))
#endif

DependTarget()