19ff6eb0545a7bc013c3f2a915ddf01acf5385d9
[openwrt.git] / target / linux / generic-2.6 / 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 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 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.130
69 ############################################################################
70
71
72 ####################Common variables and definitions########################
73
74 # Ensure The ENV_DIR environmental var is defined.
75 ifndef ICP_ENV_DIR
76 $(error ICP_ENV_DIR is undefined. Please set the path to your environment makefile \
77         "-> setenv ICP_ENV_DIR <path>")
78 endif
79
80 #Add your project environment Makefile
81 include $(ICP_ENV_DIR)/environment.mk
82
83 #include the makefile with all the default and common Make variable definitions
84 include $(ICP_BUILDSYSTEM_PATH)/build_files/common.mk
85
86 #Add the name for the executable, Library or Module output definitions
87 OUTPUT_NAME= icp_ocf
88
89 # List of Source Files to be compiled 
90 SOURCES= icp_common.c icp_sym.c icp_asym.c
91
92 #common includes between all supported OSes
93 INCLUDES= -I $(ICP_API_DIR) -I$(ICP_LAC_API) \
94 -I$(ICP_OCF_SRC_DIR)
95
96 # The location of the os level makefile needs to be changed.
97 include $(ICP_ENV_DIR)/$(ICP_OS)_$(ICP_OS_LEVEL).mk
98
99 # On the line directly below list the outputs you wish to build for,
100 # e.g "lib_static lib_shared exe module" as show below
101 install: module
102
103 ###################Include rules makefiles########################
104 include $(ICP_BUILDSYSTEM_PATH)/build_files/rules.mk
105 ###################End of Rules inclusion#########################
106
107