equal
deleted
inserted
replaced
84 |
84 |
85 $(build_dir): |
85 $(build_dir): |
86 mkdir -p $(build_dir) |
86 mkdir -p $(build_dir) |
87 |
87 |
88 define make_src_rule |
88 define make_src_rule |
89 $(build_dir)/$(1)/$($(1)_checksum).sha1: $(build_dir) $(workspace)/$(1) |
89 $(build_dir)/$(1)/$($(1)_checksum).sha1: | $(build_dir) $(workspace)/$(1) |
90 rm -rf $(build_dir)/$(1) |
90 rm -rf $(build_dir)/$(1) |
91 tar -C $(workspace) $(tar_opts) -c $(1) | tar -C $(build_dir) -x |
91 tar -C $(workspace) $(tar_opts) -c $(1) | tar -C $(build_dir) -x |
92 touch $$@ |
92 touch $$@ |
93 endef |
93 endef |
94 $(foreach project,$(BUILT_PROJECTS),$(eval $(call make_src_rule,$(project)))) |
94 $(foreach project,$(BUILT_PROJECTS),$(eval $(call make_src_rule,$(project)))) |
95 |
95 |
96 $(build_dir)/matiec/iec2c: | $(build_dir)/matiec/$(matiec_checksum).sha1 |
96 $(build_dir)/matiec/iec2c: $(build_dir)/matiec/$(matiec_checksum).sha1 |
97 cd $(build_dir)/matiec && \ |
97 cd $(build_dir)/matiec && \ |
98 autoreconf -i && \ |
98 autoreconf -i && \ |
99 ./configure && \ |
99 ./configure && \ |
100 make |
100 make |
101 |
101 |
102 $(build_dir)/open62541/build/bin/libopen62541.a: | $(build_dir)/open62541/$(open62541_checksum).sha1 |
102 $(build_dir)/open62541/build/bin/libopen62541.a: $(build_dir)/open62541/$(open62541_checksum).sha1 |
103 cd $(build_dir)/open62541 && \ |
103 cd $(build_dir)/open62541 && \ |
104 rm -rf build && mkdir build && cd build && \ |
104 rm -rf build && mkdir build && cd build && \ |
105 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL .. && \ |
105 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL .. && \ |
106 make |
106 make |
107 |
107 |