1# Copyright (C) 2011 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_SRC_FILES := cp-demangle.c
20LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3
21LOCAL_MODULE := libgccdemangle
22LOCAL_MODULE_TAGS := optional
23
24include $(BUILD_SHARED_LIBRARY)
25
26##########################
27
28include $(CLEAR_VARS)
29
30LOCAL_SRC_FILES := cp-demangle.c
31LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3
32LOCAL_MODULE := libgccdemangle
33LOCAL_MODULE_TAGS := optional
34
35include $(BUILD_STATIC_LIBRARY)
36
37##########################
38
39include $(CLEAR_VARS)
40
41LOCAL_SRC_FILES := cp-demangle.c
42LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3
43LOCAL_MODULE := libgccdemangle
44LOCAL_MODULE_TAGS := optional
45
46include $(BUILD_HOST_SHARED_LIBRARY)
47
48##########################
49
50include $(CLEAR_VARS)
51
52LOCAL_SRC_FILES := cp-demangle.c
53LOCAL_CFLAGS += -DHAVE_STRING_H -DHAVE_STDLIB_H -DIN_GLIBCPP_V3
54LOCAL_MODULE := libgccdemangle
55LOCAL_MODULE_TAGS := optional
56
57include $(BUILD_HOST_STATIC_LIBRARY)
58
59##########################
60
61include $(CLEAR_VARS)
62
63LOCAL_SRC_FILES := test.c
64LOCAL_SHARED_LIBRARIES := libgccdemangle
65LOCAL_MODULE := gccdemangle_test
66LOCAL_MODULE_TAGS := optional
67
68include $(BUILD_EXECUTABLE)
69
70##########################
71
72include $(CLEAR_VARS)
73
74LOCAL_SRC_FILES := test.c
75LOCAL_SHARED_LIBRARIES := libgccdemangle
76LOCAL_MODULE := gccdemangle_test
77LOCAL_MODULE_TAGS := optional
78
79include $(BUILD_HOST_EXECUTABLE)
80