Move VMS subtree in the proper place.
[reactos.git] / vms / makefile
diff --git a/vms/makefile b/vms/makefile
new file mode 100644 (file)
index 0000000..88c1f9c
--- /dev/null
@@ -0,0 +1,120 @@
+# $Id$\r
+#\r
+# ReactOS VMS Personality\r
+#\r
+\r
+PATH_TO_TOP = ../reactos\r
+\r
+include $(PATH_TO_TOP)/rules.mak\r
+\r
+VMS_PATH = .\r
+\r
+VMS_OTHER = server\r
+\r
+VMS_TOOLS = mksystab\r
+\r
+VMS_LIBS = vmsdll\r
+\r
+VMS_APPS = # vmsw32\r
+\r
+VMS_MODULES = $(VMS_OTHER) $(VMS_TOOLS) $(VMS_LIBS) $(VMS_APPS)\r
+\r
+all:  implib $(VMS_MODULES)\r
+\r
+implib: $(VMS_MODULES:%=%_implib)\r
+\r
+clean: $(VMS_MODULES:%=%_clean)\r
+\r
+install: $(VMS_MODULES:%=%_install)\r
+\r
+.PHONY: all implib clean\r
+\r
+\r
+#\r
+# Other VMS+ Modules\r
+#\r
+$(VMS_OTHER): %:\r
+       make -f Makefile -C $(VMS_PATH)/$*\r
+\r
+$(VMS_OTHER:%=%_implib): %_implib:\r
+       make -f Makefile -C $(VMS_PATH)/$* implib\r
+\r
+$(VMS_OTHER:%=%_clean): %_clean:\r
+       make -f Makefile -C $(VMS_PATH)/$* clean\r
+\r
+$(VMS_OTHER:%=%_dist): %_dist:\r
+       make -f Makefile -C $(VMS_PATH)/$* dist\r
+\r
+$(VMS_OTHER:%=%_install): %_install:\r
+       make -f Makefile -C $(VMS_PATH)/$* install\r
+\r
+.PHONY: $(VMS_OTHER) $(VMS_OTHER:%=%_implib) $(VMS_OTHER:%=%_clean) $(VMS_OTHER:%=%_install) $(VMS_OTHER:%=%_dist)\r
+\r
+\r
+#\r
+# VMS+ Tools\r
+#\r
+$(VMS_TOOLS): %:\r
+       make -f Makefile -C $(VMS_PATH)/tools/$*\r
+\r
+$(VMS_TOOLS:%=%_implib): %_implib:\r
+       make -f Makefile -C $(VMS_PATH)/tools/$* implib\r
+\r
+$(VMS_TOOLS:%=%_clean): %_clean:\r
+       make -f Makefile -C $(VMS_PATH)/tools/$* clean\r
+\r
+$(VMS_TOOLS:%=%_dist): %_dist:\r
+       make -f Makefile -C $(VMS_PATH)/tools/$* dist\r
+\r
+$(VMS_TOOLS:%=%_install): %_install:\r
+       make -f Makefile -C $(VMS_PATH)/tools/$* install\r
+\r
+.PHONY: $(VMS_LIBS) $(VMS_LIBS:%=%_implib) $(VMS_LIBS:%=%_clean) $(VMS_LIBS:%=%_install) $(VMS_LIBS:%=%_dist)\r
+\r
+\r
+#\r
+# VMS+ DLLs\r
+#\r
+$(VMS_LIBS): %:\r
+       make -f Makefile -C $(VMS_PATH)/lib/$*\r
+\r
+$(VMS_LIBS:%=%_implib): %_implib:\r
+       make -f Makefile -C $(VMS_PATH)/lib/$* implib\r
+\r
+$(VMS_LIBS:%=%_clean): %_clean:\r
+       make -f Makefile -C $(VMS_PATH)/lib/$* clean\r
+\r
+$(VMS_LIBS:%=%_dist): %_dist:\r
+       make -f Makefile -C $(VMS_PATH)/lib/$* dist\r
+\r
+$(VMS_LIBS:%=%_install): %_install:\r
+       make -f Makefile -C $(VMS_PATH)/lib/$* install\r
+\r
+.PHONY: $(VMS_LIBS) $(VMS_LIBS:%=%_implib) $(VMS_LIBS:%=%_clean) $(VMS_LIBS:%=%_install) $(VMS_LIBS:%=%_dist)\r
+\r
+\r
+#\r
+# VMS+ Programs\r
+#\r
+$(VMS_APPS): %:\r
+       make -f Makefile -C $(VMS_PATH)/apps/$*\r
+\r
+$(VMS_APPS:%=%_implib): %_implib:\r
+       make -f Makefile -C $(VMS_PATH)/apps/$* implib\r
+\r
+$(VMS_APPS:%=%_clean): %_clean:\r
+       make -f Makefile -C $(VMS_PATH)/apps/$* clean\r
+\r
+$(VMS_APPS:%=%_dist): %_dist:\r
+       make -f Makefile -C $(VMS_PATH)/apps/$* dist\r
+\r
+$(VMS_APPS:%=%_install): %_install:\r
+       make -f Makefile -C $(VMS_PATH)/apps/$* install\r
+\r
+.PHONY: $(VMS_APPS) $(VMS_APPS:%=%_implib) $(VMS_APPS:%=%_clean) $(VMS_APPS:%=%_install) $(VMS_APPS:%=%_dist)\r
+\r
+\r
+etags:\r
+       find . -name "*.[ch]" -print | etags --language=c -\r
+\r
+# EOF\r