Changeset 842
- Timestamp:
- Jun 10, 2003, 7:51:31 PM (18 years ago)
- Location:
- to-imperative/trunk
- Files:
-
- 42 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/Makefile
r448 r842 1 1 SUBDIRS = libstdc++-stub compiler libp++ runtime library samples 2 2 INSTALL_SUBDIRS = $(SUBDIRS) 3 all : override SUBDIRS = libstdc++-stub compiler libp++ runtime library 3 4 4 5 include rules.mk … … 65 66 clean:: 66 67 rm -f .rpmrc *.spec *.list 67 # rm -f *.tar.gz *.rpm -
to-imperative/trunk/rules.mk
r813 r842 58 58 dist:: 59 59 if [ -f "$(DISTLIST)" ]; then rm $(DISTLIST); fi 60 $(DO_SUBDIRS )60 $(DO_SUBDIRS_NODEPS) 61 61 echo $(foreach file, $(DISTFILES), $(CURRENTDIR)/$(file)) \ 62 62 >>$(TOPDIR)/$(DISTLIST) … … 64 64 snapshot:: 65 65 if [ -f "$(DISTLIST)" ]; then rm $(DISTLIST); fi 66 $(DO_SUBDIRS )66 $(DO_SUBDIRS_NODPES) 67 67 echo $(foreach file, $(DISTFILES), $(CURRENTDIR)/$(file)) \ 68 68 >>$(TOPDIR)/$(DISTLIST) 69 69 70 check:: all70 docs:: all 71 71 $(DO_SUBDIRS) 72 72 73 docs:: all 73 samples:: all 74 $(DO_SUBDIRS) 75 76 tests:: all 77 $(DO_SUBDIRS) 78 79 check:: tests 74 80 $(DO_SUBDIRS) 75 81 … … 83 89 $(DO_SUBDIRS) 84 90 85 .PHONY: all check install uninstall clean dist snapshot distclean 91 .PHONY: all install uninstall clean dist snapshot distclean 92 .PHONY: samples tests check -
to-imperative/trunk/samples/Access/Makefile
r695 r842 3 3 include $(TOPDIR)/rules.mk 4 4 5 SAMPLES = \5 TESTS = \ 6 6 l1 \ 7 7 l_inval1 \ … … 18 18 include $(TOPDIR)/samples/samples.mk 19 19 20 tests:: $(TESTS) 21 20 22 -include $(DEPS) -
to-imperative/trunk/samples/Arithm/Makefile
r695 r842 3 3 include $(TOPDIR)/rules.mk 4 4 5 SAMPLES = \5 TESTS = \ 6 6 add \ 7 7 sub \ … … 14 14 include $(TOPDIR)/samples/samples.mk 15 15 16 tests:: $(TESTS) 17 16 18 -include $(DEPS) -
to-imperative/trunk/samples/Box/Makefile
r745 r842 3 3 include $(TOPDIR)/rules.mk 4 4 5 SAMPLES = \5 TESTS = \ 6 6 box1 7 7 … … 10 10 include $(TOPDIR)/samples/samples.mk 11 11 12 tests:: $(TESTS) 13 12 14 %.hh: %.rfi 13 15 $(RFPC) $< -
to-imperative/trunk/samples/Convert/Makefile
r823 r842 3 3 include $(TOPDIR)/rules.mk 4 4 5 SAMPLES = \5 TESTS = \ 6 6 tochars \ 7 7 tolower \ … … 27 27 include $(TOPDIR)/samples/samples.mk 28 28 29 tests:: $(TESTS) 30 29 31 -include $(DEPS) -
to-imperative/trunk/samples/Makefile
r838 r842 9 9 Convert \ 10 10 Syntax 11 12 samples : override SUBDIRS = 11 13 12 14 SAMPLES = \ … … 21 23 include $(TOPDIR)/samples/samples.mk 22 24 25 samples:: $(SAMPLES) 26 27 ifeq (,$(filter tests check,$(MAKECMDGOALS))) 23 28 -include $(DEPS) 29 endif -
to-imperative/trunk/samples/Syntax/Makefile
r770 r842 3 3 include $(TOPDIR)/rules.mk 4 4 5 SAMPLES = \5 TESTS = \ 6 6 assign2 \ 7 7 clash4 \ … … 10 10 include $(TOPDIR)/samples/samples.mk 11 11 12 tests:: $(TESTS) 13 12 14 %.cc: %.rf 13 15 $(RFPC) -cc -no $< -
to-imperative/trunk/samples/Syntax/const4.cc
r800 r842 147 147 { 148 148 { 149 if (((1 + 1) != (1 + 1)))150 {151 goto block1__branch1;152 }153 149 if (!A64.eq (A63, 0)) 154 150 { … … 159 155 } 160 156 block1__branch1: {} 161 if (((1 + 1 + 1 + 1) != (1 + 1 + 1 + 1)))162 {163 error ("Unexpected fail");164 }165 157 if (!_c_1.eq (_c_0, 0)) 166 158 { -
to-imperative/trunk/samples/samples.mk
r838 r842 10 10 DISTFILES = Makefile 11 11 DISTFILES += $(SAMPLES_SOURCES) 12 13 all:: $(SAMPLES)14 12 15 13 RFPC = $(TOPDIR)/compiler/rfpc … … 34 32 $(CXX) -o $@ $< $(LDFLAGS) $(LDLIBS) 35 33 34 $(TESTS): %: %.o $(LIBRF) $(LIBRFRT) $(LIBPXX) 35 $(CXX) -o $@ $< $(LDFLAGS) $(LDLIBS) 36 36 37 clean:: 37 rm -f $(SAMPLES) *.o *.dep38 rm -f $(SAMPLES) $(TESTS) *.o *.dep 38 39 40 check:: $(TESTS) 41 @$(foreach target,$(TESTS), \ 42 $(TOPDIR)/samples/check.sh $(target) ; \ 43 ) 44 45 DEPS = $(SAMPLES:=.dep) 46 DEPS += $(TESTS:=.dep)
Note: See TracChangeset
for help on using the changeset viewer.