Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/Makefile.in
ViewVC logotype

Diff of /branches/vis15/src/compiler/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3815, Wed May 4 15:06:28 2016 UTC revision 3816, Wed May 4 16:34:21 2016 UTC
# Line 31  Line 31 
31  SHELL =         @SHELL@  SHELL =         @SHELL@
32  @SET_MAKE@  @SET_MAKE@
33    
34    #
35    # generator tools
36    #
37    MKMK =          $(SRCDIR)/compiler/gen/fragments/mkmk.sh
38    MKFRAGS =       $(SRCDIR)/compiler/gen/fragments/mkfrags.sh
39    
40    #
41    # SML/NJ build tools
42    #
43  INSTALL_SMLNJ_WRAPPER = @INSTALL_SMLNJ_WRAPPER@  INSTALL_SMLNJ_WRAPPER = @INSTALL_SMLNJ_WRAPPER@
44  ML_BUILD =              @ML_BUILD@  ML_BUILD =              @ML_BUILD@
45  ML_BUILD_FLAGS =        -Ctdp.instrument=true \$$smlnj-tdp/back-trace.cm  ML_BUILD_FLAGS =        -Ctdp.instrument=true \$$smlnj-tdp/back-trace.cm
# Line 62  Line 71 
71                          translate/sources.cm \                          translate/sources.cm \
72                          typechecker/sources.cm                          typechecker/sources.cm
73    
74  CODE_FRAG_FILES =  CODE_FRAG_DIRS =        c-util
75    
76    CODE_FRAG_FILES =       $(patsubst %,%/fragments.sml,$(CODE_FRAG_DIRS))
77    CODE_FRAG_MKFILES =     $(patsubst %,%/fragments.gmk,$(CODE_FRAG_DIRS))
78    
79  .PHONY:         local-install  .PHONY:         local-install
80  local-install:  $(HEAP_IMAGE)  local-install:  $(HEAP_IMAGE)
# Line 75  Line 87 
87  .PHONY:         build  .PHONY:         build
88  build:          $(HEAP_IMAGE)  build:          $(HEAP_IMAGE)
89    
90  $(HEAP_IMAGE):  .depend  $(HEAP_IMAGE):  .depend $(CODE_FRAG_MKFILES)
91          $(ML_BUILD) $(ML_BUILD_FLAGS) $(ROOT_CM) Main.main $(PROGRAM)          $(ML_BUILD) $(ML_BUILD_FLAGS) $(ROOT_CM) Main.main $(PROGRAM)
92          touch $(HEAP_IMAGE)          touch $(HEAP_IMAGE)
93    
94    #
95    # Rules for generating the fragment dependency and source files
96    #
97    
98    c-util/fragments.gmk: c-util/fragments/CATALOG $(wildcard c-util/fragments/*in)
99            $(MKMK) c-util
100    
101    c-util/fragments.sml:
102            $(MKFRAGS) c-util
103    
104    #
105    # Dependency file rules
106    #
107  .depend:        $(CM_FILES) $(CODE_FRAG_FILES)  .depend:        $(CM_FILES) $(CODE_FRAG_FILES)
108          touch .depend          touch .depend
109          $(ML_MAKEDEPEND) $(ML_MAKEDEPEND_FLAGS) -n -f .depend $(ROOT_CM) $(HEAP_IMAGE) || rm -f .depend          $(ML_MAKEDEPEND) $(ML_MAKEDEPEND_FLAGS) -n -f .depend $(ROOT_CM) $(HEAP_IMAGE) || rm -f .depend
110    
   
111  ifneq ($(MAKECMDGOALS),clean)  ifneq ($(MAKECMDGOALS),clean)
112  ifneq ($(MAKECMDGOALS),devclean)  ifneq ($(MAKECMDGOALS),devclean)
113  ifneq ($(MAKECMDGOALS),distclean)  ifneq ($(MAKECMDGOALS),distclean)
114  sinclude .depend  sinclude .depend
115    sinclude c-util/fragments.gmk
116  endif  endif
117  endif  endif
118  endif  endif
# Line 100  Line 125 
125                          */*.grm.sml \                          */*.grm.sml \
126                          */*.lex.sml \                          */*.lex.sml \
127                          $(CODE_FRAG_FILES) \                          $(CODE_FRAG_FILES) \
128                            $(CODE_FRAG_MKFILES) \
129                          .depend                          .depend
130    
131  DISTCLEAN_FILES +=      Makefile \  DISTCLEAN_FILES +=      Makefile \
132                          common/paths.sml \                          common/paths.sml \
133                          common/size-of.sml \                          common/size-of.sml \
134                          nrrd/run-dnorm.sml                          c-util/fragments/config.in \
135                            nrrd/run-dnorm.sml \
136                            options/version.sml \
137                            $(MKMK) $(MKFRAGS)
138    
139  DEVCLEAN_FILES =  DEVCLEAN_FILES =
140    

Legend:
Removed from v.3815  
changed lines
  Added in v.3816

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0