/* genmddeps.c - creates a makefile dependency fragment for the md file.
- Copyright (C) 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2004-2015 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
#include "bconfig.h"
#include "system.h"
#include "coretypes.h"
-#include "tm.h"
-#include "rtl.h"
-#include "gensupport.h"
#include "errors.h"
+#include "read-md.h"
struct filedep
progname = "genmddeps";
include_callback = add_filedep;
-
- if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
- return (FATAL_EXIT_CODE);
+
+ if (!read_md_files (argc, argv, NULL, NULL))
+ return FATAL_EXIT_CODE;
*last = NULL;