Home | History | Annotate | Line # | Download | only in libkern
Makefile.compiler-rt revision 1.4.4.2
      1  1.4.4.2  rmind # $NetBSD: Makefile.compiler-rt,v 1.4.4.2 2014/05/18 17:46:08 rmind Exp $
      2  1.4.4.2  rmind 
      3  1.4.4.2  rmind COMPILER_RT_SRCDIR=	${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
      4  1.4.4.2  rmind 
      5  1.4.4.2  rmind .if ${MACHINE_ARCH} == "powerpc"
      6  1.4.4.2  rmind COMPILER_RT_CPU_DIR=	${COMPILER_RT_SRCDIR}/lib/builtins/ppc
      7  1.4.4.2  rmind COMPILER_RT_ARCH_DIR=	${COMPILER_RT_SRCDIR}/lib/builtins/ppc
      8  1.4.4.2  rmind .else
      9  1.4.4.2  rmind COMPILER_RT_CPU_DIR=	${COMPILER_RT_SRCDIR}/lib/builtins/${MACHINE_CPU}
     10  1.4.4.2  rmind COMPILER_RT_ARCH_DIR=	${COMPILER_RT_SRCDIR}/lib/builtins/${MACHINE_ARCH}
     11  1.4.4.2  rmind .endif
     12  1.4.4.2  rmind 
     13  1.4.4.2  rmind .PATH: ${COMPILER_RT_CPU_DIR}
     14  1.4.4.2  rmind .PATH: ${COMPILER_RT_ARCH_DIR}
     15  1.4.4.2  rmind .PATH: ${COMPILER_RT_SRCDIR}/lib/builtins
     16  1.4.4.2  rmind 
     17  1.4.4.2  rmind GENERIC_SRCS+= \
     18  1.4.4.2  rmind 	absvdi2.c \
     19  1.4.4.2  rmind 	absvsi2.c \
     20  1.4.4.2  rmind 	absvti2.c \
     21  1.4.4.2  rmind 	addvdi3.c \
     22  1.4.4.2  rmind 	addvsi3.c \
     23  1.4.4.2  rmind 	addvti3.c \
     24  1.4.4.2  rmind 	ashldi3.c \
     25  1.4.4.2  rmind 	ashlti3.c \
     26  1.4.4.2  rmind 	ashrdi3.c \
     27  1.4.4.2  rmind 	ashrti3.c \
     28  1.4.4.2  rmind 	clzdi2.c \
     29  1.4.4.2  rmind 	clzsi2.c \
     30  1.4.4.2  rmind 	clzti2.c \
     31  1.4.4.2  rmind 	cmpdi2.c \
     32  1.4.4.2  rmind 	cmpti2.c \
     33  1.4.4.2  rmind 	ctzdi2.c \
     34  1.4.4.2  rmind 	ctzsi2.c \
     35  1.4.4.2  rmind 	ctzti2.c \
     36  1.4.4.2  rmind 	divdi3.c \
     37  1.4.4.2  rmind 	divmoddi4.c \
     38  1.4.4.2  rmind 	divmodsi4.c \
     39  1.4.4.2  rmind 	divsi3.c \
     40  1.4.4.2  rmind 	divti3.c \
     41  1.4.4.2  rmind 	ffsdi2.c \
     42  1.4.4.2  rmind 	ffsti2.c \
     43  1.4.4.2  rmind 	int_util.c \
     44  1.4.4.2  rmind 	lshrdi3.c \
     45  1.4.4.2  rmind 	lshrti3.c \
     46  1.4.4.2  rmind 	moddi3.c \
     47  1.4.4.2  rmind 	modsi3.c \
     48  1.4.4.2  rmind 	modti3.c \
     49  1.4.4.2  rmind 	muldi3.c \
     50  1.4.4.2  rmind 	mulodi4.c \
     51  1.4.4.2  rmind 	mulosi4.c \
     52  1.4.4.2  rmind 	muloti4.c \
     53  1.4.4.2  rmind 	multi3.c \
     54  1.4.4.2  rmind 	mulvdi3.c \
     55  1.4.4.2  rmind 	mulvsi3.c \
     56  1.4.4.2  rmind 	mulvti3.c \
     57  1.4.4.2  rmind 	negdi2.c \
     58  1.4.4.2  rmind 	negti2.c \
     59  1.4.4.2  rmind 	negvdi2.c \
     60  1.4.4.2  rmind 	negvsi2.c \
     61  1.4.4.2  rmind 	negvti2.c \
     62  1.4.4.2  rmind 	paritydi2.c \
     63  1.4.4.2  rmind 	paritysi2.c \
     64  1.4.4.2  rmind 	parityti2.c \
     65  1.4.4.2  rmind 	popcountdi2.c \
     66  1.4.4.2  rmind 	popcountsi2.c \
     67  1.4.4.2  rmind 	popcountti2.c \
     68  1.4.4.2  rmind 	subvdi3.c \
     69  1.4.4.2  rmind 	subvsi3.c \
     70  1.4.4.2  rmind 	subvti3.c \
     71  1.4.4.2  rmind 	ucmpdi2.c \
     72  1.4.4.2  rmind 	ucmpti2.c \
     73  1.4.4.2  rmind 	udivdi3.c \
     74  1.4.4.2  rmind 	udivmoddi4.c \
     75  1.4.4.2  rmind 	udivmodsi4.c \
     76  1.4.4.2  rmind 	udivmodti4.c \
     77  1.4.4.2  rmind 	udivsi3.c \
     78  1.4.4.2  rmind 	udivti3.c \
     79  1.4.4.2  rmind 	umoddi3.c \
     80  1.4.4.2  rmind 	umodsi3.c \
     81  1.4.4.2  rmind 	umodti3.c
     82  1.4.4.2  rmind 
     83  1.4.4.2  rmind .if ${MACHINE_CPU} == "arm"
     84  1.4.4.2  rmind .  if !empty(MACHINE_ARCH:Mearm*)
     85  1.4.4.2  rmind GENERIC_SRCS+= \
     86  1.4.4.2  rmind 	aeabi_idivmod.S \
     87  1.4.4.2  rmind 	aeabi_ldivmod.S \
     88  1.4.4.2  rmind 	aeabi_uidivmod.S \
     89  1.4.4.2  rmind 	aeabi_uldivmod.S \
     90  1.4.4.2  rmind 	__aeabi_idiv0.c \
     91  1.4.4.2  rmind 	__aeabi_ldiv0.c
     92  1.4.4.2  rmind .  endif
     93  1.4.4.2  rmind .endif
     94  1.4.4.2  rmind 
     95  1.4.4.2  rmind .for src in ${GENERIC_SRCS}
     96  1.4.4.2  rmind .  if exists(${COMPILER_RT_CPU_DIR}/${src:R}.S) || \
     97  1.4.4.2  rmind       exists(${COMPILER_RT_ARCH_DIR}/${src:R}.S)
     98  1.4.4.2  rmind SRCS+=	${src:R}.S
     99  1.4.4.2  rmind .  else
    100  1.4.4.2  rmind SRCS+=	${src}
    101  1.4.4.2  rmind COPTS.${src}+=	-Wno-missing-prototypes \
    102  1.4.4.2  rmind 		-Wno-old-style-definition \
    103  1.4.4.2  rmind 		-Wno-strict-prototypes \
    104  1.4.4.2  rmind 		-Wno-uninitialized
    105  1.4.4.2  rmind .  endif
    106  1.4.4.2  rmind .endfor
    107  1.4.4.2  rmind 
    108  1.4.4.2  rmind CPPFLAGS.int_util.c+=	-DKERNEL_USE
    109