--- for compatibility with the old mkDependHS, we accept options of the form
--- -optdep-f -optdep.depend, etc.
-dep_opts :: [Flag IO]
-dep_opts =
- [ Flag "s" (SepArg (consIORef v_Dep_suffixes))
- Supported
- , Flag "f" (SepArg (writeIORef v_Dep_makefile))
- Supported
- , Flag "w" (NoArg (writeIORef v_Dep_warnings False))
- Supported
-
- , Flag "-include-prelude" (NoArg (writeIORef v_Dep_include_pkg_deps True))
- (Deprecated "Use --include-pkg-deps instead")
-
- , Flag "-include-pkg-deps" (NoArg (writeIORef v_Dep_include_pkg_deps True))
- Supported
- , Flag "-exclude-module=" (Prefix (consIORef v_Dep_exclude_mods . mkModuleName))
- Supported
- , Flag "x" (Prefix (consIORef v_Dep_exclude_mods . mkModuleName))
- Supported
- ]
-