⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 todo

📁 LINUX下的源码工具,可自己分析,或者直接装在系统上作为应用
💻
📖 第 1 页 / 共 2 页
字号:
Right now, targets generated internally (eg "install") are notoverridable by user code.  This should probably be possible, eventhough it isn't very important.  This could be done by generating allinternal rules via a function call instead of just appending to$output_rules. [ this will be harder to implement when scanning a rule like all-recursive   from subdirs.am ]* Should be a way to have "nobuild_PROGRAMS" which aren't even built,  but which could be by running the magic make command.Other priorities:* Must rewrite am_install_var.  Should break into multiple functions.  This will allow the callers to be a little smarter.* Rewrite clean targets.* Must rewrite error handling code.  Right now it is a real mess  Should fix up require_file junk at the same timedjm wants ``LINKS'' variable; list of things to link together afterinstall.  In BSD environment, use:	LINKS = from1 to1 from2 to2 ...Need way to say there are no suffixes in a Makefile (Franc,ois'"override" idea suffices here)Check to make sure various scripts are executable (IE when looking forthem in a directory)Use recode in dist target when MAINT_CHARSET specified.  Read caveatsin automake.in before doing this.  Note the same problem used to applyto the no-dependencies option; maybe it still should?  Note also thateach Makefile.am must be rewritten at "make dist" time ifMAINT_CHARSET and DIST_CHARSET are not identical.  NOTE: gettext mustarrange for all .po files not to be recoded.  In the long term thismight be a problem (consider when some systems use Unicode but therest do not)  MAINT_CHARSET *must* be local to each Makefile.am, to enable	merged distributions.  DIST_CHARSET must be passed down to subdir makes during a "make dist"Handle dist-zoo.  Generally add more DOS support.  Maybe run "doschk"(why isn't this merged with "pathchk"?) when doing a dist.  Dowhatever else Fran鏾is says here...Add support for html via an option.  Use texi2html.  Use"html_TEXINFOS", and htmldir = .../html.  Include html files indistribution.  Also allow "html_DATA", for raw .html files.  [ when will texinfo directly support html? ]uninstall and pkg-dirs should rm -rf the dir.a potential bug: configure puts "blah.o" into LIBOBJS, thus implyingthese files can't be de-ansified.  Not a problem?  [ fix by using ansi2knr wrapper program ]In general most .am files should be merged into automake.  Forinstance all the "clean" targets could be merged by keeping lists ofthings to be removed.  This would be a lot nicer looking.  Note thatthe install targets probably should not be merged; it is sometimesuseful to only install a small part.Clean up the output:* Order rules sensibly* Ensure every line has a purpose.  Omit unused stuff* Eliminate extraneous rules when possible (eg 'install-am' stuff)* Make sure vertical spacing is correctOmit program transform vars from header if no program installed.  Thisis currently pretty hard to do.  (But with beautification code itwould probably be easy)Lex, yacc support:* It would be nice to automatically support using bison's better features  to rename the output files.  This requires autoconf support* Consider supporting syntax from autoconf "derived:source", eg:	y.tab.c:perly.y  for yacc and lex source* what if you use flex and the option to avoid -lfl?  should support this?Multi-language support:* should have mapping of file extensions to languages* should automatically handle the linking issue (special-case C++)* must get compile rules for various languages; FORTRAN probably  most important unimplemented languageThis should be integrated in some way with Per's idea.Eg .f.o rules should be recognized & auto-handled in _SOURCESThat way any random language can be treated with C/C++ on a first-classbasis (maybe)It might be cool to generate .texi dependencies by grepping for@include.  (If done, it should be done the same way C dependencies aredone)It would be good to check some parts of GNU standards.  Already checkfor install-sh and mkinstalldirs.  What else is required to be inpackage by GNU standards or by automake?Some things for --strictness=gnits:* "cd $(foo); something" is an error in a rule.  Should be:  "cd $(foo) && something"* Look for 'ln -s' and warn about using $(LN) and AC_PROG_LN_S* Look for $(LN) and require AC_PROG_LN_SAuto-distribute "ChangeLog.[0-9]+"?  "ChangeLog.[a-z]+"?Internationalize. [ gettext doesn't have the necessary machinery yet ]am_error should use printf-style arguments (for eventual gettext scheme)Fran鏾is says the ordering of files in a distribution should be as follows:* README* source files* derived filesI agree, but I don't see how to implement this yet.It might be easier if "derived files" is limited to those thatAutomake itself knows about, eg output of yacc.Check all source files to make sure that FSF address is up-to-date.--gnits or --gnu only.Merge each -vars.am file with corresponding ".am" file.  Can do thisbecause of changes to &file_contents.Should libexec programs have the name transform done on them?Order the output rules sensibly, so FOO_SOURCES and FOO_OBJECTS aretogether and rules are in the usual order.Make the output minimal: only output definitions for variables thatare used.djm says:David> To avoid comments like the one about subdirs getting buried inDavid> the middle of a Makefile.in, how about pushing comments thatDavid> start with ### to the top of the Makefile.in (in order)?  SortDavid> of like how Autoconf uses diversions to force initializationDavid> code to the top of configure.Karl Berry says:Karl> 2) Your Makefile variable names are generally uppercase, but GNUKarl> generally uses lowercase. Not that it matters :-).================================================================Stuff for aclocal:probably should put each group of m4 files into a subdir owned by thecontaining application.================================================================Document:AM_MISSING_PROGhow to use the generated makefiles - standard targets - required targets - NORMAL_INSTALL junkwhat goes in AC_CONFIG_AUX_DIRmulti-":" mode in AC_OUTPUT -- automake only looks at the first file    also a note on how a .am file is found in this caserationale for avoiding	make CFLAGS="$CFLAGS" ...in subdirs make rulea package that installs its own aclocal macroswrite example of using automake with dejagnufollow calc example in dejagnu docsdocument which variables are actually scanned and which are not.Document customary ordering of Makefile.am.  From Fran鏾is.Should include extended version of diagram from Autoconf (suggested byGreg Woods)Make a definition of the term "source"document how to use Automake with CVS.  Idea from Mark Galassi.  Alsoinclude Greg Woods' more sophisticated "cvs-dist" target.document rebuilding configure.  CONFIGURE_DEPENDENCIESCONFIG_STATUS_DEPENDENCIES-- must document all variables that are supposed   to be public knowledgemust document the targets required for integration withnon-automake-using subdirsdocument the "make SHELL='/bin/sh -x'" trick for debuggingsection on relationship to GNU make.  include notes on parallel makesadd a concept indexmove discussion of cygwin32, etags, mkid under other gnu toolsCCLD, CXXLD, FLD================================================================Things to do for gcc:Regularize dependency generation.  Add new flags:-MH   Generate a dummy dependency for each header file mentioned.-MT NAME      Set name of target-MF NAME      Set name of output fileThen automake can use -MD -MH -MT 'foo.o foo.lo' -MF .deps/...================================================================Things to do for autoconf:* patch autoreconf to run automake and aclocal.  I've done this but it is  not really available.  It can't be made available until automake  is officially released================================================================Libraries:* Should support standalone library along with subdir library in same  Makefile.am.  Maybe: turn off "standalone" mode if library's Makefile.am  is not only one specd? [ add an option for this ]================================================================Longer term:Would it be useful to integrate in some way with the Debian packagebuilding utility?  Must check.  maybe it would be possible to dealwith all the different package utilities somehow.  Lately I've beenhearing good things about the RedHat packaging utilities.  Why arethere so many of these?  Are they fun to write or something?The RedHat package utility is called RPM; see	ftp://ftp.redhat.com/pub/code/rpmIt actually has problems, like no configure script and no documentation.For Cygnus it would probably be good to be able to handle the nativepackage utility on each platform.  There are probably 3 or 4 of these(sysv, solaris?, aix?)tcl/unix/Makefile.in has some code to generate a Solaris package.Automake probably can't do all of this on its own.  A new tool mightbe a better ideaI have some notes from a Debian developer on how the integrationshould work================================================================A tool to guess what the local Makefile.am should look like:(see Gord's Maint program!)* Probably integrate with autoscan* Use various simple rules to determine what to do:  * get name of top directory, sans version info  * search for .c files with 'main' in them    * if in main.c, use directory name for program    * if in more than one, generate multiple programs    * if not found, generate a library named after directory  * order subdir searches correctly: lib first, src last  * assume 'testsuite' dir means we are using dejagnu* maybe be smart about reading existing Makefile.am, so tool  can be run for incremental changes?  You could imagine:	Makefile.am:		autoproject --incremental================================================================Stuff NOT to do, and why:consider auto-including any file that matches "*.in".  [ no: po/Makefile.in shouldn't be included ]must look at mkid to see how it works (for subdir usage)  [ right now, it doesn't.  i don't see a simple fix right now ]if configure.in not found, move up a directory and try again?  Thiscould eliminate a common source of problems.  [ this is just a bad idea ]* scripts are installed in $exec_prefix/bin, not $prefix/bin  Bug or feature?  [ the consensus on Gnits is that this isn't required.    doubters can work around it anyway ]* make the auto-dep code crash if GNU make not in use?  (doesn't it already?)Looked at a program called 'ezmake', which seems to do somethingsimilar.  The only idea there that is possibly worth stealing is usingglobs in definitions.  Also has negations.  Eg in a directory withfiles a.c, b.c and c.c, the line:	foo_SOURCES = *.c ~c.cwould be equivalent to:	foo_SOURCES = a.c b.cIs this worth implementing?  [ No... it is more reliable to spell everything out. ]Scan source directories and warn about missing files, eg .c/.h filesthat aren't mentioned?  [ distcheck makes this less useful ]* quoting bugs  - how to install file with a space in its name?  [ don't bother with this -- make is just too losing ]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -