source: tags/svn.1.5.4/XML_IMPORT/Makefile

Last change on this file was 7669, checked in by westram, 14 years ago
  • merge from dev [7638] [7639] [7646] [7645] [7647] [7648] [7649] [7650] [7651] [7652]
    • compatibility with cppcheck 1.49 (assert + ASSERT_RESULT)
    • fixed (AWT and WINDOW)
      • missing const attributes
      • uninitialized/unused/wrong-scoped/useless variables
      • alloc/free/delete mismatches
      • use assertions instead of null-pointer-assignments
    • removed
      • AW_device_Xm fast/slow/fastflag
    • new class AW_scalar
      • can hold any AW_awar-value
        • uses int32_t (AW_awar is based on GB_INT which is 32 bit)
      • knows its type
      • use in
        • AW_option_struct / AW_toggle_struct (both classes were identical → replaced them by new class AW_widget_value_pair)
        • in AW_variable_update_struct (now VarUpdateInfo)
        • in AW_select_table_struct (now AW_selection_list_entry)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1
2ARCHS = \
3        IMP_TREE/IMP_TREE.dummy \
4
5# --------------------------------------------------------------------------------
6
7#SAX_INCLUDES        = -I. -I${XERCESCROOT}/include
8#SAX_LIB_SEARCH_PATH = -L${XERCESCROOT}/lib
9#SAX_LIBRARY_NAME    = -lxerces-c
10
11#SUB_CFLAGS=$(cflags) $(SAX_INCLUDES) -DXML_USE_PTHREADS
12#SUB_LFLAGS=$(lflags) $(SAX_LIB_SEARCH_PATH) $(SAX_LIBRARY_NAME)
13
14include $(ARBHOME)/SOURCE_TOOLS/export2sub
15
16# --------------------------------------------------------------------------------
17
18$(MAIN):
19ifeq ($(SHOWTODO),1)
20        @echo "Makefile:20: Warning: XML_IMPORT is unfinished work"
21endif
22        true
23
24#$(MAIN): $(ARCHS)
25
26depends: $(ARCHS:.dummy=.depend)
27
28%.depend:
29        @cp -p $(@D)/Makefile $(@D)/Makefile.old # save old Makefile
30        @$(MAKE) -C $(@D) -r depends
31        @grep "^# DO NOT DELETE" $(@D)/Makefile >/dev/null # check whether sub Makefile has dependencies
32        @cat $(@D)/Makefile \
33                | ../SOURCE_TOOLS/fix_depends.pl \
34                >$(@D)/Makefile.2
35        @mv $(@D)/Makefile.old $(@D)/Makefile # restore old Makefile
36        @$(ARBHOME)/SOURCE_TOOLS/mv_if_diff $(@D)/Makefile.2 $(@D)/Makefile # update Makefile if changed
37
38%.dummy:
39        @$(MAKE) -C $(@D) -r \
40                "ARB  = yes" \
41                "MAIN = $(@F:.dummy=.a)" \
42                "cflags = $(SUB_CFLAGS) -DIN_ARB_$(@D:/=)" \
43
44# DO NOT DELETE
Note: See TracBrowser for help on using the repository browser.