-
Notifications
You must be signed in to change notification settings - Fork 45
/
aggregate.make
54 lines (43 loc) · 1.71 KB
/
aggregate.make
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
45
46
47
48
49
50
51
52
53
54
# -*-makefile-*-
# aggregate.make
#
# Makefile rules to build a set of GNUstep-base subprojects.
#
# Copyright (C) 2002 - 2010 Free Software Foundation, Inc.
#
# Author: Nicola Pero <nicola.pero@meta-innovation.com>
#
# This file is part of the GNUstep Makefile Package.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.
# If not, write to the Free Software Foundation,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# This header used to be the only way to build subdirectories before
# gnustep-make 2.4.0 (February 2010). You can still use it (for now)
# to maintain backwards compatibility with older versions of
# gnustep-make. It will be deprecated in February 2012, and removed
# in February 2015.
# To use it, set the SUBPROJECTS variable to the list of your
# subdirectories, and include it. To request parallel building (if
# available), set "GNUSTEP_USE_PARALLEL_AGGREGATE = yes", else serial
# building will be assumed.
# prevent multiple inclusions
ifeq ($(AGGREGATE_MAKE_LOADED),)
AGGREGATE_MAKE_LOADED=yes
ifeq ($(GNUSTEP_INSTANCE),)
ifeq ($(GNUSTEP_USE_PARALLEL_AGGREGATE), yes)
PARALLEL_SUBDIRECTORIES = $(SUBPROJECTS)
include $(GNUSTEP_MAKEFILES)/Master/parallel-subdirectories.make
else
SERIAL_SUBDIRECTORIES = $(SUBPROJECTS)
include $(GNUSTEP_MAKEFILES)/Master/serial-subdirectories.make
endif
endif
endif
# aggregate.make loaded