You will need this DirectX 8 SDK in order to build a program using the static version of Allegro, in which case your program will not depend on the external Allegro DLL because it is compiled into your executable. You do not need to install this DirectX SDK unless you plan to use the static library.
The MinGW32 version may be used with Dev-C++ when you want to compile with the static version of Allegro.