/[libml]/libml/src/Makefile
ViewVC logotype

Diff of /libml/src/Makefile

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

revision 1.1.1.1 by srv89, Mon Oct 27 11:08:36 2003 UTC revision 1.2 by srv89, Tue Oct 28 13:20:59 2003 UTC
# Line 45  all: $(NAME).cma $(NAME).cmxa Line 45  all: $(NAME).cma $(NAME).cmxa
45  # Recompiles everything from scratch  # Recompiles everything from scratch
46  re: clean all  re: clean all
47    
 # sources bootstrap  
   
 bootstrap: bootstrap.sh  
         @echo " /"  
         @echo " | making $@ ..."  
         @echo " \\"  
         ./bootstrap.sh  
   
48  # bytecode and native-code compilation  # bytecode and native-code compilation
49  ######################################  ######################################
50    
# Line 62  byte-recursive: Line 54  byte-recursive:
54          @echo " \\"          @echo " \\"
55          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
56          do\          do\
57          ( cd $$i && make byte ) || exit 1 ;\          ( make -C $$i byte ) || exit 1 ;\
58          done          done
59    
60  opt-recursive:  opt-recursive:
# Line 71  opt-recursive: Line 63  opt-recursive:
63          @echo " \\"          @echo " \\"
64          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
65          do\          do\
66          ( cd $$i && make opt ) || exit 1 ;\          ( make -C $$i opt ) || exit 1 ;\
67          done          done
68    
69  all-recursive:  all-recursive:
# Line 80  all-recursive: Line 72  all-recursive:
72          @echo " \\"          @echo " \\"
73          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
74          do\          do\
75          ( cd $$i && make all ) || exit 1 ;\          ( make -C $$i all ) || exit 1 ;\
76          done          done
77    
78  $(NAME).cma: byte-recursive  $(NAME).cma: byte-recursive
# Line 105  interface: Line 97  interface:
97          @echo " \\"          @echo " \\"
98          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
99          do\          do\
100          ( cd $$i && make $@ ) || exit 1;\          ( make -C $$i $@ ) || exit 1;\
101          done          done
102    
103  # documentation  # documentation
# Line 119  doc: Line 111  doc:
111          @echo " \\"          @echo " \\"
112          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
113          do\          do\
114          ( cd $$i && make $@ ) || exit 1 ;\          ( make -C $$i $@ ) || exit 1 ;\
115          done          done
116    
117  # clean  # clean
# Line 131  clean: default-clean Line 123  clean: default-clean
123          @echo " \\"          @echo " \\"
124          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
125          do\          do\
126          ( cd $$i && make $@ ) || exit 1 ;\          ( make -C $$i $@ ) || exit 1 ;\
127          done          done
128          @echo " /"          @echo " /"
129          @echo " | cleaning src/ ..."          @echo " | cleaning src/ ..."
130          @echo " \\"          @echo " \\"
131          $(RM) $(NAME).{cma,cmxa,a}          @$(RM) $(NAME).{cma,cmxa,a}
132    
133  default-clean:  default-clean:
134          $(RM) *.cm[iox] *.o *~ \#*          @$(RM) *.cm[iox] *.o *~ \#*
135    
136  doc-clean:  doc-clean:
137          @echo " /"          @echo " /"
# Line 147  doc-clean: Line 139  doc-clean:
139          @echo " \\"          @echo " \\"
140          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
141          do\          do\
142          ( cd $$i && make $@ ) || exit 1 ;\          ( make -C $$i $@ ) || exit 1 ;\
143          done          done
144          @echo " /"          @echo " /"
145          @echo " | cleaning doc/ ..."          @echo " | cleaning doc/ ..."
146          @echo " \\"          @echo " \\"
147          $(RM) -R ../doc/{dvi,html,latex,man,texi,pdf,ps,texi2html}          @$(RM) -R ../doc/{dvi,html,latex,man,texi,pdf,ps,texi2html}
148    
149  dist-clean distclean:: clean doc-clean  dist-clean distclean:: clean doc-clean
150          $(RM) config.cache config.log config.status .depend common.Makefile configure */Makefile          @echo " + making $@ ..."
151            @$(RM) config.cache config.log config.status .depend common.Makefile configure */Makefile
152  # TODO: remove CVS stuff  # TODO: remove CVS stuff
153    
154  # check  # check
# Line 167  check: Line 160  check:
160          @echo " \\"          @echo " \\"
161          @for i in $(SUBDIRS);\          @for i in $(SUBDIRS);\
162          do\          do\
163          ( cd $$i && make $@ ) || exit 1 ;\          ( make -C $$i $@ ) || exit 1 ;\
164          done          done
165          @echo " /"          @echo " /"
166          @echo " | LibML test suite sucessfully finished."          @echo " | LibML test suite sucessfully finished."
# Line 177  check: Line 170  check:
170  ########  ########
171    
172  .depend depend:: $(GENERATED)  .depend depend:: $(GENERATED)
173          $(RM) .depend          @$(RM) .depend
174          $(OCAMLDEP) $(INCLUDES) *.ml *.mli > .depend          $(OCAMLDEP) $(INCLUDES) *.ml *.mli > .depend
175    
176  # common.Makefile is rebuilt whenever common.Makefile.in or configure.in  # common.Makefile is rebuilt whenever common.Makefile.in or configure.in

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26