source: trunk/SL/APP/Makefile

Last change on this file was 19654, checked in by westram, 2 weeks ago
  • reintegrates 'macros' into 'trunk'
    • improves program termination (#867)
      • introduces MacroExitor classes
        • handles confirmation (to quit)
        • waits for macros to finish, then exits w/o confirmation
        • provides specialized termination for different programs via derived classes
          • has been implemented for "normal" arb and merge-tool.
      • introduces ARB_disconnect_from_db
        • generalizes code to terminate all interconnections between GUI, database and macro-ability
        • allow to install atdisconnect-callbacks
          • usable by modules operating on a database; allow to inform module that database will vanish.
        • now used by all arb applications to disconnect from all their database(s), except the properties.
    • fixes some broken behavior
      • merge-tool
        • crashed when quitting via macro
        • wrong restarts, if originally started with arguments,
      • importer
        • failed to record/playback macros
        • crashed in modules operating on the temporary import database
      • database browser
        • crashed on disappearing database
  • adds: log:branches/macros@19620:19653
File size: 4.8 KB
Line 
1# for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .cxx .depend
4
5OBJECTS=$(subst .cxx,.o,$(wildcard *.cxx))
6
7$(MAIN): $(OBJECTS)
8        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
9
10.cxx.o:
11        $(A_CXX) $(cflags) $(cxxflags) -c $< $(CXX_INCLUDES) $(POST_COMPILE) $<
12
13clean:
14        rm -f $(OBJECTS) *.o *.a
15
16DEPENDS = $(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 (from SL)
32
33app.o: app.hxx
34app.o: $(ARBHOME)/INCLUDE/ad_prot.h
35app.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
36app.o: $(ARBHOME)/INCLUDE/arb_assert.h
37app.o: $(ARBHOME)/INCLUDE/arb_core.h
38app.o: $(ARBHOME)/INCLUDE/arb_error.h
39app.o: $(ARBHOME)/INCLUDE/arb_mem.h
40app.o: $(ARBHOME)/INCLUDE/arb_msg.h
41app.o: $(ARBHOME)/INCLUDE/arb_string.h
42app.o: $(ARBHOME)/INCLUDE/arbdb.h
43app.o: $(ARBHOME)/INCLUDE/arbdb_base.h
44app.o: $(ARBHOME)/INCLUDE/arbdbt.h
45app.o: $(ARBHOME)/INCLUDE/arbtools.h
46app.o: $(ARBHOME)/INCLUDE/attributes.h
47app.o: $(ARBHOME)/INCLUDE/aw_base.hxx
48app.o: $(ARBHOME)/INCLUDE/aw_root.hxx
49app.o: $(ARBHOME)/INCLUDE/cb.h
50app.o: $(ARBHOME)/INCLUDE/cb_base.h
51app.o: $(ARBHOME)/INCLUDE/cbtypes.h
52app.o: $(ARBHOME)/INCLUDE/cxxforward.h
53app.o: $(ARBHOME)/INCLUDE/downcast.h
54app.o: $(ARBHOME)/INCLUDE/dupstr.h
55app.o: $(ARBHOME)/INCLUDE/gccver.h
56app.o: $(ARBHOME)/INCLUDE/macros.hxx
57app.o: $(ARBHOME)/INCLUDE/smartptr.h
58app.o: $(ARBHOME)/INCLUDE/static_assert.h
59app.o: $(ARBHOME)/INCLUDE/stringize.h
60app.o: $(ARBHOME)/INCLUDE/test_global.h
61app.o: $(ARBHOME)/INCLUDE/ttypes.h
62
63db_browser.o: app.hxx
64db_browser.o: hexdump.hxx
65db_browser.o: $(ARBHOME)/INCLUDE/ad_cb.h
66db_browser.o: $(ARBHOME)/INCLUDE/ad_cb_prot.h
67db_browser.o: $(ARBHOME)/INCLUDE/ad_prot.h
68db_browser.o: $(ARBHOME)/INCLUDE/ad_t_prot.h
69db_browser.o: $(ARBHOME)/INCLUDE/arb_assert.h
70db_browser.o: $(ARBHOME)/INCLUDE/arb_core.h
71db_browser.o: $(ARBHOME)/INCLUDE/arb_diff.h
72db_browser.o: $(ARBHOME)/INCLUDE/arb_error.h
73db_browser.o: $(ARBHOME)/INCLUDE/arb_file.h
74db_browser.o: $(ARBHOME)/INCLUDE/arb_mem.h
75db_browser.o: $(ARBHOME)/INCLUDE/arb_misc.h
76db_browser.o: $(ARBHOME)/INCLUDE/arb_msg.h
77db_browser.o: $(ARBHOME)/INCLUDE/arb_sleep.h
78db_browser.o: $(ARBHOME)/INCLUDE/arb_str.h
79db_browser.o: $(ARBHOME)/INCLUDE/arb_strarray.h
80db_browser.o: $(ARBHOME)/INCLUDE/arb_strbuf.h
81db_browser.o: $(ARBHOME)/INCLUDE/arb_string.h
82db_browser.o: $(ARBHOME)/INCLUDE/arbdb.h
83db_browser.o: $(ARBHOME)/INCLUDE/arbdb_base.h
84db_browser.o: $(ARBHOME)/INCLUDE/arbdbt.h
85db_browser.o: $(ARBHOME)/INCLUDE/arbtools.h
86db_browser.o: $(ARBHOME)/INCLUDE/attributes.h
87db_browser.o: $(ARBHOME)/INCLUDE/aw_advice.hxx
88db_browser.o: $(ARBHOME)/INCLUDE/aw_awar.hxx
89db_browser.o: $(ARBHOME)/INCLUDE/aw_base.hxx
90db_browser.o: $(ARBHOME)/INCLUDE/aw_keysym.hxx
91db_browser.o: $(ARBHOME)/INCLUDE/aw_msg.hxx
92db_browser.o: $(ARBHOME)/INCLUDE/aw_root.hxx
93db_browser.o: $(ARBHOME)/INCLUDE/aw_scalar.hxx
94db_browser.o: $(ARBHOME)/INCLUDE/aw_select.hxx
95db_browser.o: $(ARBHOME)/INCLUDE/aw_system.hxx
96db_browser.o: $(ARBHOME)/INCLUDE/aw_window.hxx
97db_browser.o: $(ARBHOME)/INCLUDE/cb.h
98db_browser.o: $(ARBHOME)/INCLUDE/cb_base.h
99db_browser.o: $(ARBHOME)/INCLUDE/cbtypes.h
100db_browser.o: $(ARBHOME)/INCLUDE/cxxforward.h
101db_browser.o: $(ARBHOME)/INCLUDE/downcast.h
102db_browser.o: $(ARBHOME)/INCLUDE/dupstr.h
103db_browser.o: $(ARBHOME)/INCLUDE/gccver.h
104db_browser.o: $(ARBHOME)/INCLUDE/smartptr.h
105db_browser.o: $(ARBHOME)/INCLUDE/static_assert.h
106db_browser.o: $(ARBHOME)/INCLUDE/stringize.h
107db_browser.o: $(ARBHOME)/INCLUDE/test_global.h
108db_browser.o: $(ARBHOME)/INCLUDE/ttypes.h
109
110hexdump.o: hexdump.hxx
111hexdump.o: $(ARBHOME)/INCLUDE/arb_assert.h
112hexdump.o: $(ARBHOME)/INCLUDE/arb_core.h
113hexdump.o: $(ARBHOME)/INCLUDE/arb_error.h
114hexdump.o: $(ARBHOME)/INCLUDE/arb_mem.h
115hexdump.o: $(ARBHOME)/INCLUDE/arb_strbuf.h
116hexdump.o: $(ARBHOME)/INCLUDE/arb_string.h
117hexdump.o: $(ARBHOME)/INCLUDE/arbdb_base.h
118hexdump.o: $(ARBHOME)/INCLUDE/arbtools.h
119hexdump.o: $(ARBHOME)/INCLUDE/attributes.h
120hexdump.o: $(ARBHOME)/INCLUDE/aw_base.hxx
121hexdump.o: $(ARBHOME)/INCLUDE/aw_root.hxx
122hexdump.o: $(ARBHOME)/INCLUDE/cb.h
123hexdump.o: $(ARBHOME)/INCLUDE/cb_base.h
124hexdump.o: $(ARBHOME)/INCLUDE/cbtypes.h
125hexdump.o: $(ARBHOME)/INCLUDE/cxxforward.h
126hexdump.o: $(ARBHOME)/INCLUDE/dupstr.h
127hexdump.o: $(ARBHOME)/INCLUDE/gccver.h
128hexdump.o: $(ARBHOME)/INCLUDE/smartptr.h
129hexdump.o: $(ARBHOME)/INCLUDE/static_assert.h
130hexdump.o: $(ARBHOME)/INCLUDE/stringize.h
131hexdump.o: $(ARBHOME)/INCLUDE/test_global.h
132hexdump.o: $(ARBHOME)/INCLUDE/test_unit.h
133hexdump.o: $(ARBHOME)/INCLUDE/ttypes.h
Note: See TracBrowser for help on using the repository browser.