-
Notifications
You must be signed in to change notification settings - Fork 10
/
configure.h
79 lines (59 loc) · 1.56 KB
/
configure.h
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
XCOMM Imakefile for MLVWM
XCOMM Do you want to use Locale?
XCOMM If you use Solaris 1 and your X11 didn't compile with X_LOCALE,
XCOMM sometime, you can't find multi-byte character.
#define HasLocale YES
XCOMM After version 6.0-current, the name of default rc file is changed.
XCOMM Do you want to use .desktop to rc file?
#define OldRCFile NO
XCOMM Do you want to install sample rc file to MlvwmLibDir?
#define InstallSampleRC NO
XCOMM The directory name of bindir and libdir.
XCOMM #define MlvwmBinDir /home/hase/bin
XCOMM #define MlvwmLibDir /home2/hase/bin/mlvwm-lib
XCOMM
XCOMM Cannot modify as follows:
XCOMM
#ifdef MlvwmBinDir
MLVWMBINDIR = MlvwmBinDir
#else
MLVWMBINDIR = $(BINDIR)
#endif
#ifdef MlvwmLibDir
MLVWMLIBDIR = MlvwmLibDir
#else
MLVWMLIBDIR = $(USRLIBDIR)/X11/mlvwm
#endif
#ifndef HasLocale
#define HasLocale NO
#endif
#ifndef OldRCFile
#define OldRCFile NO
#endif
#if HasLocale
Locale_DEFINES = -DUSE_LOCALE
#if defined(FreeBSDArchitecture) && OSMajorVersion>1 && OSMinorVersion>1
Locale_LIBRARIES = -lxpg4
#endif /* End FreeBSD */
#endif /* End HasLocale */
#if defined(SunArchitecture)
CC = gcc
#endif
#if OldRCFile
MLVWMRC = .desktop
#else
MLVWMRC = .mlvwmrc
#endif
#if Compatible
COMPATIBLE = -DCOMPATIBLE
#else
COMPATIBLE =
#endif
XCOMM
CDEBUGFLAGS = -g -Wall -Wshadow
XCOMM CDEBUGFLAGS = -O2 -Wall
XCOMM CDEBUGFLAGS = -g -Wall
XCOMM CDEBUGFLAGS = -g
ICONPATH = /usr/X11R6/include/pixmaps
MLVWMDEFINES = $(Locale_DEFINES) $(COMPATIBLE)
MLVWMLIBRARIES = $(Locale_LIBRARIES)