blob: 85bc97963927fece5df41c843d2d2fd12dc5e562 (
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
|
#----------------------------------------------------------------------------
#
# $Id$
#
# Makefile for all the PACE tests
#----------------------------------------------------------------------------
ifndef static_libs_only
ifndef shared_libs_only
static_libs_only = 1
endif # shared_libs_only
endif # static_libs_only
# If we are inlining the PACE functions then we don't want to include
# the PACE library (and we need to define PACE_HAS_INLINE). If we're not
# inlining then we need to include the PACE library. Inlining is the default.
LIBS += -L$(PACE_ROOT)/pace -lPACE
ifndef inline
CFLAGS += -DPACE_HAS_INLINE
else
ifneq (0,$(inline))
CFLAGS += -DPACE_HAS_INLINE
endif # inline
endif # ! inline
LIBS += -L$(PACE_ROOT)/pace -lPACE
#----------------------------------------------------------------------------
# Local macros
#----------------------------------------------------------------------------
BIN = Stdio_Test \
Posix_SP_Test \
mqueue_test
#### If the PACE library wasn't built with all components, don't
#### try to build certain tests.
PACE_BUILD_COMPONENTS := $(shell sh $(ACE_ROOT)/bin/pace_components --pace)
PSRC=$(addsuffix .c,$(BIN))
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
ACELIB =
INCLDIRS += -I$(PACE_ROOT)
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
ifndef SOEXT
SOEXT=so
endif
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
include $(ACE_ROOT)/PACE/include/makeinclude/rules.common.GNU
# To build multiple executables in the same directory on AIX, it works
# best to wipe out any previously-created tempinc directory.
# The compiler/linker isn't too smart about instantiating templates...
ifdef TEMPINCDIR
COMPILE.cc := $(RM) -rf tempinc; $(COMPILE.cc)
endif
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
# Dependencies
#----------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
|