Mercurial > audlegacy
comparison mk/objective.mk @ 1217:ce65f2a60bdd trunk
[svn] - tell users to use GNU make
author | nenolod |
---|---|
date | Wed, 14 Jun 2006 01:12:01 -0700 |
parents | f22bd1fa1579 |
children | aa693b651fee |
comparison
equal
deleted
inserted
replaced
1216:a428d7e70c10 | 1217:ce65f2a60bdd |
---|---|
6 OBJECTIVE_LIBS_NOINST = | 6 OBJECTIVE_LIBS_NOINST = |
7 OBJECTIVE_BINS = | 7 OBJECTIVE_BINS = |
8 OBJECTIVE_DATA = | 8 OBJECTIVE_DATA = |
9 SUBDIRS = | 9 SUBDIRS = |
10 HEADERS = | 10 HEADERS = |
11 V = 0 | |
12 VERBOSE ?= $(V) | |
11 VERBOSITY = 0 | 13 VERBOSITY = 0 |
12 SHOW_CFLAGS = 0 | 14 SHOW_CFLAGS ?= $(VERBOSE) |
13 | |
14 #ifeq ($(SHOW_CFLAGS),0) | |
15 #ifeq ($(V),1) | |
16 #SHOW_CFLAGS = 1 | |
17 #endif | |
18 #ifeq ($(VERBOSE),1) | |
19 #SHOW_CFLAGS = 1 | |
20 #endif | |
21 #endif | |
22 | 15 |
23 LIBDIR = $(libdir) | 16 LIBDIR = $(libdir) |
24 BINDIR = $(bindir) | 17 BINDIR = $(bindir) |
25 INCLUDEDIR = $(pkgincludedir) | 18 INCLUDEDIR = $(pkgincludedir) |
26 CFLAGS += -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/xorg/include | 19 CFLAGS += -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/xorg/include |
130 @if test -f mk/rules.mk; then \ | 123 @if test -f mk/rules.mk; then \ |
131 rm -f -f mk/rules.mk; \ | 124 rm -f -f mk/rules.mk; \ |
132 fi | 125 fi |
133 | 126 |
134 build: | 127 build: |
128 # test for GNU make | |
129 @if test "x$(MAKE_VERSION)" == "x"; then \ | |
130 echo "[Your make is not properly supported, please use GNU make.]"; \ | |
131 exit 1; \ | |
132 fi; | |
135 $(MAKE) build-prehook | 133 $(MAKE) build-prehook |
136 @if test "x$(SUBDIRS)" != "x"; then \ | 134 @if test "x$(SUBDIRS)" != "x"; then \ |
137 for i in $(SUBDIRS); do \ | 135 for i in $(SUBDIRS); do \ |
138 if test $(VERBOSITY) -gt 0; then \ | 136 if test $(VERBOSITY) -gt 0; then \ |
139 echo "[building subobjective: $$i]"; \ | 137 echo "[building subobjective: $$i]"; \ |