summaryrefslogtreecommitdiff
path: root/examples/C++NPv2/Makefile
blob: 09a5dd6b41a035c2a26e36cec78a862dc0ae97c9 (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
#----------------------------------------------------------------------------
#
# $Id$
#
#	Makefile for C++NPv2 example programs.
#----------------------------------------------------------------------------

#----------------------------------------------------------------------------
#	Local macros
#----------------------------------------------------------------------------

# These examples don't require SSL support... those that do are below.
EXAMPLES = Reactor_Logging_Server \
           Select_Reactor_Logging_Server \
           TP_Reactor_Logging_Server \
           Configurable_Logging_Server \
           SLD \
           SLDex \
           CLD \
           TPLS \
           SR_Configurable_Logging_Server \
           display_logfile

ifneq ($(ssl),)
  EXAMPLES += AC_CLD  AIO_CLD  TPCLS
endif # ssl

all:
	@for ex in $(EXAMPLES); \
	do \
		$(MAKE) -f Makefile.$$ex; \
	done

clean:
	@for ex in $(EXAMPLES); \
	do \
		$(MAKE) -f Makefile.$$ex clean; \
	done

realclean:
	@for ex in $(EXAMPLES); \
	do \
		$(MAKE) -f Makefile.$$ex realclean; \
	done