summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling/Makefile.am
blob: 17cd5f237d0a2b2a0d2742c4510604e7442db608 (plain)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
##  Process this file with automake to create Makefile.in
##
## $Id$
##
## This file was generated by MPC.  Any changes made directly to
## this file will be lost the next time it is generated.
##
## MPC Command:
## ../bin/mwc.pl -type automake -noreldefs TAO.mwc

ACE_BUILDDIR = $(top_builddir)/..
ACE_ROOT = $(top_srcdir)/..
TAO_BUILDDIR = $(top_builddir)
TAO_IDL = ACE_ROOT=$(ACE_ROOT) TAO_ROOT=$(TAO_ROOT) $(TAO_BUILDDIR)/TAO_IDL/tao_idl
TAO_IDL_DEP = $(TAO_BUILDDIR)/TAO_IDL/tao_idl
TAO_IDLFLAGS = -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT) -I$(srcdir) -g $(ACE_BUILDDIR)/apps/gperf/src/gperf
TAO_ROOT = $(top_srcdir)

SUBDIRS = \
        . \
        MIF_Scheduler \
        Fixed_Priority_Scheduler

noinst_LTLIBRARIES =
CLEANFILES =
BUILT_SOURCES =
noinst_HEADERS =

## Makefile.RTSchedSynch.am

if BUILD_EXCEPTIONS

BUILT_SOURCES += \
  SynchC.cpp \
  SynchC.h \
  SynchC.inl \
  SynchS.cpp \
  SynchS.h \
  SynchS.inl

CLEANFILES += \
  Synch-stamp \
  SynchC.cpp \
  SynchC.h \
  SynchC.inl \
  SynchS.cpp \
  SynchS.h \
  SynchS.inl

SynchC.cpp SynchC.h SynchC.inl SynchS.cpp SynchS.h SynchS.inl: Synch-stamp

Synch-stamp: $(srcdir)/Synch.idl $(TAO_IDL_DEP)
	$(TAO_IDL) $(TAO_IDLFLAGS) -Sa -St -St -Wb,export_macro=SYNCH_Export -Wb,export_include=synch_export.h $(srcdir)/Synch.idl
	@touch $@

noinst_LTLIBRARIES += libRTSchedSynch.la

libRTSchedSynch_la_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR) \
  -I$(TAO_ROOT) \
  -I$(TAO_BUILDDIR) \
  -DSYNCH_BUILD_DLL

libRTSchedSynch_la_SOURCES = \
  SynchC.cpp \
  SynchS.cpp \
  Synch_i.cpp

noinst_HEADERS += \
  Synch.idl \
  SynchC.h \
  SynchC.inl \
  SynchS.h \
  SynchS.inl \
  Synch_i.h \
  synch_export.h

endif BUILD_EXCEPTIONS

## Makefile.Job.am

if BUILD_EXCEPTIONS

BUILT_SOURCES += \
  JobC.cpp \
  JobC.h \
  JobC.inl \
  JobS.cpp \
  JobS.h \
  JobS.inl

CLEANFILES += \
  Job-stamp \
  JobC.cpp \
  JobC.h \
  JobC.inl \
  JobS.cpp \
  JobS.h \
  JobS.inl

JobC.cpp JobC.h JobC.inl JobS.cpp JobS.h JobS.inl: Job-stamp

Job-stamp: $(srcdir)/Job.idl $(TAO_IDL_DEP)
	$(TAO_IDL) $(TAO_IDLFLAGS) -Sa -St -St -Wb,export_macro=JOB_Export -Wb,export_include=job_export.h $(srcdir)/Job.idl
	@touch $@

noinst_LTLIBRARIES += libJob.la

libJob_la_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR) \
  -I$(TAO_ROOT) \
  -I$(TAO_BUILDDIR) \
  -DJOB_BUILD_DLL

libJob_la_SOURCES = \
  JobC.cpp \
  JobS.cpp

noinst_HEADERS += \
  Job.idl \
  JobC.h \
  JobC.inl \
  JobS.h \
  JobS.inl \
  job_export.h

endif BUILD_EXCEPTIONS

## Makefile.RTSchedTestLib.am

if BUILD_EXCEPTIONS
if BUILD_RT_CORBA

noinst_LTLIBRARIES += libRTSchedTestLib.la

libRTSchedTestLib_la_CPPFLAGS = \
  -I$(ACE_ROOT) \
  -I$(ACE_BUILDDIR) \
  -I$(TAO_ROOT) \
  -I$(TAO_BUILDDIR) \
  -I$(TAO_ROOT)/orbsvcs \
  -I$(TAO_BUILDDIR)/orbsvcs \
  -DRTSCHEDTESTLIB_BUILD_DLL

libRTSchedTestLib_la_SOURCES = \
  DT_Creator.cpp \
  Job_i.cpp \
  POA_Holder.cpp \
  Task_Stats.cpp \
  Thread_Task.cpp

noinst_HEADERS += \
  DT_Creator.h \
  Job_i.h \
  POA_Holder.h \
  Task_Stats.h \
  Task_Stats.inl \
  Thread_Task.h \
  rtschedtestlib_export.h

endif BUILD_RT_CORBA
endif BUILD_EXCEPTIONS

## Clean up template repositories, etc.
clean-local:
	-rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.*
	-rm -f gcctemp.c gcctemp so_locations *.ics
	-rm -rf cxx_repository ptrepository ti_files
	-rm -rf templateregistry ir.out
	-rm -rf ptrepository SunWS_cache Templates.DB