diff options
Diffstat (limited to 'NodeStateTest/Makefile.am')
-rw-r--r-- | NodeStateTest/Makefile.am | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/NodeStateTest/Makefile.am b/NodeStateTest/Makefile.am new file mode 100644 index 0000000..0ccc153 --- /dev/null +++ b/NodeStateTest/Makefile.am @@ -0,0 +1,62 @@ +####################################################################################################################### +# +# Copyright (C) 2012 Continental Automotive Systems, Inc. +# +# Author: Jean-Pierre.Bogler@continental-corporation.com +# +# Makefile template for the NodeStateTest executable and NodeStateMachineTest library. +# +# Process this file with automake to produce a Makefile.in. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Date Author Reason +# 24.01.2013 Jean-Pierre Bogler CSP_WZ#1194: Initial creation. +# +####################################################################################################################### + +bin_PROGRAMS = NodeStateTest + +NodeStateTest_SOURCES = NodeStateTest.c + +nodist_NodeStateTest_SOURCES = NodeStateMachineTestApi.c \ + $(top_srcdir)/NodeStateAccess/generated/NodeStateConsumer.c \ + $(top_srcdir)/NodeStateAccess/generated/NodeStateLifecycleConsumer.c \ + $(top_srcdir)/NodeStateAccess/generated/NodeStateLifecycleControl.c + +NodeStateTest_CFLAGS = -I$(top_srcdir)/NodeStateManager \ + -I$(top_srcdir)/NodeStateAccess \ + -I$(top_srcdir)/NodeStateAccess/generated \ + $(GIO_CFLAGS) \ + $(GIO_UNIX_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GOBJECT_CFLAGS) + +NodeStateTest_LDADD = $(GIO_LIBS) \ + $(GIO_UNIX_LIBS) \ + $(GLIB_LIBS) \ + $(GOBJECT_LIBS) + +lib_LTLIBRARIES = libNodeStateMachineTest.la + +libNodeStateMachineTest_la_CFLAGS = -I../NodeStateManager \ + $(GIO_CFLAGS) \ + $(GIO_UNIX_CFLAGS) \ + $(GLIB_CFLAGS) \ + $(GOBJECT_CFLAGS) + +libNodeStateMachineTest_la_SOURCES = NodeStateMachineTest.c + +nodist_libNodeStateMachineTest_la_SOURCES = NodeStateMachineTestApi.c + +libNodeStateMachineTest_la_LDFLAGS = -avoid-version + +BUILT_SOURCES = NodeStateMachineTestApi.h + +CLEANFILES = NodeStateMachineTestApi.c \ + NodeStateMachineTestApi.h + +NodeStateMachineTestApi.c NodeStateMachineTestApi.h: org.genivi.NodeStateMachineTest.xml + gdbus-codegen --interface-prefix com.contiautomotive.NodeStateMachineTest. --c-namespace NodeState --generate-c-code NodeStateMachineTestApi --annotate "com.contiautomotive.NodeStateMachineTest.Test.SetNsmData()[Data]" org.gtk.GDBus.C.ForceGVariant true --annotate "com.contiautomotive.NodeStateMachineTest.Test.GetNsmData()[DataIn]" org.gtk.GDBus.C.ForceGVariant true --annotate "com.contiautomotive.NodeStateMachineTest.Test.GetNsmData()[DataOut]" org.gtk.GDBus.C.ForceGVariant true $< |