forked from open-power/ipl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
111 lines (100 loc) · 2.43 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -Im4
AM_MAKEFLAGS = --no-print-directory
AM_CXXFLAGS = -Wall -Werror
bin_PROGRAMS = istep0 ipl
lib_LTLIBRARIES = libipl.la
include_HEADERS = libipl/libipl.H
if BUILD_PHAL_API
lib_LTLIBRARIES += libphal.la
include_HEADERS += libphal/phal_exception.H
include_HEADERS += libphal/libphal.H
endif
istep0_SOURCES = istep0.C
istep0_LDADD = libipl.la
ipl_SOURCES = ipl.C
ipl_LDADD = libipl.la
ipl_LDFLAGS = -Wl,--whole-archive,-L.libs,-lipl,-lpdbg,--no-whole-archive
if BUILD_P9
libipl_istep_SOURCES = \
libipl/p9/ipl0.C \
libipl/p9/ipl1.C \
libipl/p9/ipl2.C \
libipl/p9/ipl3.C \
libipl/p9/ipl4.C \
libipl/p9/ipl5.C \
libipl/p9/ipl6.C \
libipl/p9/ipl7.C \
libipl/p9/ipl8.C \
libipl/p9/ipl9.C \
libipl/p9/ipl10.C \
libipl/p9/ipl11.C \
libipl/p9/ipl12.C \
libipl/p9/ipl13.C \
libipl/p9/ipl14.C \
libipl/p9/ipl15.C \
libipl/p9/ipl16.C \
libipl/p9/ipl17.C \
libipl/p9/ipl18.C \
libipl/p9/ipl19.C \
libipl/p9/ipl20.C \
libipl/p9/ipl21.C
libipl_istep_CXXFLAGS = \
-I$(INCDIR)/ekb/chips/p9/procedures/hwp/nest
endif
if BUILD_P10
libipl_istep_SOURCES = \
libipl/p10/common.C \
libipl/p10/ipl0.C \
libipl/p10/ipl1.C \
libipl/p10/ipl2.C \
libipl/p10/ipl3.C \
libipl/p10/ipl4.C \
libipl/p10/ipl5.C \
libipl/p10/ipl6.C \
libipl/p10/ipl7.C \
libipl/p10/ipl8.C \
libipl/p10/ipl9.C \
libipl/p10/ipl10.C \
libipl/p10/ipl11.C \
libipl/p10/ipl12.C \
libipl/p10/ipl13.C \
libipl/p10/ipl14.C \
libipl/p10/ipl15.C \
libipl/p10/ipl16.C \
libipl/p10/ipl17.C \
libipl/p10/ipl18.C \
libipl/p10/ipl19.C \
libipl/p10/ipl20.C \
libipl/p10/ipl21.C \
libipl/p10/ipl_poweroff.C
endif
libipl_la_SOURCES = \
$(libipl_istep_SOURCES) \
libipl/libipl.C \
libipl/ipl_settings.C \
libipl/libipl_internal.H \
libipl/libipl.H
libipl_la_CXXFLAGS = -Wall -Werror $(EKB_CXXFLAGS) \
$(libipl_istep_CXXFLAGS) \
-I$(srcdir)/libipl
libipl_la_LDFLAGS = -version-info $(SONAME_CURRENT):$(SONAME_REVISION):$(SONAME_AGE)
if BUILD_PHAL_API
libphal_la_SOURCES = \
libphal/log.C \
libphal/log.H \
libphal/utils_tempfile.C \
libphal/utils_tempfile.H \
libphal/phal_exception.C \
libphal/phal_exception.H \
libphal/utils_buffer.H \
libphal/utils_pdbg.C \
libphal/utils_pdbg.H \
libphal/libphal.H \
libphal/phal_sbe.C \
libphal/phal_pdbg.C \
libphal/phal_dump.C
libphal_la_CXXFLAGS = -Wall -Werror $(EKB_CXXFLAGS) \
-I$(srcdir)/libphal
libphal_la_LDFLAGS = -version-info $(SONAME_CURRENT):$(SONAME_REVISION):$(SONAME_AGE)
endif