source: tags/svn.1.5.4/ISLAND_HOPPING/Makefile

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
    • user 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
4CPP_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
13clean:
14        rm -f $(CPP_OBJECTS) *.a
15
16DEPENDS = $(CPP_OBJECTS:.o=.depend)
17depends: $(DEPENDS)
18        @cat $(DEPENDS) | grep -v '^#' >>Makefile
19        @rm $(DEPENDS)
20$(DEPENDS): depend.init
21depend.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
33align.o: defs.h
34align.o: i-hopper.h
35align.o: mem.h
36align.o: trnsprob.h
37
38i-hopper.o: defs.h
39i-hopper.o: i-hopper.h
40i-hopper.o: mem.h
41
42island_hopping.o: defs.h
43island_hopping.o: i-hopper.h
44island_hopping.o: island_hopping.h
45island_hopping.o: mem.h
46island_hopping.o: $(ARBHOME)/INCLUDE/arb_assert.h
47island_hopping.o: $(ARBHOME)/INCLUDE/arb_core.h
48island_hopping.o: $(ARBHOME)/INCLUDE/arbtools.h
49island_hopping.o: $(ARBHOME)/INCLUDE/dupstr.h
50island_hopping.o: $(ARBHOME)/INCLUDE/test_global.h
51
52mem.o: mem.h
53mem.o: $(ARBHOME)/INCLUDE/attributes.h
54
55trnsprob.o: defs.h
56trnsprob.o: mem.h
57trnsprob.o: trnsprob.h
58trnsprob.o: $(ARBHOME)/INCLUDE/arb_assert.h
59trnsprob.o: $(ARBHOME)/INCLUDE/test_global.h
Note: See TracBrowser for help on using the repository browser.