summaryrefslogtreecommitdiffstats
path: root/Makefile.opts.in
blob: b68e12f18b8430477d9263f0efb600dc09c9a172 (plain)
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
#
# Makefile.opts.in
#
# 	This library is free software; you can redistribute it and/or
#	modify it under the terms of the GNU Lesser General Public
#	License as published by the Free Software Foundation version 2.1
#	of the License.
#
# Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch>
#

CC               := @CC@
CFLAGS           := @CFLAGS@
LDFLAGS          := @LDFLAGS@
CPPFLAGS         := @CPPFLAGS@
PACKAGE_NAME     := @PACKAGE_NAME@
PACKAGE_VERSION  := @PACKAGE_VERSION@

LIBNL_LIB        := @LIBNL_LIB@ -lc -L.

prefix           := @prefix@
exec_prefix      := @exec_prefix@
libdir           := @libdir@
includedir       := @includedir@
mandir           := @mandir@
sysconfdir       := @sysconfdir@
datarootdir      := @datarootdir@

AR               := ar
RM               := rm
LN               := ln

DEPFLAGS         += -M -I../include/ -I. $(CPPFLAGS)
CFLAGS           += -g -I./include -I../include -I. $(CPPFLAGS) -D_GNU_SOURCE
MAKEFLAGS        += --no-print-directory

ifeq ($(CC),gcc)
CFLAGS           += -Wall -ggdb
endif