# Makefile for inotail # # Copyright (C) 2006-2009 Tobias Klauser # # Licensed under the terms of the GNU General Public License; version 2 or later. P = inotail VERSION = 0.6 # Paths prefix = /usr/local BINDIR = $(prefix)/bin MANDIR = $(prefix)/share/man/man1 CC := gcc CFLAGS := $(CFLAGS) -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" -W -Wall \ -Wextra -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts \ -Wmissing-declarations -Wpointer-arith -Wcast-align -Wmissing-prototypes # Compile with 'make DEBUG=true' to enable debugging DEBUG = false ifeq ($(strip $(DEBUG)),true) CFLAGS += -g -DDEBUG endif all: $(P) $(P): $(P).o %.o: %.c %.h $(CC) $(CFLAGS) -c $< -o $@ install: $(P) install -m 775 -D $(P) $(BINDIR)/$(P) install -m 644 -D $(P).1 $(MANDIR)/$(P).1 gzip -9 $(MANDIR)/$(P).1 uninstall: rm $(BINDIR)/$(P) $(MANDIR)/$(P).1* cscope: cscope -b archive: git-archive --format=tar --prefix=$(P)-$(VERSION)/ HEAD | gzip -9v > ../$(P)-$(VERSION).tar.gz git-archive --format=tar --prefix=$(P)-$(VERSION)/ HEAD | bzip2 -9v > ../$(P)-$(VERSION).tar.bz2 checksum: archive (cd ..; \ sha1sum $(P)-$(VERSION).tar.gz > $(P)-$(VERSION).tar.gz.sha1; \ sha1sum $(P)-$(VERSION).tar.bz2 > $(P)-$(VERSION).tar.bz2.sha1) signature: archive (cd ..; \ gpg -a --detach-sign $(P)-$(VERSION).tar.gz; \ gpg -a --detach-sign $(P)-$(VERSION).tar.bz2) release: archive checksum signature clean: rm -f $(P) *.o cscope.* >Tobias Klauser
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-26 15:25:23 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-12-15 08:54:49 -0200
commita2c223b5ed64d7a0266cf1a3e0b2726647a98ed8 (patch)
treef2dffd74cc99e700cfc9b03e84ffc9b099c9ad40 /Makefile
parentdaf34710a9e8849e04867d206692dc42d6d22263 (diff)
edac: edac_core.h: get rid of unused kobj_complete
This element of struct edac_pci_ctl_info is never used. So, get rid of it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Makefile')