1 # Top-level makefile for library, application and test components.
5 # Set default locations for the following variables. If the build_variables
6 # have been sourced in, that takes care of setting these.
7 ifeq "$(FEISTY_MEOW_APEX)" ""
8 export FEISTY_MEOW_APEX := $(CURRENT_DIR)
10 #ifeq "$(PRODUCTION_STORE)" ""
11 # export PRODUCTION_STORE = $(FEISTY_MEOW_APEX)/production
13 ifeq "$(CLAM_SCRIPTS)" ""
14 export CLAM_SCRIPTS = $(FEISTY_MEOW_SCRIPTS)/clam
17 include $(CLAM_SCRIPTS)/cpp/variables.def
19 PROJECT = feisty_meow_nucleus
21 FIRST_TARGETS += do_make
22 BUILD_AFTER = library applications tools
24 include $(CLAM_SCRIPTS)/cpp/rules.def
26 do_make: start_make $(RUNTIME_PATH)/binaries/manifest.txt end_make
28 start_make: show_date.start
30 end_make: show_date.end
32 $(RUNTIME_PATH)/binaries/manifest.txt: $(PARAMETER_FILE)
34 if [ ! -d "$(EXECUTABLE_DIR)" ]; then mkdir -p "$(EXECUTABLE_DIR)"; fi; \
35 if [ $$? -ne 0 ]; then \
36 echo build failure while creating executable directory.; \
39 cp -f "$(PRODUCTION_STORE)/paths.ini" "$(EXECUTABLE_DIR)"; \
40 if [ $$? -ne 0 ]; then \
41 echo build failure while copying paths initialization file.; \
44 bash $(BUILD_SCRIPTS_PATH)/wrapdoze.sh $(CLAM_BINARIES)/value_tagger$(EXE_END) $(PRODUCTION_STORE)/codescan.ini; \
45 if [ $$? -ne 0 ]; then \
46 echo build failure during value tagging.; \
49 bash $(BUILD_SCRIPTS_PATH)/wrapdoze.sh $(CLAM_BINARIES)/write_build_config$(EXE_END); \
50 if [ $$? -ne 0 ]; then \
51 echo build failure while writing config.; \