/* special extra rules for As* programs */ /* Borrowed from R5 for R4 & R3 cases */ /* if [ -d ] or [ ! -d ] causes make to fail, define this as - */ #ifndef DirFailPrefix #define DirFailPrefix #endif /* * MACHINE-INDEPENDENT RULES; DO NOT MODIFY * * The following macros are defined for the various templates and Imakefiles * (for a list of the applicable make variables, see the template files): * * MakeDir (dir) * InstallAppDefaultsLong (file,class) */ #ifndef MakeDir #define MakeDir(dir) DirFailPrefix@if [ -d dir ]; then set +x; \ @@\ else (set -x; $(MKDIRHIER) dir); fi #endif /* * InstallAppDefaultsLong - generate rules to install appliation default files * if the InstallAppDefFiles configuration parameter is set. */ #ifndef InstallAppDefaultsLong #if InstallAppDefFiles #define InstallAppDefaultsLong(file,class) @@\ install:: file.ad @@\ MakeDir($(DESTDIR)$(XAPPLOADDIR)) @@\ $(INSTALL) -c $(INSTAPPFLAGS) file.ad $(DESTDIR)$(XAPPLOADDIR)/class #else #define InstallAppDefaultsLong(file,class) #endif /* InstallAppDefFiles */ #endif /* InstallAppDefaultsLong */ /* End of R5 borrowing */