~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to docs/tutorials/015/Makefile.server

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
# Makefile.server,v 1.4 2003/11/09 20:44:19 dhinton Exp
3
 
 
4
 
#----------------------------------------------------------------------------
5
 
#       Local macros
6
 
#----------------------------------------------------------------------------
7
 
 
8
 
BIN    = server
9
 
 
10
 
FILES += Protocol_Stream
11
 
FILES += Protocol_Task
12
 
FILES += Xmit
13
 
FILES += Recv
14
 
FILES += Compressor
15
 
FILES += CompressorBase
16
 
FILES += ZlibCompressor
17
 
FILES += Handler
18
 
FILES += Server_i
19
 
 
20
 
BUILD  = $(VBIN)
21
 
 
22
 
SRC  = $(addsuffix .cpp,$(BIN))
23
 
SRC += $(addsuffix .cpp,$(FILES))
24
 
 
25
 
HDR = *.h
26
 
 
27
 
LDLIBS = -lz
28
 
 
29
 
MAKEFILE = Makefile.server
30
 
DEPEND   = .depend.server
31
 
 
32
 
#----------------------------------------------------------------------------
33
 
#       Include macros and targets
34
 
#----------------------------------------------------------------------------
35
 
 
36
 
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
37
 
include $(ACE_ROOT)/include/makeinclude/macros.GNU
38
 
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
39
 
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
40
 
include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
41
 
include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
42
 
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
43
 
 
44
 
#----------------------------------------------------------------------------
45
 
#       Local targets
46
 
#----------------------------------------------------------------------------
47
 
 
48
 
HTML : #
49
 
        perl ../combine *.html
50
 
 
51
 
rename : #
52
 
        for i in *.cxx ; do     \
53
 
                n=`expr "$$i" : "\(.*\).cxx"`   ;\
54
 
                mv $$i $$n.cpp  ;\
55
 
        done
56
 
 
57
 
Indent : #
58
 
        for i in $(SRC) $(HDR) ; do \
59
 
                indent -npsl -l80 -fca -fc1 -cli0 -cdb -ts2 -bl -bli0 < $$i | \
60
 
                        sed -e 's/: :/::/g'  \
61
 
                            -e 's/^.*\(public:\)/\1/' \
62
 
                            -e 's/^.*\(protected:\)/\1/' \
63
 
                            -e 's/^.*\(private:\)/\1/' \
64
 
                            -e 's/:\(public\)/ : \1/' \
65
 
                            -e 's/:\(protected\)/ : \1/' \
66
 
                            -e 's/:\(private\)/ : \1/' \
67
 
                            -e 's/      /  /g' \
68
 
                        > $$i~ ;\
69
 
                mv $$i~ $$i ;\
70
 
        done
71
 
 
72
 
Depend : depend
73
 
        perl ../fix.Makefile -f $(MAKEFILE) -o $(DEPEND)
74
 
 
75
 
$(DEPEND) :
76
 
        touch $(DEPEND)
77
 
 
78
 
#----------------------------------------------------------------------------
79
 
#       Dependencies
80
 
#----------------------------------------------------------------------------
81
 
 
82
 
include $(DEPEND)
83
 
include .depend.server