1: # Makefile.opts.in bmon Makefile options template
2: #
3: # $Id: Makefile.opts.in,v 1.1.1.1 2012/02/21 22:19:56 misho Exp $
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:
25: SYS = @SYS@
26: ARCH = @ARCH@
27:
28: CC = @CC@
29: DEBUG = @DEBUG@
30: STATIC = @STATIC@
31: BMON_LIB = @BMON_LIB@
32: LDFLAGS = @LDFLAGS@
33: CFLAGS = @CFLAGS@
34: CPPFLAGS = @CPPFLAGS@
35:
36: CURSES = @CURSES@
37: RRD = @RRD@
38: ASOUND = @ASOUND@
39: DBI = @DBI@
40:
41: DEPFLAGS += -M -I../include/ -I. $(CPPFLAGS)
42: CFLAGS += -I../include/ -I.
43: MAKEFLAGS += --no-print-directory
44:
45: prefix = @prefix@
46: mandir = @mandir@
47: sysconfdir = @sysconfdir@
48:
49: CFLAGS += -D_GNU_SOURCE
50:
51: ifeq ($(CC),gcc)
52: CFLAGS += -Wall
53: endif
54:
55: ifeq ($(DEBUG),1)
56: CFLAGS += -g
57: endif
58:
59: ifeq ($(STATIC),1)
60: LDFLAGS += -static
61: endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>