aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
blob: 21d7cb967690fe3df51a3234d9375be37efc86c7 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#==============================================================================#
#
# Centralized cross-platform build system 
#
# see README for instructions  <hans@at.or.at>
#
#==============================================================================#

CWD := $(shell pwd)

SRC_ROOT_DIR = $(CWD)/..
INSTALL_PREFIX = $(SRC_ROOT_DIR)/packages/build
BUILDLAYOUT_DIR = $(CWD)


# default target
all: abstractions doc externals flext gem pd
	@echo "Complete build succeeded!"

include $(BUILDLAYOUT_DIR)/Makefile.buildlayout

# these are sent to all of the various Makefiles so that they all copy their
# output to the same directory tree
DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \
				SRC_ROOT_DIR=$(SRC_ROOT_DIR) \
				INSTALL_PREFIX=$(INSTALL_PREFIX) \
				UNAME=$(UNAME)

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

#------------------------------------------------------------------------------
# abstractions
abstractions:


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


#------------------------------------------------------------------------------
# externals
externals: 
	cd $(EXTERNALS_SRC) && make $(DEST_PATHS)


#------------------------------------------------------------------------------
# flext
flext:


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


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

#==============================================================================#
#
# INSTALL TARGETS
#
#==============================================================================#

#------------------------------------------------------------------------------
# abstractions
abstractions_install:
	cd $(ABSTRACTIONS_SRC) && make $(DEST_PATHS) install

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


#------------------------------------------------------------------------------
# externals
externals_install: 
	cd $(EXTERNALS_SRC) && make $(DEST_PATHS) install


#------------------------------------------------------------------------------
# flext_install
flext_install:


#------------------------------------------------------------------------------
# Gem
gem_install:


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


#------------------------------------------------------------------------------
# install
install: abstractions_install doc_install externals_install flext_install 
install: gem_install pd_install
	@echo "Complete install succeeded!"

#==============================================================================#
# CLEAN TARGETS
#==============================================================================#
abstractions_clean:
	-cd $(ABSTRACTIONS_SRC) && make $(DEST_PATHS) clean


doc_clean:


externals_clean:
	-cd $(EXTERNALS_SRC) && make $(DEST_PATHS) clean


flext_clean:


gem_clean:


pd_clean:

# these targets are all from Makefile.buildlayout:
#   install_clean cruft_clean
clean: abstractions_clean doc_clean externals_clean flext_clean 
clean: gem_clean pd_clean 
	echo "Complete clean finished."