X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile;h=0d7ca67397a25d3a80e163f0176a030020404bc2;hb=2a408413877ba5bcedc788dd679564dc5694678f;hp=fce18758af275cf48ef8547c37205352013af1d8;hpb=431c8767d996e6fd86ae4201ddf1101ac49b1be5;p=oota-llvm.git diff --git a/Makefile b/Makefile index fce18758af2..0d7ca67397a 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,11 @@ # #===------------------------------------------------------------------------===# LEVEL = . -DIRS = lib/Support utils lib tools +DIRS = lib/System lib/Support utils lib tools ifneq ($(MAKECMDGOALS),tools-only) DIRS += runtime -OPTIONAL_DIRS = projects +OPTIONAL_DIRS = examples projects endif include $(LEVEL)/Makefile.common @@ -19,34 +19,4 @@ include $(LEVEL)/Makefile.common test :: all cd test; $(MAKE) -distclean:: clean - $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \ - $(LEVEL)/include/Config/config.h \ - $(LEVEL)/autoconf/autom4te.cache \ - $(LEVEL)/config.log \ - $(LEVEL)/TAGS - tools-only: all - -# Install support for llvm include files: -.PHONY: install-includes - -install-includes: - $(MKDIR) $(DESTDIR)$(includedir)/llvm - cd include && find * -path '*/Internal' -prune -o '(' '!' '(' -name '*~' -o -name .cvsignore ')' -print ')' | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm -ifneq ($(BUILD_SRC_ROOT),$(BUILD_OBJ_ROOT)) - cd $(BUILD_SRC_ROOT)/include && find * -path '*/Internal' -prune -o '(' '!' '(' -name '*~' -o -name .cvsignore ')' -print ')' | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm -endif - -install:: install-includes - -# Build tags database for Emacs/Xemacs: -.PHONY: tags - -TAGS: tags - -all:: tags - -tags: - find $(wildcard $(SourceDir)/include $(SourceDir)/lib $(SourceDir)/tools) -name '*.cpp' -o -name '*.h' | $(ETAGS) $(ETAGSFLAGS) - -