Last change
on this file was
7623,
checked in by westram, 13 years ago
|
- merge from dev [7450] [7452] [7456] [7457] [7458] [7459] [7460] [7461] [7464] [7465] [7466] [7467] [7468] [7469] [7482]
- tweaked compiler options
- activated -Weffc++
- postfilter warnings where Scott Meyers' advices are too general.
- base classes should not always have virtual destructors, since that renders tiny classes useless and
- members should not always be initialized via initialization list, since that often violates the DRY principle
- fix gcc's inability to detect that Noncopyable implements a private copy-ctor and op=
- this slows down complete ARB recompilation by ~5%
- added -Wold-style-cast (inactive)
- removed -Wno-non-template-friend added in [7447]
- postcompile.pl
- added option —original to show unmodified compiler output
- declared op= for classes which had a copy-ctor
- moved op= macros to arbtools.h
- derived classes containing pointers from Noncopyable (use Noncopyable virtually) or
- made them copyable if needed (awt_mask_item, KnownDB, Code, AWT_registered_itemtype, GEN_gene, PosGene, PartialSequence, PlugIn, Range, Convaln_exception)
- other related changes
- mask destruction working now
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | # INCLUDE und GLOBALS MAIN CC cflags werden von aussen uebergeben |
---|
2 | .SUFFIXES: .o .c .cxx .depend |
---|
3 | |
---|
4 | CPP_OBJECTS = island_hopping.o i-hopper.o align.o mem.o trnsprob.o |
---|
5 | |
---|
6 | $(MAIN): $(CPP_OBJECTS) |
---|
7 | $(LINK_STATIC_LIB) $(MAIN) $(CPP_OBJECTS) |
---|
8 | .c.o: |
---|
9 | $(ACC) $(cflags) -DARB -c $< $(CPPINCLUDES) $(POST_COMPILE) |
---|
10 | .cxx.o: |
---|
11 | $(CPP) $(cflags) -DARB -c $< $(CPPINCLUDES) $(POST_COMPILE) |
---|
12 | |
---|
13 | clean: |
---|
14 | rm -f $(CPP_OBJECTS) *.a |
---|
15 | |
---|
16 | DEPENDS = $(CPP_OBJECTS:.o=.depend) |
---|
17 | depends: $(DEPENDS) |
---|
18 | @cat $(DEPENDS) | grep -v '^#' >>Makefile |
---|
19 | @rm $(DEPENDS) |
---|
20 | $(DEPENDS): depend.init |
---|
21 | depend.init: |
---|
22 | $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies |
---|
23 | .c.depend: |
---|
24 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
25 | .cxx.depend: |
---|
26 | $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@ |
---|
27 | |
---|
28 | # DO NOT DELETE |
---|
29 | |
---|
30 | # Do not add dependencies manually - use 'make depend' in $ARBHOME |
---|
31 | # For formatting issues see SOURCE_TOOLS/fix_depends.pl |
---|
32 | |
---|
33 | align.o: defs.h |
---|
34 | align.o: i-hopper.h |
---|
35 | align.o: mem.h |
---|
36 | align.o: trnsprob.h |
---|
37 | |
---|
38 | i-hopper.o: defs.h |
---|
39 | i-hopper.o: i-hopper.h |
---|
40 | i-hopper.o: mem.h |
---|
41 | |
---|
42 | island_hopping.o: defs.h |
---|
43 | island_hopping.o: i-hopper.h |
---|
44 | island_hopping.o: island_hopping.h |
---|
45 | island_hopping.o: mem.h |
---|
46 | island_hopping.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
47 | island_hopping.o: $(ARBHOME)/INCLUDE/arb_core.h |
---|
48 | island_hopping.o: $(ARBHOME)/INCLUDE/arbtools.h |
---|
49 | island_hopping.o: $(ARBHOME)/INCLUDE/dupstr.h |
---|
50 | island_hopping.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
51 | |
---|
52 | mem.o: mem.h |
---|
53 | mem.o: $(ARBHOME)/INCLUDE/attributes.h |
---|
54 | |
---|
55 | trnsprob.o: defs.h |
---|
56 | trnsprob.o: mem.h |
---|
57 | trnsprob.o: trnsprob.h |
---|
58 | trnsprob.o: $(ARBHOME)/INCLUDE/arb_assert.h |
---|
59 | trnsprob.o: $(ARBHOME)/INCLUDE/test_global.h |
---|
Note: See
TracBrowser
for help on using the repository browser.