This repository was archived by the owner on Feb 8, 2024. It is now read-only.
forked from opnsense/bsdinstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig
More file actions
57 lines (49 loc) · 1.17 KB
/
Config
File metadata and controls
57 lines (49 loc) · 1.17 KB
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
#
# Global configuration file for BSD Installer Makefiles.
# $Id: Config,v 1.7 2005/08/29 20:49:36 cpressey Exp $
#
# This file should be included by all other Makefiles in the following way:
# BASE?= ../..
# include ${BASE}/Config
#
# First, load in Lua configuration. This file can override any settings
# in that file; see the comments in that file for settings that you might
# want to tweak in here.
#
include ${BASE}/lua/config
#
# Locations/names of build tools.
#
CC?=cc
AR?=ar
RANLIB?=ranlib
STRIP?=strip
RM?=rm
LN?=ln
#
# Standard warning flags.
#
WARNS= -W -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual \
-Wswitch -Wshadow -Wcast-align -Wchar-subscripts \
-Winline -Wnested-externs -Wredundant-decls
#
# For shared libraries
#
ANAME= lib${LIB}.a
SONAME= lib${LIB}.so.${LIB_VER}
SOLINK= lib${LIB}.so
#DLLIB= -ldl # for Lua, uncomment on systems that need it
#
# For 'make distribution'
#
DESTDIR?=/usr/local
#
# For systems that don't support strlcpy:
#
#CFLAGS+=-Dstrlcpy=strncpy
#
# For systems that don't define (or even support) __unused:
#
#CFLAGS+=-D__unused="__attribute__((__unused__))"
#CFLAGS+=-D__unused=''