source: tags/arb_5.2/XML_IMPORT/Makefile

Last change on this file was 5900, checked in by westram, 15 years ago
  • fixed senseless warning
  • 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):
19        @echo "Makefile:19: XML_IMPORT compile broken atm"
20        true
21
22#$(MAIN): $(ARCHS)
23
24depends: $(ARCHS:.dummy=.depend)
25
26%.depend:
27        @cp -p $(@D)/Makefile $(@D)/Makefile.old # save old Makefile
28        @$(MAKE) -C $(@D) -r depends
29        @grep "^# DO NOT DELETE" $(@D)/Makefile >/dev/null # check whether sub Makefile has dependencies
30        @cat $(@D)/Makefile \
31                | ../SOURCE_TOOLS/fix_depends.pl \
32                >$(@D)/Makefile.2
33        @mv $(@D)/Makefile.old $(@D)/Makefile # restore old Makefile
34        @$(ARBHOME)/SOURCE_TOOLS/mv_if_diff $(@D)/Makefile.2 $(@D)/Makefile # update Makefile if changed
35
36%.dummy:
37        @$(MAKE) -C $(@D) -r \
38                "ARB  = yes" \
39                "MAIN = $(@F:.dummy=.a)" \
40                "cflags = $(SUB_CFLAGS) -DIN_ARB_$(@D:/=)" \
41
42# DO NOT DELETE
Note: See TracBrowser for help on using the repository browser.