ar71xx: use AR8327 on the DB120 board
[openwrt.git] / target / linux / generic / files / crypto / ocf / ep80579 / Makefile
1 #########################################################################
2 #
3 # Targets supported
4 # all - builds everything and installs
5 # install - identical to all
6 # depend - build dependencies
7 # clean - clears derived objects except the .depend files
8 # distclean- clears all derived objects and the .depend file
9 #
10 # @par
11 # This file is provided under a dual BSD/GPLv2 license. When using or
12 # redistributing this file, you may do so under either license.
13 #
14 # GPL LICENSE SUMMARY
15 #
16 # Copyright(c) 2007,2008,2009 Intel Corporation. All rights reserved.
17 #
18 # This program is free software; you can redistribute it and/or modify
19 # it under the terms of version 2 of the GNU General Public License as
20 # published by the Free Software Foundation.
21 #
22 # This program is distributed in the hope that it will be useful, but
23 # WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 # General Public License for more details.
26 #
27 # You should have received a copy of the GNU General Public License
28 # along with this program; if not, write to the Free Software
29 # Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
30 # The full GNU General Public License is included in this distribution
31 # in the file called LICENSE.GPL.
32 #
33 # Contact Information:
34 # Intel Corporation
35 #
36 # BSD LICENSE
37 #
38 # Copyright(c) 2007,2008,2009 Intel Corporation. All rights reserved.
39 # All rights reserved.
40 #
41 # Redistribution and use in source and binary forms, with or without
42 # modification, are permitted provided that the following conditions
43 # are met:
44 #
45 # * Redistributions of source code must retain the above copyright
46 # notice, this list of conditions and the following disclaimer.
47 # * Redistributions in binary form must reproduce the above copyright
48 # notice, this list of conditions and the following disclaimer in
49 # the documentation and/or other materials provided with the
50 # distribution.
51 # * Neither the name of Intel Corporation nor the names of its
52 # contributors may be used to endorse or promote products derived
53 # from this software without specific prior written permission.
54 #
55 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
56 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
57 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
58 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
59 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
60 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
61 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
62 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
63 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
64 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
65 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
66 #
67 #
68 # version: Security.L.1.0.2-229
69 ############################################################################
70
71
72 ####################Common variables and definitions########################
73
74 ifndef ICP_ROOT
75 $(warning ICP_ROOT is undefined. Please set the path to EP80579 release package directory \
76 "-> setenv ICP_ROOT <path>")
77 all fastdep:
78 :
79 else
80
81 ifndef KERNEL_SOURCE_ROOT
82 $(error KERNEL_SOURCE_ROOT is undefined. Please set the path to the kernel source directory \
83 "-> setenv KERNEL_SOURCE_ROOT <path>")
84 endif
85
86 # Ensure The ENV_DIR environmental var is defined.
87 ifndef ICP_ENV_DIR
88 $(error ICP_ENV_DIR is undefined. Please set the path to EP80579 driver environment.mk file \
89 "-> setenv ICP_ENV_DIR <path>")
90 endif
91
92 #Add your project environment Makefile
93 include ${ICP_ENV_DIR}/environment.mk
94
95 #include the makefile with all the default and common Make variable definitions
96 include ${ICP_BUILDSYSTEM_PATH}/build_files/common.mk
97
98 #Add the name for the executable, Library or Module output definitions
99 OUTPUT_NAME= icp_ocf
100
101 # List of Source Files to be compiled
102 SOURCES= icp_common.c icp_sym.c icp_asym.c icp_ocf_linux.c
103
104 #common includes between all supported OSes
105 INCLUDES= -I ${ICP_API_DIR} -I${ICP_LAC_API} \
106 -I${ICP_OCF_SRC_DIR}
107
108 # The location of the os level makefile needs to be changed.
109 include ${ICP_ENV_DIR}/${ICP_OS}_${ICP_OS_LEVEL}.mk
110
111 # On the line directly below list the outputs you wish to build for,
112 # e.g "lib_static lib_shared exe module" as shown below
113 install: module
114
115 ###################Include rules makefiles########################
116 include ${ICP_BUILDSYSTEM_PATH}/build_files/rules.mk
117 ###################End of Rules inclusion#########################
118
119 endif
This page took 0.077012 seconds and 5 git commands to generate.