summaryrefslogtreecommitdiff
path: root/Makefile
blob: f77f387b02a572e41529ac2c54602cbd7fb1628f (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
41
42
43
44
# Makefile for inotail
#
# Copyright (C) 2006, Tobias Klauser <tklauser@distanz.ch>
#
# Licensed under the terms of the GNU General Public License; version 2 or later.

VERSION = 0.1

# Paths
prefix	= /usr
DESTDIR	=

CC := gcc
CFLAGS := -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\""
WARN := -Wstrict-prototypes -Wsign-compare -Wshadow \
	-Wchar-subscripts -Wmissing-declarations -Wnested-externs \
	-Wpointer-arith -Wcast-align -Wmissing-prototypes
CFLAGS += $(WARN)

# Compile with 'make DEBUG=true' to enable debugging
DEBUG = false
ifeq ($(strip $(DEBUG)),true)
	CFLAGS  += -g -DDEBUG
endif

all: Makefile inotail
inotail: inotail.o

%.o: %.c %.h
	$(CC) $(CFLAGS) -c $< -o $@

install: inotail
	install -m 775 -D inotail $(DESTDIR)$(prefix)/bin/inotail
	install -m 644 -D inotail.1 $(DESTDIR)$(prefix)/share/man/man1/inotail.1

cscope:
	cscope -b

release:
	git-tar-tree HEAD inotail-$(VERSION) | gzip -9v > ../inotail-$(VERSION).tar.gz
	git-tar-tree HEAD inotail-$(VERSION) | bzip2 -9v > ../inotail-$(VERSION).tar.bz2

clean:
	rm -f inotail *.o cscope.*
d>ACPICA: Cleanup use of all non-ANSI local C library functionsBob Moore1-0/+4 2015-04-14ACPICA: Utilities: Cleanup to remove useless ACPI_PRINTF/FORMAT_xxx helpers.Lv Zheng1-12/+1 2015-02-05ACPICA: Update Copyright headers to 2015David E. Box1-1/+1 2014-03-18ACPICA: Revert "Headers: Deploy #pragma pack (push) and (pop)."Robert Moore1-4/+0 2014-02-27ACPICA: Headers: Deploy #pragma pack (push) and (pop).Bob Moore1-0/+4 2014-02-11ACPICA: Update ACPICA copyrights to 2014.Bob Moore1-1/+1 2014-02-11ACPICA: Improve support for 32/64 bit physical addresses in printf().Bob Moore1-5/+9 2013-10-30ACPICA: Cleanup memory allocation macros and configurability.Lv Zheng1-31/+0 2013-06-01ACPICA: Add BIOS error interface for predefined name validation supportBob Moore1-4/+6 2013-03-12ACPICA: Add parens within macros around parameter namesBob Moore1-2/+2 2013-03-12ACPICA: Add macros to access pointer to next object in the descriptor listJung-uk Kim1-1/+3 2013-01-25ACPICA: Update ACPICA copyrights to 2013Bob Moore1-1/+1 2013-01-10ACPICA: Merge all debug output macros into a single file, acoutput.Bob Moore1-126/+0 2013-01-10ACPICA: Eliminate superfluous return_UINT8 and return_UINT32 macros.Bob Moore1-7/+0 2013-01-10ACPICA: DEBUG_PRINT macros: Update to improve performance.Bob Moore1-65/+67 2013-01-10ACPICA: Eliminate some small unnecessary pathname functions.Bob Moore1-0/+6 2013-01-10ACPICA: Enhance the ACPI_GETx and ACPI_SETx macros.Lv Zheng1-8/+12 2013-01-10ACPICA: Add macros to extract flag bits from resource descriptors.Bob Moore1-0/+14 2012-11-15ACPICA: Add starting offset parameter to common dump buffer routineBob Moore1-1/+1 2012-11-15ACPICA: Fix unmerged acmacros.h divergences.Lv Zheng1-104/+57 2012-09-21ACPICA: Add support for complex _PLD buffers.Bob Moore1-3/+26 2012-07-17ACPICA: AcpiSrc: Fix some translation issues for Linux conversionBob Moore1-1/+1 2012-07-17ACPICA: Fix some comment fieldsBob Moore1-2/+2 2012-03-22ACPICA: Add table-driven dispatch for sleep/wake functionsBob Moore1-0/+6 2012-01-17ACPICA: Update all copyrights to 2012Bob Moore1-1/+1 2011-01-18ACPICA: Update all ACPICA copyrights and signons to 2011Bob Moore1-1/+1 2010-10-01ACPICA: iASL/Disassembler: Write ACPI errors to stderr instead of output fileBob Moore1-2/+2