Home | History | Annotate | Download | only in builtins
      1 #===- lib/builtins/Makefile.mk -----------------------------*- Makefile -*--===#
      2 #
      3 #                     The LLVM Compiler Infrastructure
      4 #
      5 # This file is distributed under the University of Illinois Open Source
      6 # License. See LICENSE.TXT for details.
      7 #
      8 #===------------------------------------------------------------------------===#
      9 
     10 ModuleName := builtins
     11 SubDirs :=
     12 
     13 # Add arch specific optimized implementations.
     14 SubDirs += i386 ppc x86_64 arm armv6m
     15 
     16 # Add ARM64 dir.
     17 SubDirs += arm64
     18 
     19 # Define the variables for this specific directory.
     20 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
     21 ObjNames := $(Sources:%.c=%.o)
     22 Implementation := Generic
     23 
     24 # FIXME: use automatic dependencies?
     25 Dependencies := $(wildcard $(Dir)/*.h)
     26