File: config.mk

package info (click to toggle)
sacc 1.07-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 156 kB
  • sloc: ansic: 2,156; makefile: 85
file content (40 lines) | stat: -rw-r--r-- 929 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
38
39
40
# Install paths
PREFIX = /usr/local
MANDIR = $(PREFIX)/share/man/man1

# Default build flags
CFLAGS = -Os
LDFLAGS = -s

# Default version to put in the ident string
DEFVERSION = "1.07"

# UI type
# txt (textual)
#UI=txt
# ti (screen-oriented)
UI=ti
LIBS=-lcurses

# IO type
# clr (clear)
#IO = clr
# tls (Transport Layer Security)
IO = tls
IOLIBS = -ltls
IOCFLAGS = -DUSE_TLS

# OS compilation flags are used to expose the system interfaces
# Linux, OpenBSD
OSCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE
OSLDFLAGS = 
# NetBSD, using default pkgsrc path
#OSCFLAGS = -I/usr/pkg/include
#OSLDFLAGS = -L/usr/pkg/lib -R/usr/pkg/lib
# FreeBSD
#OSCFLAGS = -I/usr/local/include
#OSLDFLAGS = -L/usr/local/lib

# Define NEED_ASPRINTF and/or NEED_STRCASESTR in your OS compilation flags
# if your system does not provide asprintf() or strcasestr(), respectively.
#OSCFLAGS = -DNEED_ASPRINTF -DNEED_STRCASESTR