1## ****************************************************************************
2##
3##  Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4##  more contributor license agreements.  See the NOTICE file distributed
5##  with this work for additional information regarding copyright ownership.
6##  Accellera licenses this file to you under the Apache License, Version 2.0
7##  (the "License"); you may not use this file except in compliance with the
8##  License.  You may obtain a copy of the License at
9##
10##   http://www.apache.org/licenses/LICENSE-2.0
11##
12##  Unless required by applicable law or agreed to in writing, software
13##  distributed under the License is distributed on an "AS IS" BASIS,
14##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15##  implied.  See the License for the specific language governing
16##  permissions and limitations under the License.
17##
18## ****************************************************************************
19##
20##  test.am --
21##  Included from a Makefile.am to provide example-specific information
22##
23##  Original Author: Philipp A. Hartmann, OFFIS, 2013-05-20
24##
25## ****************************************************************************
26##
27##  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
28##  changes you are making here.
29##
30##      Name, Affiliation, Date:
31##  Description of Modification:
32##
33## ***************************************************************************
34
35## Generic example setup
36## (should be kept in sync among all test.am files)
37##
38## Note: Recent Automake versions (>1.13) support relative placeholders for
39##      included files (%D%,%C%).  To support older versions, use explicit
40##       names for now.
41##
42## Local values:
43##   %D%: at_1_phase
44##   %C%: at_1_phase
45
46examples_TESTS += at_1_phase/test
47
48at_1_phase_test_CPPFLAGS = \
49	-I$(srcdir)/at_1_phase/include \
50	$(CPPFLAGS_TLMTESTS)
51
52at_1_phase_test_SOURCES = \
53	$(at_1_phase_H_FILES) \
54	$(at_1_phase_CXX_FILES)
55
56examples_BUILD += \
57	$(at_1_phase_BUILD)
58
59examples_CLEAN += \
60	at_1_phase/run.log \
61	at_1_phase/expected_trimmed.log \
62	at_1_phase/run_trimmed.log \
63	at_1_phase/diff.log
64
65examples_FILES += \
66	$(at_1_phase_H_FILES) \
67	$(at_1_phase_CXX_FILES) \
68	$(at_1_phase_BUILD) \
69	$(at_1_phase_EXTRA)
70
71examples_DIRS += \
72	at_1_phase/$(TLM_EXAMPLE_SUBDIRS)
73
74## example-specific details
75
76at_1_phase_H_FILES = \
77	at_1_phase/include/at_1_phase_top.h \
78	at_1_phase/include/initiator_top.h
79
80at_1_phase_CXX_FILES = \
81	at_1_phase/src/at_1_phase.cpp \
82	at_1_phase/src/at_1_phase_top.cpp \
83	at_1_phase/src/initiator_top.cpp
84
85at_1_phase_BUILD = \
86	at_1_phase/results/expected.log
87
88at_1_phase_EXTRA = \
89	at_1_phase/CMakeLists.txt \
90	at_1_phase/build-msvc/Makefile \
91	at_1_phase/build-msvc/at_1_phase.sln \
92	at_1_phase/build-msvc/at_1_phase.vcxproj \
93	at_1_phase/build-unix/Makefile \
94	at_1_phase/docs/at_1_phase_example.pdf \
95	at_1_phase/docs/at_1_phase_example.ppt
96
97#at_1_phase_FILTER =
98
99## Taf!
100## :vim:ft=automake:
101