source: src/router/bmon/Makefile.opts.in @ 7391

Last change on this file since 7391 was 7391, checked in by BrainSlayer, 6 years ago

bmon changes

File size: 1.7 KB
Line 
1# Makefile.opts.in             bmon Makefile options template
2#
3# $Id: Makefile.opts.in 16 2004-10-29 12:04:07Z tgr $
4#
5# Copyright (c) 2001-2004 Thomas Graf <tgraf@suug.ch>
6#
7# Permission is hereby granted, free of charge, to any person obtaining a
8# copy of this software and associated documentation files (the "Software"),
9# to deal in the Software without restriction, including without limitation
10# the rights to use, copy, modify, merge, publish, distribute, sublicense,
11# and/or sell copies of the Software, and to permit persons to whom the
12# Software is furnished to do so, subject to the following conditions:
13#
14# The above copyright notice and this permission notice shall be included
15# in all copies or substantial portions of the Software.
16#
17# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23# DEALINGS IN THE SOFTWARE.
24
25SYS = @SYS@
26ARCH = @ARCH@
27
28CC = @CC@
29DEBUG = @DEBUG@
30STATIC = @STATIC@
31BMON_LIB = @BMON_LIB@
32LDFLAGS = @LDFLAGS@
33CFLAGS = -DNEED_PRINTF @CFLAGS@
34CPPFLAGS = @CPPFLAGS@
35
36CURSES = @CURSES@
37RRD = @RRD@
38ASOUND = @ASOUND@
39DBI = @DBI@
40
41DEPFLAGS  += -M -I../include/ -I. $(CPPFLAGS)
42CFLAGS    += -I../include/ -I.
43MAKEFLAGS += --no-print-directory
44
45prefix = @prefix@
46mandir = @mandir@
47sysconfdir = @sysconfdir@
48
49CFLAGS += -D_GNU_SOURCE
50
51ifeq ($(CC),gcc)
52CFLAGS += -Wall
53endif
54
55ifeq ($(DEBUG),1)
56CFLAGS += -g
57endif
58
59ifeq ($(STATIC),1)
60LDFLAGS += -static
61endif
Note: See TracBrowser for help on using the repository browser.