summaryrefslogtreecommitdiff
path: root/MCONFIG
blob: e206ba996857a4972d350f600377edcded06131f (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
#
# C Compiler
#
CC=		gcc

#
# Uncomment this line if you want to build shared DLL libraries, or
# comment this line out if you don't want to build shared DLL libraries.
#
BUILD_DLL_SHLIBS = YES

ifdef BUILD_DLL_SHLIBS
#
# Use these definitions is you use tools 2.x, x < 16
#
DLL_BIN=/usr/dll/bin
JUMP_PREFIX=/usr/dll/jump/

#
# Use these definitions if you use tools 2.16 or above
#
#DLL_BIN=/usr/bin
#JUMP_PREFIX=/usr/bin/jump

endif

#
# Uncomment this line if you want to build profiled libraries, or
# comment this line out if you don't want to build profiled libraries
#
BUILD_PROFILE_LIBS = YES

#
# Optimization flags
#
#OPT=	-g -O -fno-inline
OPT=	-O2 -fomit-frame-pointer

#
# Warning flags
#
# Uncomment WFLAGS if you want really anal GCC warning messages
#
#WFLAGS=		-ansi -D_POSIX_SOURCE -pedantic \
#			-Wall -Wwrite-strings -Wpointer-arith \
#			-Wcast-qual -Wenum-clash -Wcast-align -Wtraditional \
#			-Wstrict-prototypes -Wmissing-prototypes \
#			-Wnested-externs -Winline -Wshadow 

#
# Binaries tools
#
ARCHIVE=	ar r
RANLIB=		ranlib

#
# Installation user and groups
#
BINGRP=		bin
BINOWN=		bin
BINMODE=	555
INCGRP=		bin
INCOWN=		bin
INCMODE=	444
LIBOWN=		bin
LIBGRP=		bin
LIBMODE=	444
MANGRP=		bin
MANOWN=		bin
MANMODE=	444

#
# Installation programs
#
CHMOD=		chmod
INSTALL=	install -c
INSTALLBIN=	$(INSTALL) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) -s
INSTALLINC=	$(INSTALL) -o $(INCOWN) -g $(INCGRP) -m $(INCMODE)
INSTALLLIB=	$(INSTALL) -o $(LIBOWN) -g $(LIBGRP) -m $(LIBMODE)
INSTALLMAN=	$(INSTALL) -o $(MANOWN) -g $(MANGRP) -m $(MANMODE)

#
# Destination directories
#
ETCDIR=		$(DESTDIR)/etc
INCLDIR=	$(DESTDIR)/usr/include
LIBDIR=		$(DESTDIR)/usr/lib
SBINDIR=	$(DESTDIR)/sbin
SHLIBDIR=	$(DESTDIR)/lib
USRSHLIBDIR=	$(DESTDIR)/usr/lib
SMANDIR=	$(DESTDIR)/usr/man/man8
UMANDIR=	$(DESTDIR)/usr/man/man1
FMANDIR=	$(DESTDIR)/usr/man/man5
USRBINDIR=	$(DESTDIR)/usr/bin
USRSBINDIR=	$(DESTDIR)/usr/sbin