X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2FTargets.make;h=1d7f67bb1cc6ef3be316f5069dc6f389c31ad767;hb=1cf3d59c1559fb9774c4c1c8cae155cfe54a927c;hp=0a5a87b61300f7dc8984f64844501a6740879da9;hpb=ce5315498fcaaf17d5eb1b320014e96defbb7dfb;p=lilypond.git diff --git a/make/Targets.make b/make/Targets.make index 0a5a87b613..1d7f67bb1c 100644 --- a/make/Targets.make +++ b/make/Targets.make @@ -1,235 +1,25 @@ -# -# project LilyPond -- the musical typesetter -# title generic make targets +# title package specific targets # file make/Targets.make -# -# Copyright (c) 1997 by -# Jan Nieuwenhuizen -# Han-Wen Nienhuys -.PHONY : all clean config default dist doc doc++ dummy exe help lib TAGS html\ - check-flower-deps check-lily-deps check-doc-deps -# target all: -# -all: default -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i all; done -endif +check-dist-deps: + false -# +check-html-deps: + false + $(MAKE) -C $(depth)/Documentation html -# platform specific variables, -# -include ./$(depth)/make/out/Site.make -# -# where to do this ? -.PRECIOUS: $(makeout)/Site.make +check-mf-deps: + false + $(MAKE) -C $(depth)/mf -# dependency list of executable: -# +check-texinfo-deps: + false + $(MAKE) -C $(depth)/Documentation texinfo + $(MAKE) -C $(depth)/Documentation/man texinfo -$(EXECUTABLE): $(build) $(OFILES) - $(MAKE) $(MODULE_LIBDEPS) - $(INCREASE_BUILD) - $(MAKE) -S $(OFILES) $(SILENT_LOG) -ifdef STABLEOBS - $(DO_STRIP) $(STABLEOBS) -endif - $(LD_COMMAND) $(OFILES) $(LOADLIBES) +# urg! +$(configheader): $(depth)/$(configuration).hh + cp $< $@ -exe: $(EXECUTABLE) -# - -$(build): $(depth)/.version - echo 0 > $@ - -# dependency list of library: -# -LIBRARY = $(outdir)/$(LIB_PREFIX)$(NAME).a -$(LIBRARY): $(build) $(OFILES) - $(INCREASE_BUILD) - $(MAKE) $(OFILES) $(SILENT_LOG) - $(AR_COMMAND) $(OFILES) - $(RANLIB_COMMAND) - -SHAREDLIBRARY=$(outdir)/$(LIB_PREFIX)$(NAME).so -$(SHAREDLIBRARY): $(build) $(OFILES) $(MODULE_LIBDEPS) - $(INCREASE_BUILD) - $(MAKE) $(OFILES) $(SILENT_LOG) - $(LD_COMMAND) $(OFILES) -o $@ -# ln -sf $(outdir)/$(LIB_PREFIX)$(NAME).so.$(VERSION) $(outdir)/$(LIB_PREFIX)$(NAME).so -# -lib: $(LIBRARY) -# -TOCLEAN= $(allobs) $(alldeps) - -# be careful about deletion. -clean: localclean - rm -f core -ifdef EXECUTABLE - rm -f $(EXECUTABLE) -endif -ifdef allobs - rm -f $(allobs) -endif -ifdef alldeps - rm -f $(alldeps) -endif -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done -endif - -distclean: localdistclean -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i localdistclean; done -endif - -localdistclean: - - -# configure: -# -config: - ./$(depth)/configure -# - -# dummydeps: -# -dummydep: $(DUMMYDEPS) -# - -# value of $(OSTYPE) on windhoos; "make $OSTYPE" if you use bash :-) -# -win32: - $(MAKE) -C . CXX=g++ -# - -# xcompile to doze: -# -doze: dos -dos: - $(MAKE) -C . CXX="gcc-go32 -I/usr/i386-go32/include -I/usr/i386-go32/include/g++ -D_WIN32 -Dcaddr_t=char* -DMAP_SHARED=0" -# - -# target help: -# -help: - @echo "Usage:" - @echo " $(MAKE) ["VARIABLE=value" ...] [target]" - @echo - @echo "targets:" - @echo " all clean config dist distclean doc doc++" - @echo " exe help lib moduledist TAGS" - @echo " dos: xcomplile to dos" - @echo " win32: native cygnus-win32 compile" -# - -doc: - $(MAKE) -C $(depth)/Documentation do-doc - -# doc++ documentation of classes -doc++: $(progdocs) - doc++ -k -p -d $(DOCDIR) $^ - -dist: - -mkdir $(distdir) - $(MAKE) localdist - chmod -Rf a+rX $(distdir) - - (cd ./$(depth); tar cfz $(DIST_NAME).tar.gz $(DIST_NAME)) -# should be trapped - rm -rf $(distdir)/ - -localdist: $(DISTFILES) - if [ -d out ]; then mkdir $(distdir)/$(localdir)/out; fi - ln $(DISTFILES) $(distdir)/$(localdir) -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do mkdir $(distdir)/$(localdir)/$$i; \ - $(MAKE) localdir=$(localdir)/$$i -C $$i localdist; done -endif - -moduledist: - -mkdir $(module-distdir) - $(MAKE) localmoduledist - (cd ./$(depth); tar cfz $(MODULE_DIST_NAME).tar.gz $(MODULE_DIST_NAME)) - rm -rf $(module-distdir)/ - -localmoduledist: - ln $(DISTFILES) $(module-distdir)/$(localdir) -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do mkdir $(module-distdir)/$(localdir)/$$i; done - set -e; for i in $(SUBDIRS); do $(MAKE) localdir=$(localdir)/$$i -C $$i localmoduledist; done -endif - -TAGS:$(all-tag-sources) -ifdef all-tag-sources - -etags -CT $(all-tag-sources) /dev/null -endif -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i TAGS ; done -endif - - -# version stuff: -# - -$(outdir)/version.hh: .version - ./$(lily_bindir)/make_version > $@ - - -# should this be in Rules? -configure: configure.in - autoconf - < $<> $@ - chmod +x configure - -localclean: - - -install: localinstall -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install; done -endif - -localinstall: - -uninstall: localuninstall -ifdef SUBDIRS - set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i uninstall; done -endif - -localuninstall: - -# specific stuff: -# -$(LIBFLOWER): check-flower-deps - -check-flower-deps: - $(MAKE) -C $(depth)/flower/ default - -check-lily-deps: check-flower-deps - $(MAKE) -C $(depth)/lib - -check-doc-deps: - $(MAKE) -C $(depth)/Documentation - -$(LIBLILY): dummy - $(MAKE) ./$(outdir)/$(@F) -C $(depth)/lib -# - -# RedHat rpm package: -# -rpm: - -cp $(depth)/lilypond-$(TOPLEVEL_VERSION).tar.gz $(rpm-sources) - -cp $(doc-dir)/*.gif $(rpm-sources) - $(MAKE) -C $(make-dir) spec - rpm -ba $(makeout)/lilypond.spec -# - -installexe: - $(INSTALL) -d $(bindir) - $(INSTALL) -m 755 $(EXECUTABLES) $(bindir) - -uninstallexe: - for a in $(EXECUTABLES); do rm -f $(bindir)/`basename $a`; done