File: Makefile.am

package info (click to toggle)
openhpi 2.14.1-1.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 20,380 kB
  • sloc: ansic: 187,087; cpp: 32,188; sh: 10,415; makefile: 4,467; perl: 1,529
file content (77 lines) | stat: -rw-r--r-- 1,825 bytes parent folder | download | duplicates (4)
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
#
# Copyright (c) 2004 by FORCE Computers
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  This
# file and program are licensed under a BSD style license.  See
# the Copying file included with the OpenHPI distribution for
# full licensing terms.
#
# Authors:
#     Thomas Kanngieser <thomas.kanngieser@fci.com>
#

CON_REMOTE_SOURCES = \
	ipmi_con.cpp \
	ipmi_con_lan.cpp \
	ipmi_con_smi.cpp \
	ipmi_auth.cpp \
	ipmi_cmd.cpp \
	ipmi_log.cpp \
	ipmi_msg.cpp \
	ipmi_addr.cpp \
	ipmi_utils.cpp \
	thread.cpp

THREAD_REMOTE_SOURCES = thread.cpp

SENSOR_FACTORS_REMOTE_SOURCES = ipmi_sensor_factors.cpp

MOSTLYCLEANFILES 	= \
	$(CON_REMOTE_SOURCES) \
	$(THREAD_REMOTE_SOURCES) \
	$(SENSOR_FACTORS_REMOTE_SOURCES) \
	@TEST_CLEAN@ \
	*.log

MAINTAINERCLEANFILES 	= Makefile.in *~

CLEANFILES		= @CLEANFILES@ $(MOSTLYCLEANFILES)

INCLUDES		= @OPENHPI_INCLUDES@ -I$(top_srcdir)/plugins/ipmidirect


$(CON_REMOTE_SOURCES):
	if test ! -f $@ -a ! -L $@; then \
		ln -s $(top_srcdir)/plugins/ipmidirect/$@; \
	fi

$(SENSOR_FACTORS_REMOTE_SOURCES):
	if test ! -f $@ -a ! -L $@; then \
		ln -s $(top_srcdir)/plugins/ipmidirect/$@; \
	fi

check_PROGRAMS = \
	con_000 \
	con_001 \
	thread_000 \
	sensor_factors_000

TESTS = \
	thread_000 \
	sensor_factors_000

con_000_SOURCES = con_000.cpp
nodist_con_000_SOURCES = $(CON_REMOTE_SOURCES)
con_000_LDADD   = @CRYPTO_LIB@

con_001_SOURCES = con_001.c
nodist_con_001_SOURCES = $(CON_REMOTE_SOURCES)
con_001_LDADD   = @CRYPTO_LIB@

thread_000_SOURCES = thread_000.cpp test.h
nodist_thread_000_SOURCES = $(THREAD_REMOTE_SOURCES)

sensor_factors_000_SOURCES = sensor_factors_000.cpp test.h
nodist_sensor_factors_000_SOURCES = $(SENSOR_FACTORS_REMOTE_SOURCES)