~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/hipe/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
include $(ERL_TOP)/make/target.mk
15
15
include $(ERL_TOP)/make/$(TARGET)/otp.mk
16
16
 
17
 
#
 
17
ifdef HIPE_ENABLED
 
18
HIPE_SUBDIRS = regalloc sparc ppc x86 amd64 arm opt tools
 
19
else
 
20
HIPE_SUBDIRS =
 
21
endif
 
22
 
18
23
# "rtl" below must be the first directory so that file rtl/hipe_literals.hrl
19
24
# which is needed by many other HiPE files is built first
20
 
#
21
 
 
22
 
SUB_DIRECTORIES = rtl main icode sparc regalloc ssa flow opt misc util app \
23
 
                  x86 tools cerl
24
 
 
 
25
SUB_DIRECTORIES = rtl misc main cerl icode flow util $(HIPE_SUBDIRS)
25
26
 
26
27
#
27
28
# Default Subdir Targets
28
29
#
29
30
include $(ERL_TOP)/make/otp_subdir.mk
30
31
 
 
32
# This overrides the default recursive-make edocs target in otp_subdir.mk
 
33
# It is not pretty, but it will have to do for now.
 
34
docs:
 
35
        @if [ -d $(ERL_TOP)/lib/edoc/ebin ]; then \
 
36
          erl -noshell -pa $(ERL_TOP)/lib/edoc/ebin $(ERL_TOP)/lib/syntax_tools/ebin $(ERL_TOP)/lib/xmerl/ebin -run edoc_run application 'hipe' '"."' '[new,no_packages]' -s init stop ; \
 
37
        fi
 
38
 
 
39
edocs: docs
31
40
 
32
41
all-subdirs: 
33
 
        -for dir in $(SUB_DIRECTORIES ); do \
 
42
        -for dir in $(SUB_DIRECTORIES); do \
34
43
                (cd $$dir; $(MAKE) $(MAKETARGET) EBIN=../ebin; cd ..); \
35
44
        done
36
45