aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
blob: 8580e4f90f5214fed9b0edc4c51a976a4f68053c (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
#
#
#

# 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.dirs

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

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

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

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