Now supporting libtool

This commit is contained in:
Pierre Pronchery 2008-09-11 12:53:07 +00:00
parent efaff3c1ec
commit 14dec66fb3
2 changed files with 3 additions and 2 deletions

View File

@ -65,7 +65,8 @@ const struct HostKernel sHostKernel[] =
{ HO_UNKNOWN, "unknown" }
};
const String * sTargetType[TT_COUNT] = { "binary", "library", "object", NULL };
const String * sTargetType[TT_COUNT] = { "binary", "library", "libtool",
"object", NULL };
const String * sObjectType[OT_COUNT] = { "c", "cc", "cpp", "S", NULL };
String const * _source_extension(String const * source)

View File

@ -66,7 +66,7 @@ extern const struct HostKernel sHostKernel[HK_COUNT];
typedef enum _TargetType
{
TT_BINARY = 0, TT_LIBRARY, TT_OBJECT, TT_UNKNOWN
TT_BINARY = 0, TT_LIBRARY, TT_LIBTOOL, TT_OBJECT, TT_UNKNOWN
} TargetType;
# define TT_LAST TT_UNKNOWN
# define TT_COUNT (TT_LAST + 1)