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_DIR)" ""
8 export FEISTY_MEOW_DIR := $(CURRENT_DIR)
10 ifeq "$(PRODUCTION_DIR)" ""
11 export PRODUCTION_DIR = $(FEISTY_MEOW_DIR)/production
14 export CLAM_DIR = $(FEISTY_MEOW_SCRIPTS)/clam
17 include $(CLAM_DIR)/cpp/variables.def
19 PROJECT = feisty_meow_nucleus
21 FIRST_TARGETS = do_make
22 BUILD_AFTER = library applications tools
24 include $(CLAM_DIR)/cpp/rules.def
26 do_make: start_make $(PRODUCTION_DIR)/binaries/manifest.txt end_make
28 start_make: show_date.start
30 end_make: show_date.end
32 $(PRODUCTION_DIR)/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_DIR)/paths.ini" "$(EXECUTABLE_DIR)"; \
40 if [ $$? -ne 0 ]; then \
41 echo build failure while copying paths initialization file.; \
44 echo cmd is: $(CLAM_BIN)/value_tagger$(EXE_END) $(PRODUCTION_DIR)/codescan.ini; \
45 $(CLAM_BIN)/value_tagger$(EXE_END) $(PRODUCTION_DIR)/codescan.ini; \
46 if [ $$? -ne 0 ]; then \
47 echo build failure during value tagging.; \
50 $(CLAM_BIN)/write_build_config$(EXE_END); \
51 if [ $$? -ne 0 ]; then \
52 echo build failure while writing config.; \