[project @ 1996-11-21 16:45:53 by simonm]
[ghc-hetmet.git] / ghc / mkworld / macros-ghc.jm
diff --git a/ghc/mkworld/macros-ghc.jm b/ghc/mkworld/macros-ghc.jm
deleted file mode 100644 (file)
index 18d3329..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/* ToDo: cmp -> $(CMP) */
-
-#ifndef UgenTarget
-#define UgenTarget(dir,fileroot)                                       @@\
-ExtraStuffToBeVeryClean(dir/fileroot.c dir/fileroot.h dir/fileroot.hs)         @@\
-dir/fileroot.c dir/CAT3(U_,fileroot,.hs): dir/fileroot.ugn                                             @@\
-       $(RM) dir/fileroot.c dir/fileroot.hs dir/CAT3(U_,fileroot,.hs) dir/fileroot.h-SAVE      @@\
-       if [ -f dir/fileroot.h ] ; then $(MV) -f dir/fileroot.h dir/fileroot.h-SAVE ; else exit 0 ; fi @@\
-       $(UGEN) dir/fileroot.ugn || ( $(RM) dir/fileroot.h dir/fileroot.c dir/CAT3(U_,fileroot,.hs); $(MV) -f dir/fileroot.h-SAVE dir/fileroot.h )                                              @@\
-       if cmp -s dir/fileroot.h-SAVE dir/fileroot.h ; then \                   @@\
-           $(MV) -f dir/fileroot.h-SAVE dir/fileroot.h ; \                     @@\
-       else \                                                                  @@\
-           chmod 444 dir/fileroot.h dir/fileroot.c dir/fileroot.hs ; \         @@\
-       fi                                                                      @@\
-       @$(RM) dir/fileroot.h-SAVE                                              @@\
-       $(MV) -f dir/fileroot.hs dir/CAT3(U_,fileroot,.hs)                      @@\
-                                                                               @@\
-dir/fileroot.h : dir/fileroot.c                                                        @@\
-       @: /* no-op */
-#endif /* UgenTarget */