blob: ae37fe2a036d0a1ce88e3bb9328d119336b75c63 (
plain) (
blame)
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
|
--- Imakefile.orig 2010-01-25 00:56:38.287976000 +0900
+++ Imakefile 2010-01-25 00:59:31.955886193 +0900
@@ -13,6 +13,17 @@
XPOLL_DEF = -DNO_XPOLL_H
#endif
+#ifdef USE_XAW3DLIB
+#undef XawClientLibs
+#define XawClientLibs -lXaw3d $(XMULIB) $(XTOOLLIB) $(XLIB)
+#endif
+
+#ifdef USE_NEXTAWLIB
+#undef XawClientLibs
+#define XawClientLibs -lneXtaw $(XMULIB) $(XTOOLLIB) $(XLIB)
+#endif
+
+
/*
* add -DWTMP and -DLASTLOG if you want them.
*/
@@ -27,9 +38,12 @@
OSMAJORVERSION = OSMajorVersion
OSMINORVERSION = OSMinorVersion
- MAIN_DEFINES = -DUTMP $(TTYGROUPDEF) $(PUCCPTYDDEF) \
+ MAIN_DEFINES = $(TTYGROUPDEF) $(PUCCPTYDDEF) \
-DOSMAJORVERSION=$(OSMAJORVERSION) \
-DOSMINORVERSION=$(OSMINORVERSION)
+#if defined(OSRelVersion) && OSRelVersion < 900007
+ MAIN_DEFINES+= -DUTMP
+#endif
MISC_DEFINES = /* -DALLOWLOGFILEEXEC */
XKB_DEFINES = XkbClientDefines
DEFINES = $(XKB_DEFINES) $(XPOLL_DEF) -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER
@@ -72,7 +86,7 @@
#endif
#endif
- TERMCAPLIB = TermcapLibrary
+ TERMCAPLIB = TermcapLibrary -lutil
AllTarget($(PROGRAMS))
|