1 #########################################################################
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
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.
16 # Copyright(c) 2007,2008,2009 Intel Corporation. All rights reserved.
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.
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.
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.
33 # Contact Information:
38 # Copyright(c) 2007,2008,2009 Intel Corporation. All rights reserved.
39 # All rights reserved.
41 # Redistribution and use in source and binary forms, with or without
42 # modification, are permitted provided that the following conditions
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
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.
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.
68 # version: Security.L.1.0.2-229
69 ############################################################################
72 ####################Common variables and definitions########################
75 $(warning ICP_ROOT is undefined. Please set the path to EP80579 release package directory \
76 "-> setenv ICP_ROOT <path>")
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>")
86 # Ensure The ENV_DIR environmental var is defined.
88 $(error ICP_ENV_DIR is undefined. Please set the path to EP80579 driver environment.mk file \
89 "-> setenv ICP_ENV_DIR <path>")
92 #Add your project environment Makefile
93 include ${ICP_ENV_DIR}/environment.mk
95 #include the makefile with all the default and common Make variable definitions
96 include ${ICP_BUILDSYSTEM_PATH}/build_files
/common.mk
98 #Add the name for the executable, Library or Module output definitions
101 # List of Source Files to be compiled
102 SOURCES
= icp_common.c icp_sym.c icp_asym.c icp_ocf_linux.c
104 #common includes between all supported OSes
105 INCLUDES
= -I
${ICP_API_DIR} -I
${ICP_LAC_API} \
108 # The location of the os level makefile needs to be changed.
109 include ${ICP_ENV_DIR}/${ICP_OS}_
${ICP_OS_LEVEL}.mk
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
115 ###################Include rules makefiles########################
116 include ${ICP_BUILDSYSTEM_PATH}/build_files
/rules.mk
117 ###################End of Rules inclusion#########################