aboutsummaryrefslogtreecommitdiff
path: root/dist/tests/cxx/serializer/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/tests/cxx/serializer/makefile')
-rw-r--r--dist/tests/cxx/serializer/makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/dist/tests/cxx/serializer/makefile b/dist/tests/cxx/serializer/makefile
new file mode 100644
index 0000000..57e4ad4
--- /dev/null
+++ b/dist/tests/cxx/serializer/makefile
@@ -0,0 +1,57 @@
+root := ../../..
+
+include $(root)/build/config.make
+
+dirs := generated-driver
+
+ifeq ($(XSDE_IOSTREAM),y)
+
+dirs += \
+all \
+built-in \
+choice \
+recursive \
+reset \
+restriction \
+sequence \
+test-template \
+wildcard
+
+ifeq ($(XSDE_EXCEPTIONS),y)
+dirs += error-handling/exceptions
+else
+dirs += error-handling/codes
+endif
+
+ifeq ($(XSDE_REUSE_STYLE),tiein)
+dirs += \
+complex \
+enumeration \
+list \
+union
+endif
+
+ifeq ($(XSDE_POLYMORPHIC),y)
+ifeq ($(XSDE_REUSE_STYLE),tiein)
+dirs += polymorphism
+endif
+endif
+
+endif # XSDE_IOSTREAM
+
+ifeq ($(XSDE_SERIALIZER_VALIDATION),y)
+dirs += validation
+endif
+
+
+.PHONY: all $(dirs)
+
+all: $(dirs)
+
+$(dirs):
+ @$(MAKE) -C $@ $(MAKECMDGOALS)
+
+makefile: ;
+%.make:: ;
+
+%:: $(dirs) ;