File: MCONFIG

package info (click to toggle)
netstd 3.07-7slink.3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 6,312 kB
  • ctags: 9,027
  • sloc: ansic: 72,107; cpp: 6,144; makefile: 1,650; yacc: 1,614; sh: 1,164; perl: 308; awk: 46
file content (37 lines) | stat: -rw-r--r-- 850 bytes parent folder | download | duplicates (2)
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
#
# Makefile configuration.
#

WARNINGS=-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual \
	 -Wstrict-prototypes -Wmissing-prototypes \
	 -Wmissing-declarations -Wnested-externs -Winline -Wcast-align
# -Wwrite-strings        (Neither <arpa/ftp.h> nor bison output pass this)
# -Wshadow               (seems to produce only bogus warnings)
# -Wredundant-decls      (there are a number of such in Linux's /usr/include)

CC=gcc
CFLAGS=-O2 -pipe $(WARNINGS) -D__USE_BSD_SIGNAL # -D_GNU_SOURCE
LDFLAGS=
LIBS=-lcrypt
YACC=bison -y

# Do you use shadow passwords?
CFLAGS+=-DUSE_SHADOW

DAEMONMODE=755
MANMODE=644
SBINDIR=/usr/sbin
MANDIR=/usr/man

# Install into chroot area found here
INSTALLROOT=$(BASEDIR)

# Work around GNU libc lossage
USE_GLIBC=1

# Support Pluggable Authentication Modules
USE_PAM=0

# Support shadow passwords
USE_SHADOW=1