#!/usr/bin/perl
# -*- perl -*-
-# Copyright (C) 2001, 2007
+# Copyright (C) 2001, 2007, 2010
# Free Software Foundation
#
# This file is part of the libiberty library.
opendir(INC, $incdir);
while ($f = readdir INC) {
- next unless $f =~ /\.h$/;
+ next unless $f =~ /\.h$/ || $f =~ /\.def$/;
$mine{$f} = "\$(INCDIR)/$f";
$deps{$f} = join(' ', &deps_for("$incdir/$f"));
}