X-Git-Url: http://git.onelab.eu/?p=libnl.git;a=blobdiff_plain;f=Makefile.opts.in;fp=Makefile.opts.in;h=87d229bd4aaf411ba07714e7492f58e5eb3d6b2e;hp=0000000000000000000000000000000000000000;hb=4cee2ecb3b8afa0637e6f5fe4c57985a4bc740ff;hpb=2df2fbe518d5a221ce6e3ee88a3fb23fb1b94b27 diff --git a/Makefile.opts.in b/Makefile.opts.in new file mode 100644 index 0000000..87d229b --- /dev/null +++ b/Makefile.opts.in @@ -0,0 +1,39 @@ +# +# 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-2006 Thomas Graf +# + +CC := @CC@ +CFLAGS := @CFLAGS@ +LDFLAGS := @LDFLAGS@ +CPPFLAGS := @CPPFLAGS@ +PACKAGE_NAME := @PACKAGE_NAME@ +PACKAGE_VERSION := @PACKAGE_VERSION@ + +LIBNL_LIB := @LIBNL_LIB@ + +prefix := @prefix@ +exec_prefix := @exec_prefix@ +libdir := @libdir@ +includedir := @includedir@ +mandir := @mandir@ +sysconfdir := @sysconfdir@ + +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 +