aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
blob: 267a39bbb0bdbc863f97498cc72fbe3b3d6740e4 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
#
#

# these are setup to be overridden by the packages/*/Makefiles
SRC_ROOT_DIR := $(shell pwd)/..
INSTALL_PREFIX = $(SRC_ROOT_DIR)/packages/build

# default target
all: abstractions

include Makefile.buildlayout

DST_PATHS = APPLICATIONS_DEST=$(APPLICATIONS_DEST) \
				DOCS_DEST=$(DOCS_DEST) \
				HELP_DEST=$(HELP_DEST) \
				MANUALS_DEST=$(MANUALS_DEST) \
			   OBJECTS_DEST=$(OBJECTS_DEST) 

#==============================================================================#
#
# BUILD TARGETS
#
#==============================================================================#

#------------------------------------------------------------------------------
# abstractions
abstractions:
	make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS) install

#------------------------------------------------------------------------------
# doc
doc:


#------------------------------------------------------------------------------
# externals
externals:
# doc
	make -f $(EXTERNALS_SRC)/build/doc/makefile $(DST_PATHS) install


#------------------------------------------------------------------------------
# Gem
gem:


#------------------------------------------------------------------------------
# pd
pd:


#==============================================================================#
# CLEAN TARGETS
#==============================================================================#
abstractions_clean:
	make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS) clean

clean: abstractions_clean
	-rm -f *~
	rm -rf $(MANUALS_DEST) $(HELP_DEST)
	rmdir $(DOCS_DEST) $(INSTALL_PREFIX)