/[baselayout]/trunk/src/Makefile
Gentoo

Diff of /trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2615 Revision 2638
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3 3
4CC ?= gcc 4CC ?= gcc
5 5
6CFLAGS ?= -Wall -O2 -pipe 6CFLAGS ?= -Wall -O2 -pipe
7
8check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
9 then echo "$(1)"; else echo "$(2)"; fi)
7 10
8# Loads of nice flags to ensure our code is good 11# Loads of nice flags to ensure our code is good
9CFLAGS += -pedantic -std=c99 \ 12CFLAGS += -pedantic -std=c99 \
10 -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \ 13 -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \
11 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings \ 14 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings \
46 service_coldplugged \ 49 service_coldplugged \
47 mark_service_starting mark_service_inactive mark_service_started \ 50 mark_service_starting mark_service_inactive mark_service_started \
48 mark_service_stopping mark_service_stopped \ 51 mark_service_stopping mark_service_stopped \
49 mark_service_inactive mark_service_wasinactive \ 52 mark_service_inactive mark_service_wasinactive \
50 mark_service_coldplugged \ 53 mark_service_coldplugged \
51 get_options save_options \ 54 get_options save_options rc-abort \
52 is_runlevel_start is_runlevel_stop service_started_daemon 55 is_runlevel_start is_runlevel_stop service_started_daemon
53 56
54# Quick hack to make my life easier on BSD and Linux 57# Quick hack to make my life easier on BSD and Linux
55ifeq ($(OS),) 58ifeq ($(OS),)
56OS=$(shell uname -s) 59OS=$(shell uname -s)

Legend:
Removed from v.2615  
changed lines
  Added in v.2638

  ViewVC Help
Powered by ViewVC 1.1.20