| 175 | * 新增Makefile.am |
| 176 | {{{ |
| 177 | #!text |
| 178 | bin_PROGRAMS=hello |
| 179 | hello_SOURCES=hello.c |
| 180 | }}} |
| 181 | * 執行 |
| 182 | {{{ |
| 183 | $ automake |
| 184 | configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found. |
| 185 | configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE, |
| 186 | configure.ac: that aclocal.m4 is present in the top-level directory, |
| 187 | configure.ac: and that aclocal.m4 was recently regenerated (using aclocal). |
| 188 | Makefile.am: required file `./INSTALL' not found |
| 189 | Makefile.am: `automake --add-missing' can install `INSTALL' |
| 190 | Makefile.am: required file `./NEWS' not found |
| 191 | Makefile.am: required file `./README' not found |
| 192 | Makefile.am: required file `./AUTHORS' not found |
| 193 | Makefile.am: required file `./ChangeLog' not found |
| 194 | Makefile.am: required file `./COPYING' not found |
| 195 | Makefile.am: `automake --add-missing' can install `COPYING' |
| 196 | Makefile.am: required file `./depcomp' not found |
| 197 | Makefile.am: `automake --add-missing' can install `depcomp' |
| 198 | /usr/local/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL |
| 199 | /usr/local/share/automake-1.11/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' |
| 200 | /usr/local/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. |
| 201 | /usr/local/share/automake-1.11/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL |
| 202 | /usr/local/share/automake-1.11/am/depend2.am: The usual way to define `AMDEP' is to add one of the compiler tests |
| 203 | /usr/local/share/automake-1.11/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, |
| 204 | /usr/local/share/automake-1.11/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC |
| 205 | /usr/local/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. |
| 206 | }}} |
| 207 | |
| 208 | * fix error |
| 209 | * done |