blob: 56a9b94ae8d65821ce6b37d13a20a201b7b4c955 [file] [log] [blame]
Edward O'Callaghand9046352009-08-03 01:08:25 +00001#
2# Create a library called "CompilerRT" which includes the source files.
3
4# Generic functions needed for each architecture
5
6SET( SRCS
7 absvdi2.c cmpdi2.c fixdfdi.c floatdidf.c moddi3.c negvti2.c ucmpdi2.c
8 absvsi2.c cmpti2.c fixdfti.c floatdisf.c modsi3.c paritydi2.c ucmpti2.c
9 absvti2.c ctzdi2.c fixsfdi.c floatdixf.c modti3.c paritysi2.c udivdi3.c
10 addvdi3.c ctzsi2.c fixsfti.c floattidf.c muldc3.c parityti2.c udivmoddi4.c
11 addvsi3.c ctzti2.c fixunsdfdi.c floattisf.c muldi3.c popcountdi2.c udivmodti4.c
12 addvti3.c divdc3.c fixunsdfsi.c floattixf.c mulsc3.c popcountsi2.c udivsi3.c
13 apple_versioning.c divdi3.c fixunsdfti.c floatundidf.c multi3.c popcountti2.c udivti3.c
14 ashldi3.c divsc3.c fixunssfdi.c floatundisf.c mulvdi3.c powidf2.c umoddi3.c
15 ashlti3.c divsi3.c fixunssfsi.c floatundixf.c mulvsi3.c powisf2.c umodsi3.c
16 ashrdi3.c divti3.c fixunssfti.c floatuntidf.c mulvti3.c powitf2.c umodti3.c
17 ashrti3.c divxc3.c fixunsxfdi.c floatuntisf.c mulxc3.c powixf2.c
18 clear_cache.c enable_execute_stack.c fixunsxfsi.c floatuntixf.c negdi2.c subvdi3.c
19 clzdi2.c eprintf.c fixunsxfti.c gcc_personality_v0.c negti2.c subvsi3.c
20 clzsi2.c ffsdi2.c fixxfdi.c lshrdi3.c negvdi2.c subvti3.c
21 clzti2.c ffsti2.c fixxfti.c lshrti3.c negvsi2.c trampoline_setup.c
22 )
23
24# Optimized functions for each architecture
25
26# Commenting out for the min until the basics are working first.
27# ADD_SUBDIRECTORY( ppc )
28# ADD_SUBDIRECTORY( x86_64 )
29# ADD_SUBDIRECTORY( i386 )
Edward O'Callaghan880cafc2009-08-03 02:15:06 +000030
31# Creates a shared lib .so
32ADD_LIBRARY( ${PROJECT_NAME} SHARED ${SRCS} )