llvm.org GIT mirror llvm / 151f8ba
New Makefile Features: * "dist" target now builds tar.gz, tar.bz2, and zip files suitable for distribution. "dist" can only be run from $(BUILD_OBJ_ROOT) and implies a "check". * made the preconditions not do a recursive make and ensured that they are executed sequentially. * made the messages output by the makefile be prefixed with "llvm" and the make level (e.g. llvm[1]: ) in the same way that make does so that the messages are uniform and more readable. * Fixed the tags target so that tags depends on TAGS which contains the rules to build a file named TAGS * Implemented the EXTRA_DIST feature in a few directories to make sure it works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17210 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 14 years ago
4 changed file(s) with 217 addition(s) and 72 deletion(s). Raw diff Collapse all Expand all
88 LEVEL = .
99 DIRS = lib/System lib/Support utils lib tools
1010
11
1112 ifneq ($(MAKECMDGOALS),tools-only)
1213 DIRS += runtime
1314 OPTIONAL_DIRS = examples projects
1415 endif
1516
17 EXTRA_DIST := llvm.spec include configure \
18 autoconf/AutoRegen.sh autoconf/LICENSE.TXT autoconf/README.TXT \
19 autoconf/aclocal.m4 autoconf/config.guess autoconf/config.sub \
20 autoconf/configure.ac autoconf/depcomp autoconf/install-sh \
21 autoconf/ltmain.sh autoconf/missing autoconf/mkinstalldirs \
22 autoconf/m4
1623 include $(LEVEL)/Makefile.common
24
25 dist-hook::
26 @$(ECHO) Eliminating CVS directories from distribution
27 $(VERB) rm -rf `find $(TopDistDir) -type d -name CVS -print`
1728
1829 test :: all
1930 cd test; $(MAKE)
3939 # Path to the library archiver program.
4040 AR_PATH = @AR@
4141
42 # The pathnames of the Flex and Bison programs, respectively.
43 YACC = @YACC@
44 BISON = @BISON@
45 FLEX = @LEX@
46
47 # Paths to miscellaneous programs.
48 RPWD = pwd
49 SED = sed
50 RM = rm
51 ECHO = echo
52 MKDIR = @abs_top_srcdir@/autoconf/mkinstalldirs
53 DATE = date
54 MV = mv
42 # The pathnames of the programs we require to build
43 YACC = @YACC@
44 BISON = @BISON@
45 FLEX = @LEX@
46 TAR = @TAR@
5547 INSTALL = @INSTALL@
5648 DOT = @DOT@
5749 ETAGS = @ETAGS@
5850 ETAGSFLAGS = @ETAGSFLAGS@
51
52 # Paths to miscellaneous programs we assume are present
53 RPWD = pwd
54 SED = sed
55 RM = rm
56 ECHO = echo "llvm["$(MAKELEVEL)"]:"
57 MKDIR = @abs_top_srcdir@/autoconf/mkinstalldirs
58 INSTALL_SH = $(BUILD_SRC_ROOT)/autoconf/install-sh
59 DATE = date
60 MV = mv
61 GZIP = gzip
62 ZIP = zip
63 BZIP2 = bzip2
5964
6065 # Determine the target for which LLVM should generate code.
6166 LLVMGCCARCH := @target@/3.4-llvm
172177 INSTALL_PROGRAM = @INSTALL_PROGRAM@
173178 INSTALL_SCRIPT = @INSTALL_SCRIPT@
174179 INSTALL_DATA = @INSTALL_DATA@
180 LLVM_TARBALL_NAME = @PACKAGE_NAME@-@PACKAGE_VERSION@
175181
2525 #--------------------------------------------------------------------
2626 RECURSIVE_TARGETS := all clean check install uninstall
2727 LOCAL_TARGETS := all-local clean-local check-local install-local printvars\
28 uninstall-local
28 uninstall-local
2929 TOPLEV_TARGETS := dist dist-check dist-clean tags
30 USER_TARGETS := $(RECURSIVE_TARGETS) $(LOCAL_TARGETS) $(TOPLEV_TARGETS)
3031 INTERNAL_TARGETS := preconditions \
3132 install-config-dir install-shared-library install-bytecode-library \
3233 install-archive-library install-relinked-library install-tool \
3637 #--------------------------------------------------------------------
3738 # Mark all of these targets as phony to avoid implicit rule search
3839 #--------------------------------------------------------------------
39 .PHONY: $(RECURSIVE_TARGETS) $(LOCAL_TARGETS) $(TOP_TARGETS) $(INTERNAL_TARGETS)
40 .PHONY: $(USER_TARGETS) $(INTERNAL_TARGETS)
4041
4142 #--------------------------------------------------------------------
4243 # Make sure all the user-target rules are double colon rules and that
4344 # the preconditions are run first.
4445 #--------------------------------------------------------------------
46
47 $(USER_TARGETS) :: preconditions
4548
4649 all :: all-local
4750 check:: check-local
4851 clean:: clean-local
4952 install :: install-local
5053 uninstall :: uninstall-local
51
52 all-local :: preconditions
53 clean-local :: preconditions
5454 check-local :: all-local
5555 install-local :: all-local
56 printvars :: preconditions
57 uninstall-local :: preconditions
5856
5957 ###############################################################################
6058 # SUFFIXES: Reset the list of suffixes we know how to build
131129 VERB := @
132130 LIBTOOL += --silent
133131 AR += >/dev/null 2>/dev/null
132 CONFIGUREFLAGS += >$(BUILD_OBJ_DIR)/configure.out 2>&1
133 else
134 CONFIGUREFLAGS :=
134135 endif
135136
136137 # By default, strip symbol information from executable
161162
162163 LDFLAGS += -L$(LIBDIR) -L$(LLVMLIBDIR)
163164 CPPFLAGS += -I$(BUILD_OBJ_DIR) \
164 -I$(BUILD_SRC_DIR) \
165 -I$(BUILD_SRC_ROOT)/include \
166 -I$(BUILD_OBJ_ROOT)/include \
167 -I$(LLVM_OBJ_ROOT)/include \
168 -I$(LLVM_SRC_ROOT)/include \
169 -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
165 -I$(BUILD_SRC_DIR) \
166 -I$(BUILD_SRC_ROOT)/include \
167 -I$(BUILD_OBJ_ROOT)/include \
168 -I$(LLVM_OBJ_ROOT)/include \
169 -I$(LLVM_SRC_ROOT)/include \
170 -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
170171
171172 Compile.C = $(CC) $(CPPFLAGS) $(CompileCommonOpts) -c $(CFLAGS)
172173 Compile.CXX = $(CXX) $(CPPFLAGS) $(CompileCommonOpts) $(CXXFLAGS) -c
175176 BCCompile.CXX = $(LLVMGXX) $(CPPFLAGS) $(CompileCommonOpts) $(CXXFLAGS) -c
176177 BCCompile.C = $(LLVMGCC) $(CPPFLAGS) $(CompileCommonOpts) $(CFLAGS) -c
177178 Link = $(LIBTOOL) --tag=CXX --mode=link $(CXX) $(CPPFLAGS) \
178 $(CompileCommonOpts) $(LDFLAGS) $(STRIP)
179 $(CompileCommonOpts) $(LDFLAGS) $(STRIP)
179180 Relink = $(LIBTOOL) --tag=CXX --mode=link $(CXX)
180181 BCLinkLib = $(LLVMGCC) -shared -nostdlib
181182 Burg = $(BURG) -I $(BUILD_SRC_DIR)
192193 #----------------------------------------------------------
193194 ifndef SOURCES
194195 SOURCES := $(notdir $(wildcard $(BUILD_SRC_DIR)/*.cpp \
195 $(BUILD_SRC_DIR)/*.cc $(BUILD_SRC_DIR)/*.c $(BUILD_SRC_DIR)/*.y \
196 $(BUILD_SRC_DIR)/*.l))
196 $(BUILD_SRC_DIR)/*.cc $(BUILD_SRC_DIR)/*.c $(BUILD_SRC_DIR)/*.y \
197 $(BUILD_SRC_DIR)/*.l))
197198 endif
198199
199200 ifdef BUILT_SOURCES
217218 # Handle the DIRS options for sequential construction
218219 #---------------------------------------------------------
219220
221 SUBDIRS :=
220222 ifdef DIRS
223 SUBDIRS += $(DIRS)
221224 $(RECURSIVE_TARGETS)::
222225 $(VERB) for dir in $(DIRS); do \
223226 if [ ! -f $$dir/Makefile ]; then \
224227 $(MKDIR) $$dir; \
225228 cp $(BUILD_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
226229 fi; \
227 ($(MAKE) -C $$dir $@ $(MFLAGS)) || exit 1; \
230 ($(MAKE) -C $$dir $@ ) || exit 1; \
228231 done
229232 endif
230233
239242 $(MKDIR) $$dir; \
240243 cp $(BUILD_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
241244 fi; \
242 ($(MAKE) -C $$dir $@ $(MFLAGS)) || exit 0; \
245 ($(MAKE) -C $$dir $@ ) || exit 0; \
243246 done
244247 endif
245248
248251 #---------------------------------------------------------
249252 ifdef PARALLEL_DIRS
250253
254 SUBDIRS += $(PARALLEL_DIRS)
251255 # Unfortunately, this list must be maintained if new
252256 # recursive targets are added.
253257 all :: $(addsuffix /.makeall , $(PARALLEL_DIRS))
263267 $(MKDIR) $(@D); \
264268 cp $(BUILD_SRC_DIR)/$(@D)/Makefile $(@D)/Makefile; \
265269 fi; \
266 $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@) $(MFLAGS)
270 $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@)
267271 endif
268272
269273 #---------------------------------------------------------
271275 # or may not exist.
272276 #---------------------------------------------------------
273277 ifdef OPTIONAL_DIRS
278
279 SUBDIRS += $(OPTIONAL_DIRS)
280
274281 $(RECURSIVE_TARGETS)::
275282 $(VERB) for dir in $(OPTIONAL_DIRS); do \
276283 if [ -d $(BUILD_SRC_DIR)/$$dir ]; then\
278285 $(MKDIR) $$dir; \
279286 cp $(BUILD_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
280287 fi; \
281 ($(MAKE) -C$$dir $@ $(MFLAGS)) || exit 1; \
288 ($(MAKE) -C$$dir $@ ) || exit 1; \
282289 fi \
283290 done
284291 endif
301308 uninstall-config-dir:
302309 $(VERB)$(ECHO) Uninstalling Configuration Files From $(sysconfdir)
303310 $(VERB)for file in $(CONFIG_FILES); do \
304 $(RM) -f $(sysconfdir)/$${file} ; \
311 $(RM) -f $(sysconfdir)/$${file} ; \
305312 done
306313
307314 $(sysconfdir):
563570 @$(ECHO) "Compiling $(CONFIGURATION) $*.cpp For Shared Library"
564571 $(VERB) if $(LTCompile.CXX) -MD -MT $@ -MP -MF $(OBJDIR)/$*.LACXXd $< -o $@ ; \
565572 then $(MV) -f "$(OBJDIR)/$*.LACXXd" "$(OBJDIR)/$*.d"; \
566 else $(RM) -f "$(OBJDIR)/$*.LACXXd"; exit 1; fi
573 else $(RM) -f "$(OBJDIR)/$*.LACXXd"; exit 1; fi
567574
568575 $(OBJDIR)/%.lo $(OBJDIR)/%.o: %.c $(OBJDIR)/.dir
569576 @$(ECHO) "Compiling $(CONFIGURATION) $*.c For Shared Library"
570577 $(VERB) if $(LTCompile.C) -MD -MT $@ -MP -MF $(OBJDIR)/$*.LACd $< -o $@ ; \
571578 then $(MV) -f "$(OBJDIR)/$*.LACd" "$(OBJDIR)/$*.d"; \
572 else $(RM) -f "$(OBJDIR)/$*.LACd"; exit 1; fi
579 else $(RM) -f "$(OBJDIR)/$*.LACd"; exit 1; fi
573580
574581 else
575582
577584 @$(ECHO) "Compiling $(CONFIGURATION) $*.cpp For Archive"
578585 $(VERB) if $(Compile.CXX) -MD -MT $@ -MP -MF $(OBJDIR)/$*.CXXd $< -o $@ ; \
579586 then $(MV) -f "$(OBJDIR)/$*.CXXd" "$(OBJDIR)/$*.d"; \
580 else $(RM) -f "$(OBJDIR)/$*.CXXd"; exit 1; fi
587 else $(RM) -f "$(OBJDIR)/$*.CXXd"; exit 1; fi
581588
582589 $(OBJDIR)/%.o: %.c $(OBJDIR)/.dir
583590 @$(ECHO) "Compiling $(CONFIGURATION) $*.c For Archive"
584591 $(VERB) if $(Compile.C) -MD -MT $@ -MP -MF $(OBJDIR)/$*.Cd $< -o $@ ; \
585592 then $(MV) -f "$(OBJDIR)/$*.Cd" "$(OBJDIR)/$*.d"; \
586 else $(RM) -f "$(OBJDIR)/$*.Cd"; exit 1; fi
593 else $(RM) -f "$(OBJDIR)/$*.Cd"; exit 1; fi
587594
588595 endif
589596
592599 @$(ECHO) "Compiling $(CONFIGURATION) $*.cpp to bytecode"
593600 $(VERB) if $(BCCompile.CXX) -MD -MT $@ -MP -MF "$(OBJDIR)/$*.BCCXXd" $< -o $@ ; \
594601 then $(MV) -f "$(OBJDIR)/$*.BCCXXd" "$(OBJDIR)/$*.d"; \
595 else $(RM) -f "$(OBJDIR)/$*.BCCXXd"; exit 1; fi
602 else $(RM) -f "$(OBJDIR)/$*.BCCXXd"; exit 1; fi
596603
597604 $(OBJDIR)/%.bc: %.c $(OBJDIR)/.dir
598605 @$(ECHO) "Compiling $(CONFIGURATION) $*.c to bytecode"
599606 $(VERB) if $(BCCompile.C) -MD -MT $@ -MP -MF "$(OBJDIR)/$*.BCCd" $< -o $@ ; \
600607 then $(MV) -f "$(OBJDIR)/$*.BCCd" "$(OBJDIR)/$*.d"; \
601 else $(RM) -f "$(OBJDIR)/$*.BCCd"; exit 1; fi
608 else $(RM) -f "$(OBJDIR)/$*.BCCd"; exit 1; fi
602609
603610 else
604611
801808 #------------------------------------------------------------------------
802809 # List of the preconditions
803810 #------------------------------------------------------------------------
811
804812 preconditions: $(CONFIG_STATUS) $(MAKE_CONFIG) $(OBJMKFILE)
805813
806 all all-local check check-local dist dist-check install:: $(BUILT_SOURCES)
814 $(filter-out clean clean-local,USER_TARGETS):: $(BUILT_SOURCES)
807815
808816 clean-local::
809817 ifneq ($(strip $(BUILT_SOURCES)),)
815823 #------------------------------------------------------------------------
816824 .PRECIOUS: $(CONFIG_STATUS)
817825 $(CONFIG_STATUS): $(CONFIGURE)
818 @$(ECHO) Reconfiguring with $@
819 $(VERB) $(CONFIG_STATUS) --recheck
826 @$(ECHO) Reconfiguring with $<
827 $(VERB) $(CONFIG_STATUS) --recheck $(CONFIGUREFLAGS)
820828
821829 #------------------------------------------------------------------------
822830 # Make sure the configuration makefile is up to date
823831 #------------------------------------------------------------------------
824 $(MAKE_CONFIG): $(MAKE_CONFIG_IN)
832 $(MAKE_CONFIG): $(MAKE_CONFIG_IN) $(CONFIG_STATUS)
825833 @$(ECHO) Regenerating $@
826834 $(VERB) cd $(LLVM_OBJ_ROOT) ; $(CONFIG_STATUS) Makefile.config
827 $(VERB) $(MAKE) $(MFLAGS) $(MAKECMDGOALS)
828 @exit 0;
829
830835
831836 #------------------------------------------------------------------------
832837 # If the Makefile in the source tree has been updated, copy it over into the
835840 ifneq ($(OBJMKFILE),$(SRCMKFILE))
836841 .PRECIOUS: $(OBJMKFILE)
837842 $(OBJMKFILE): $(SRCMKFILE)
838 @$(ECHO) "Updating Makefile from : $(dir $<)"
843 @$(ECHO) "Updating Makefile from: $(dir $<)"
839844 $(VERB) $(MKDIR) $(@D)
840845 $(VERB) cp -f $< $@
841 $(VERB) $(MAKE) $(MFLAGS) $(MAKECMDGOALS)
842 @exit 0;
846 endif
847
848 ###############################################################################
849 # Handle construction of a distribution tarball
850 ###############################################################################
851
852 .PHONY: dist dist-chck dist-clean distdir dist-gzip dist-bzip2 dist-zip
853
854 ifeq ($(BUILD_SRC_DIR),$(BUILD_OBJ_DIR))
855
856 dist dist-check dist-clean dist-gzip dist-bzip2 dist-zip ::
857 @$(ECHO) ERROR: Target $@ only available with OBJ_DIR != SRC_DIR
858
859 else
860
861 ifeq ($(LLVM_TARBALL_NAME),)
862 $(error LLVM_TARBALL_NAME is empty)
863 endif
864
865 ifneq ($(LEVEL),.)
866
867 dist dist-check dist-clean dist-gzip dist-bzip2 dist-zip ::
868 @$(ECHO) ERROR: You must run $@ from $(BUILD_OBJ_ROOT)
869
870 DistTopCheck :=
871
872 else
873
874 DistTopCheck := check
875
876 dist-gzip: distdir
877 @$(ECHO) Packing gzipped distribution tar file.
878 $(VERB) $(TAR) chf - "$(TopDistDir)" | gzip -c > "$(DistTarGZip)"
879
880 dist-bzip2: distdir
881 @$(ECHO) Packing bzipped distribution tar file.
882 $(VERB) $(TAR) chf - $(DistName) | $(BZIP2) -c >$(DistTarBZ2)
883
884 dist-zip: distdir
885 @$(ECHO) Packing zipped distribution file.
886 $(VERB) rm -f $(DistZip)
887 $(VERB) $(ZIP) -rq $(DistZip) $(DistName)
888
889 dist :: distdir
890 @$(ECHO) Packing gzipped distribution tar file.
891 $(VERB) $(TAR) chf - $(DistName) | $(GZIP) -c >$(DistTarGZip)
892 @$(ECHO) Packing bzipped distribution tar file.
893 $(VERB) $(TAR) chf - $(DistName) | $(BZIP2) -c >$(DistTarBZ2)
894 @$(ECHO) Packing zipped distribution file.
895 $(VERB) rm -f $(DistZip)
896 $(VERB) $(ZIP) -rq $(DistZip) $(DistName)
897 @$(ECHO) ===== DISTRIBUTION PACKAGING SUCESSFUL =====
898
899 dist-check:: dist
900
901 dist-clean::
902 @$(ECHO) Cleaning distribution files
903 $(VERB) $(RM) -rf $(DistTarGZip) $(DistTarBZ2) $(DistZip) $(DistName)
904
905 endif
906
907 DistName := $(LLVM_TARBALL_NAME)
908 DistDir := $(BUILD_OBJ_ROOT)/$(DistName)
909 TopDistDir := $(DistDir)
910 DistTarGZip := $(BUILD_OBJ_ROOT)/$(DistName).tar.gz
911 DistZip := $(BUILD_OBJ_ROOT)/$(DistName).zip
912 DistTarBZ2 := $(BUILD_OBJ_ROOT)/$(DistName).tar.bz2
913 DistAlways := CREDITS.TXT LICENSE.TXT README.txt README AUTHORS COPYING \
914 ChangeLog INSTALL NEWS Makefile Makefile.common Makefile.rules \
915 Makefile.config.in
916 DistSources := $(filter-out projects,$(SOURCES) $(EXTRA_DIST))
917 DistSubDirs := $(filter-out projects,$(SUBDIRS))
918 DistFiles := $(DistAlways) $(DistSources)
919 RmDistDir := { test ! -d $(DistDir) || { \
920 find $(DistDir) -type d ! -perm -200 -exec chmod u+w {} ';' \
921 && rm -rf $(DistDir); }; }
922
923 distdir : $(DistTopCheck) $(DistSources)
924 @$(ECHO) Building Distribution Directory $(DistDir)
925 $(VERB) $(RmDistDir)
926 $(VERB) $(MKDIR) $(DistDir)
927 $(VERB) srcdirstrip=`echo "$(BUILD_SRC_DIR)" | sed 's|.|.|g'`; \
928 srcrootstrip=`echo "$(BUILD_SRC_ROOT)" | sed 's|.|.|g'`; \
929 for file in $(DistFiles) ; do \
930 case "$$file" in \
931 $(BUILD_SRC_DIR)/*) file=`echo "$$file" | sed "s#^$$srcdirstrip/##"`;; \
932 $(BUILD_SRC_ROOT)/*) file=`echo "$$file" | sed "s#^$srcrootstrip/#$(BUILD_OBJ_ROOT)/#"`;; \
933 esac; \
934 if test -f "$$file" || test -d "$$file" ; then \
935 from_dir=. ; \
936 else \
937 from_dir=$(BUILD_SRC_DIR); \
938 fi; \
939 to_dir=`echo "$$file" | sed -e 's#/[^/]*$$##'`; \
940 if test "$$to_dir" != "$$file" && test "$$to_dir" != "."; then \
941 to_dir="$(DistDir)/$$dir"; \
942 $(MKDIR) "$$to_dir" ; \
943 else \
944 to_dir="$(DistDir)"; \
945 fi; \
946 mid_dir=`echo "$$file" | sed -n -e 's#^\(.*\)/[^/]*$$#\1#p'`; \
947 if test -n "$$mid_dir" ; then \
948 $(MKDIR) "$$to_dir/$$mid_dir" ; \
949 fi ; \
950 if test -d "$$from_dir/$$file"; then \
951 if test -d "$(BUILD_SRC_DIR)/$$file" && \
952 test "$$from_dir" != "$(BUILD_SRC_DIR)" ; then \
953 cp -pR "$(BUILD_SRC_DIR)/$$file" "$$to_dir" || exit 1; \
954 fi; \
955 cp -pR $$from_dir/$$file $$to_dir || exit 1; \
956 elif test -f "$$from_dir/$$file" ; then \
957 cp -p "$$from_dir/$$file" "$(DistDir)/$$file" || exit 1; \
958 elif test -L "$$from_dir/$$file" ; then \
959 cp -pd "$$from_dir/$$file" $(DistDir)/$$file || exit 1; \
960 elif echo "$(DistAlways)" | grep -v "$$file" >/dev/null ; then \
961 $(ECHO) "===== WARNING: Distribution Source $$from_dir/$$file Not Found!" ; \
962 elif test "$(VERB)" != '@' ; then \
963 $(ECHO) "Skipping non-existent $$from_dir/$$file" ; \
964 fi; \
965 done
966 $(VERB) for subdir in $(SUBDIRS) ; do \
967 if test "$$subdir" \!= "." ; then \
968 test -d "$(DistDir)/$$subdir" || $(MKDIR) "$(DistDir)/$$subdir" || exit 1; \
969 new_distdir="$(DistDir)/$$subdir" ; \
970 ( cd $$subdir && $(MAKE) DistDir="$$new_distdir" distdir ) || exit 1; \
971 fi; \
972 done
973 $(VERB) $(MAKE) DistDir="$(DistDir)" dist-hook
974 -$(VERB) find $(DistDir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
975 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
976 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
977 ! -type d ! -perm -444 -exec $(SHELL) $(INSTALL_SH) -c -m a+r {} {} \; \
978 || chmod -R a+r $(DistDir)
979
980 dist-hook::
981
982
843983 endif
844984
845985 ###############################################################################
847987 ###############################################################################
848988
849989 ifeq ($(LEVEL),.)
850
851 #------------------------------------------------------------------------
852 # Handle construction of a distribution
853 dist:: preconditions
854 @$(ECHO) Target dist is not implemented yet
855
856 dist-check:: preconditions dist
857 @$(ECHO) Target dist-check is not implemented yet
858
859 dist-clean:: preconditions
860 @$(ECHO) Target dist-clean is not implemented yet
861990
862991 #------------------------------------------------------------------------
863992 # Install support for project's include files:
8841013 #------------------------------------------------------------------------
8851014 # Build tags database for Emacs/Xemacs:
8861015 #------------------------------------------------------------------------
887 TAGS: tags
888
889 tags::
1016 tags:: TAGS
1017
1018 TAGS:
8901019 find include lib tools examples -name '*.cpp' -o -name '*.h' | $(ETAGS) $(ETAGSFLAGS) -
8911020
892 dist-clean:: clean
893 $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \
894 $(LEVEL)/include/llvm/Config/config.h \
895 $(LEVEL)/autoconf/autom4te.cache \
896 $(LEVEL)/config.log \
897 $(LEVEL)/TAGS
8981021 endif
8991022
9001023 ###############################################################################
9231046 # deleted his unix kernel.
9241047 pony::
9251048 @wget -q \
926 http://search.cpan.org/src/ASAVIGE/Acme-EyeDrops-1.40/lib/Acme/EyeDrops/pony2.eye \
927 -O /tmp/resistor.pony
1049 http://search.cpan.org/src/ASAVIGE/Acme-EyeDrops-1.40/lib/Acme/EyeDrops/pony2.eye \
1050 -O /tmp/resistor.pony
9281051 @cat /tmp/resistor.pony
99 LEVEL = ..
1010 DIRS = Burg TableGen fpcmp
1111
12 EXTRA_DIST = check-each-file codegen-diff countloc.sh cvsupdate emacs \
13 getsrcs.sh llvmdo llvmgrep llvm-native-gcc llvm-native-gxx \
14 makellvm NightlyTest.gnuplot NightlyTest.pl \
15 NightlyTestTemplate.html profile.pl RegressionFinder.pl vim
16
1217 include $(LEVEL)/Makefile.common
1318