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_ooo
44##   %C%: at_ooo
45
46examples_TESTS += at_ooo/test
47
48at_ooo_test_CPPFLAGS = \
49	-I$(srcdir)/at_ooo/include \
50	$(CPPFLAGS_TLMTESTS)
51
52at_ooo_test_SOURCES = \
53	$(at_ooo_H_FILES) \
54	$(at_ooo_CXX_FILES)
55
56examples_BUILD += \
57	$(at_ooo_BUILD)
58
59examples_CLEAN += \
60	at_ooo/run.log \
61	at_ooo/expected_trimmed.log \
62	at_ooo/run_trimmed.log \
63	at_ooo/diff.log
64
65examples_FILES += \
66	$(at_ooo_H_FILES) \
67	$(at_ooo_CXX_FILES) \
68	$(at_ooo_BUILD) \
69	$(at_ooo_EXTRA)
70
71examples_DIRS += \
72	at_ooo/$(TLM_EXAMPLE_SUBDIRS)
73
74## example-specific details
75
76at_ooo_H_FILES = \
77	at_ooo/include/at_ooo_top.h \
78	at_ooo/include/at_target_ooo_2_phase.h \
79	at_ooo/include/initiator_top.h
80
81at_ooo_CXX_FILES = \
82	at_ooo/src/at_ooo.cpp \
83	at_ooo/src/at_ooo_top.cpp \
84	at_ooo/src/at_target_ooo_2_phase.cpp \
85	at_ooo/src/initiator_top.cpp
86
87at_ooo_BUILD = \
88	at_ooo/results/expected.log
89
90at_ooo_EXTRA = \
91	at_ooo/CMakeLists.txt \
92	at_ooo/build-msvc/Makefile \
93	at_ooo/build-msvc/at_ooo.sln \
94	at_ooo/build-msvc/at_ooo.vcxproj \
95	at_ooo/build-unix/Makefile \
96	at_ooo/docs/at_ooo_example.pdf \
97	at_ooo/docs/at_ooo_example.ppt
98
99#at_ooo_FILTER =
100
101## Taf!
102## :vim: ft=automake:
103