GNU Automake --version
GNU:找不到命令
fpxyy@ubuntu:~$ Automake --version
未找到 'Automake' 命令,您要输入的是否是:
命令 'automake' 来自于包 'automake1.10' (main)
命令 'automake' 来自于包 'automake' (main)
命令 'automake' 来自于包 'automake1.4' (main)
命令 'automake' 来自于包 'automake1.9' (main)
命令 'automake' 来自于包 'automake1.7' (universe)
Automake:找不到命令
fpxyy@ubuntu:~$ automake --version
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
fpxyy@ubuntu:~$ autoconf --version
autoconf (GNU Autoconf) 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
fpxyy@ubuntu:~$ GNU m4 --version
GNU:找不到命令
fpxyy@ubuntu:~$ m4 --version
m4 (GNU M4) 1.4.13
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Rene' Seindal.
fpxyy@ubuntu:~$ perl version
Can't open perl script "version": 没有那个文件或目录
fpxyy@ubuntu:~$ perl
q
^C
fpxyy@ubuntu:~$ which perl
/usr/bin/perl
fpxyy@ubuntu:~$ Libtool --version
未找到 'Libtool' 命令,您要输入的是否是:
命令 'bibtool' 来自于包 'bibtool' (universe)
命令 'libtool' 来自于包 'libtool' (main)
Libtool:找不到命令
fpxyy@ubuntu:~$ libtool --version
ltmain.sh (GNU libtool) 2.2.6b
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
fpxyy@ubuntu:~$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
fpxyy@ubuntu:~$ gdb --version
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
fpxyy@ubuntu:~$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
这个程序创建为 i486-pc-linux-gnu
fpxyy@ubuntu:~$ pwd
/home/fpxyy
fpxyy@ubuntu:~$ cd FpxCosmos/
fpxyy@ubuntu:~/FpxCosmos$ cd workstudio/Current/
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current$ ls
data OFA-P3 QTFpx 部项目申请-Feb
FpxYYLeopardMoutainSnowPlatformV0_01 ProStudio TCDS-Feb
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current$ ls -lha
总用量 36K
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 .
drwx------ 4 fpxyy fpxyy 4.0K 2012-03-29 21:59 ..
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-03-17 16:52 data
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-01 17:36 FpxYYLeopardMoutainSnowPlatformV0_01
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-03-26 21:41 OFA-P3
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 ProStudio
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-03-09 08:25 QTFpx
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-02-16 17:01 TCDS-Feb
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-01-31 22:46 部项目申请-Feb
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current$ cd ProStudio/
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 24K
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-23 12:11 fpxautomake1
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake$ ls
aclocal.m4 config.h.in configure.scan main.o mytool1.h README
AUTHORS config.log COPYING Makefile mytool1.o stamp-h1
autom4te.cache config.status depcomp Makefile.am mytool2.c
autoscan.log configure INSTALL Makefile.in mytool2.h
ChangeLog configure.ac install-sh missing mytool2.o
config.h configure.ac~ main.c mytool1.c NEWS
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 24K
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-23 12:11 fpxautomake1
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ mkdir devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ ls
Automake,Autoconf生成Makefile.pdf devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ cd devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ mkdir hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ ls
hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ cd heool
bash: cd: heool: 没有那个文件或目录
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ ls
hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ cd hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ emacs hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ autoscan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls
autoscan.log configure.scan hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ cp configure.scan configure.in
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls
autoscan.log configure.in configure.scan hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ emacs configure.scan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls -lha
总用量 24K
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 16:31 .
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 ..
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 16:26 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.in
-rw-r--r-- 1 fpxyy fpxyy 723 2012-04-25 16:31 configure.scan
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.scan~
-rw-r--r-- 1 fpxyy fpxyy 93 2012-04-25 16:24 hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ aclocal
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls -lha
总用量 28K
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:32 .
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 ..
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 16:32 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 16:26 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.in
-rw-r--r-- 1 fpxyy fpxyy 723 2012-04-25 16:31 configure.scan
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.scan~
-rw-r--r-- 1 fpxyy fpxyy 93 2012-04-25 16:24 hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ Autoconf
未找到 'Autoconf' 命令,您要输入的是否是:
命令 'autoconf' 来自于包 'autoconf' (main)
命令 'autoconf' 来自于包 'autoconf2.13' (main)
Autoconf:找不到命令
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls -lha
总用量 132K
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:32 .
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 ..
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 16:32 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 16:26 autoscan.log
-rwxr-xr-x 1 fpxyy fpxyy 101K 2012-04-25 16:32 configure
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.in
-rw-r--r-- 1 fpxyy fpxyy 723 2012-04-25 16:31 configure.scan
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.scan~
-rw-r--r-- 1 fpxyy fpxyy 93 2012-04-25 16:24 hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ emacs Makefile.am
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ Automake --add-missing
未找到 'Automake' 命令,您要输入的是否是:
命令 'automake' 来自于包 'automake1.10' (main)
命令 'automake' 来自于包 'automake' (main)
命令 'automake' 来自于包 'automake1.4' (main)
命令 'automake' 来自于包 'automake1.9' (main)
命令 'automake' 来自于包 'automake1.7' (universe)
Automake:找不到命令
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ automake --add-missing
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake: no `Makefile.am' found for any configure output
automake: Did you forget AC_CONFIG_FILES([Makefile]) in configure.in?
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ ls
Automake,Autoconf生成Makefile.pdf devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 24K
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 fpxautomake1
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ mkdir fpxautomake2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomake2 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool1.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
mytool1.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
mytool1.h mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool1.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool2.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs main.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoscan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
autoscan.log configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs configure.scan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
autoscan.log configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ cp configure.scan configure.ac
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs configure.ac
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ aclocal
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache autoscan.log configure.ac configure.ac~ configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs configure.ac
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache autoscan.log configure configure.ac configure.ac~ configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoheader
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autoscan.log configure configure.ac~ main.c mytool1.h mytool2.h
autom4te.cache config.h.in configure.ac configure.scan mytool1.c mytool2.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autoscan.log configure configure.ac~ main.c mytool1.h mytool2.h
autom4te.cache config.h.in configure.ac configure.scan mytool1.c mytool2.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs Makefile.am
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ touch NEWS README AUTHORS ChangeLog
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache ChangeLog configure configure.ac~ main.c mytool1.c mytool2.c NEWS
AUTHORS autoscan.log config.h.in configure.ac configure.scan Makefile.am mytool1.h mytool2.h README
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ automake --add-missing
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING' using GNU General Public License v3 file
Makefile.am: Consider adding the COPYING file to the version control system
Makefile.am: for your code, to avoid questions about which license your project uses.
Makefile.am: installing `./depcomp'
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache ChangeLog configure configure.ac~ COPYING INSTALL main.c Makefile.in mytool1.c mytool2.c NEWS
AUTHORS autoscan.log config.h.in configure.ac configure.scan depcomp install-sh Makefile.am missing mytool1.h mytool2.h README
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autoscan.log config.h.in configure configure.scan INSTALL Makefile missing mytool2.c README
AUTHORS ChangeLog config.log configure.ac COPYING install-sh Makefile.am mytool1.c mytool2.h stamp-h1
autom4te.cache config.h config.status configure.ac~ depcomp main.c Makefile.in mytool1.h NEWS
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ make
make all-am
make[1]: 正在进入目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT mytool1.o -MD -MP -MF .deps/mytool1.Tpo -c -o mytool1.o mytool1.c
mv -f .deps/mytool1.Tpo .deps/mytool1.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT mytool2.o -MD -MP -MF .deps/mytool2.Tpo -c -o mytool2.o mytool2.c
mv -f .deps/mytool2.Tpo .deps/mytool2.Po
gcc -g -O2 -o mytool main.o mytool1.o mytool2.o
main.o: In function `main':
/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2/main.c:5: undefined reference to `mytool1_print'
collect2: ld returned 1 exit status
make[1]: *** [mytool] 错误 1
make[1]:正在离开目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2'
make: *** [all] 错误 2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomake2 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 28K
drwxr-xr-x 7 fpxyy fpxyy 4.0K 2012-04-25 16:53 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 fpxautomake1
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:21 fpxautomake2
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ mkdir fpxautomake3
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomake2 fpxautomake3 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 32K
drwxr-xr-x 8 fpxyy fpxyy 4.0K 2012-04-25 17:32 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 fpxautomake1
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:21 fpxautomake2
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:32 fpxautomake3
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake3
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ autoscan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
autoscan.log configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ cp configure.scan configure.in
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
autoscan.log configure.in configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs configure.in
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ aclocal
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autom4te.cache autoscan.log configure.in configure.in~ configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ autoheader
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autom4te.cache autoscan.log config.h.in configure configure.in configure.in~ configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs Makefile.am
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ automake --add-missing
configure.in:6: installing `./install-sh'
configure.in:6: installing `./missing'
Makefile.am: installing `./depcomp'
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autoscan.log config.h.in config.status configure.in configure.scan helloworld.c Makefile Makefile.in stamp-h1
autom4te.cache config.h config.log configure configure.in~ depcomp install-sh Makefile.am missing
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ cat Makefile
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
pkgdatadir = $(datadir)/helloworld
pkgincludedir = $(includedir)/helloworld
pkglibdir = $(libdir)/helloworld
pkglibexecdir = $(libexecdir)/helloworld
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
bin_PROGRAMS = helloworld$(EXEEXT)
subdir = .
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/configure depcomp install-sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
PROGRAMS = $(bin_PROGRAMS)
am_helloworld_OBJECTS = helloworld.$(OBJEXT)
helloworld_OBJECTS = $(am_helloworld_OBJECTS)
helloworld_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I.
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(helloworld_SOURCES)
DIST_SOURCES = $(helloworld_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d "$(distdir)" \
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr "$(distdir)"; }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run tar
AUTOCONF = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run autoconf
AUTOHEADER = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run autoheader
AUTOMAKE = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run automake-1.11
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
CPP = gcc -E
CPPFLAGS =
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EXEEXT =
GREP = /bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LDFLAGS =
LIBOBJS =
LIBS =
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
OBJEXT = o
PACKAGE = helloworld
PACKAGE_BUGREPORT =
PACKAGE_NAME =
PACKAGE_STRING =
PACKAGE_TARNAME =
PACKAGE_URL =
PACKAGE_VERSION =
PATH_SEPARATOR = :
SET_MAKE =
SHELL = /bin/sh
STRIP =
VERSION = 1.0
abs_builddir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
abs_srcdir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
abs_top_builddir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
abs_top_srcdir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
ac_ct_CC = gcc
am__include = include
am__leading_dot = .
am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build_alias =
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
host_alias =
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target_alias =
top_build_prefix =
top_builddir = .
top_srcdir = .
AUTOMAKE_OPTIONS = foreign
helloworld_SOURCES = helloworld.c
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
.SUFFIXES: .c .o .obj
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
config.h: stamp-h1
@if test ! -f $@; then \
rm -f stamp-h1; \
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
else :; fi
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: $(am__configure_deps)
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p; \
then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
helloworld$(EXEEXT): $(helloworld_OBJECTS) $(helloworld_DEPENDENCIES)
@rm -f helloworld$(EXEEXT)
$(LINK) $(helloworld_OBJECTS) $(helloworld_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
include ./$(DEPDIR)/helloworld.Po
.c.o:
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c $<
.c.obj:
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c `$(CYGPATH_W) '$<'`
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-lzma: distdir
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
$(am__remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
$(am__remove_distdir)
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lzma*) \
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@$(am__cd) '$(distuninstallcheck_dir)' \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) config.h
installdirs:
for dir in "$(DESTDIR)$(bindir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-hdr distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-binPROGRAMS
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS
.MAKE: all install-am install-strip
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
distcheck distclean distclean-compile distclean-generic \
distclean-hdr distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-binPROGRAMS install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
uninstall-am uninstall-binPROGRAMS
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ make
make all-am
make[1]: 正在进入目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT helloworld.o -MD -MP -MF .deps/helloworld.Tpo -c -o helloworld.o helloworld.c
helloworld.c: In function ‘main’:
helloworld.c:10: error: ‘amp’ undeclared (first use in this function)
helloworld.c:10: error: (Each undeclared identifier is reported only once
helloworld.c:10: error: for each function it appears in.)
helloworld.c:10: error: expected ‘)’ before ‘;’ token
helloworld.c:10: error: too few arguments to function ‘gettimeofday’
make[1]: *** [helloworld.o] 错误 1
make[1]:正在离开目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
make: *** [all] 错误 2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ make
make all-am
make[1]: 正在进入目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT helloworld.o -MD -MP -MF .deps/helloworld.Tpo -c -o helloworld.o helloworld.c
mv -f .deps/helloworld.Tpo .deps/helloworld.Po
gcc -g -O2 -o helloworld helloworld.o
make[1]:正在离开目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls -lha
总用量 356K
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:44 .
drwxr-xr-x 8 fpxyy fpxyy 4.0K 2012-04-25 17:32 ..
-rw-r--r-- 1 fpxyy fpxyy 34K 2012-04-25 17:40 aclocal.m4
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:41 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 17:38 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 1.8K 2012-04-25 17:42 config.h
-rw-r--r-- 1 fpxyy fpxyy 1.6K 2012-04-25 17:41 config.h.in
-rw-r--r-- 1 fpxyy fpxyy 12K 2012-04-25 17:42 config.log
-rwxr-xr-x 1 fpxyy fpxyy 33K 2012-04-25 17:42 config.status
-rwxr-xr-x 1 fpxyy fpxyy 157K 2012-04-25 17:41 configure
-rw-r--r-- 1 fpxyy fpxyy 555 2012-04-25 17:40 configure.in
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.in~
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.scan
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 depcomp -> /usr/share/automake-1.11/depcomp
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:44 .deps
-rwxr-xr-x 1 fpxyy fpxyy 9.6K 2012-04-25 17:44 helloworld
-rw-r--r-- 1 fpxyy fpxyy 159 2012-04-25 17:44 helloworld.c
-rw-r--r-- 1 fpxyy fpxyy 282 2012-04-25 17:37 helloworld.c~
-rw-r--r-- 1 fpxyy fpxyy 4.3K 2012-04-25 17:44 helloworld.o
lrwxrwxrwx 1 fpxyy fpxyy 35 2012-04-25 17:42 install-sh -> /usr/share/automake-1.11/install-sh
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile
-rw-r--r-- 1 fpxyy fpxyy 80 2012-04-25 17:41 Makefile.am
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile.in
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 missing -> /usr/share/automake-1.11/missing
-rw-r--r-- 1 fpxyy fpxyy 23 2012-04-25 17:42 stamp-h1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ./helloworld
hello word!
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autoscan.log config.h.in config.status configure.in configure.scan helloworld helloworld.c~ install-sh Makefile.am missing
autom4te.cache config.h config.log configure configure.in~ depcomp helloworld.c helloworld.o Makefile Makefile.in stamp-h1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls -lha
总用量 356K
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:44 .
drwxr-xr-x 8 fpxyy fpxyy 4.0K 2012-04-25 17:32 ..
-rw-r--r-- 1 fpxyy fpxyy 34K 2012-04-25 17:40 aclocal.m4
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:41 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 17:38 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 1.8K 2012-04-25 17:42 config.h
-rw-r--r-- 1 fpxyy fpxyy 1.6K 2012-04-25 17:41 config.h.in
-rw-r--r-- 1 fpxyy fpxyy 12K 2012-04-25 17:42 config.log
-rwxr-xr-x 1 fpxyy fpxyy 33K 2012-04-25 17:42 config.status
-rwxr-xr-x 1 fpxyy fpxyy 157K 2012-04-25 17:41 configure
-rw-r--r-- 1 fpxyy fpxyy 555 2012-04-25 17:40 configure.in
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.in~
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.scan
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 depcomp -> /usr/share/automake-1.11/depcomp
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:44 .deps
-rwxr-xr-x 1 fpxyy fpxyy 9.6K 2012-04-25 17:44 helloworld
-rw-r--r-- 1 fpxyy fpxyy 159 2012-04-25 17:44 helloworld.c
-rw-r--r-- 1 fpxyy fpxyy 282 2012-04-25 17:37 helloworld.c~
-rw-r--r-- 1 fpxyy fpxyy 4.3K 2012-04-25 17:44 helloworld.o
lrwxrwxrwx 1 fpxyy fpxyy 35 2012-04-25 17:42 install-sh -> /usr/share/automake-1.11/install-sh
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile
-rw-r--r-- 1 fpxyy fpxyy 80 2012-04-25 17:41 Makefile.am
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile.in
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 missing -> /usr/share/automake-1.11/missing
-rw-r--r-- 1 fpxyy fpxyy 23 2012-04-25 17:42 stamp-h1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$
GNU:找不到命令
fpxyy@ubuntu:~$ Automake --version
未找到 'Automake' 命令,您要输入的是否是:
命令 'automake' 来自于包 'automake1.10' (main)
命令 'automake' 来自于包 'automake' (main)
命令 'automake' 来自于包 'automake1.4' (main)
命令 'automake' 来自于包 'automake1.9' (main)
命令 'automake' 来自于包 'automake1.7' (universe)
Automake:找不到命令
fpxyy@ubuntu:~$ automake --version
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
fpxyy@ubuntu:~$ autoconf --version
autoconf (GNU Autoconf) 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
fpxyy@ubuntu:~$ GNU m4 --version
GNU:找不到命令
fpxyy@ubuntu:~$ m4 --version
m4 (GNU M4) 1.4.13
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Rene' Seindal.
fpxyy@ubuntu:~$ perl version
Can't open perl script "version": 没有那个文件或目录
fpxyy@ubuntu:~$ perl
q
^C
fpxyy@ubuntu:~$ which perl
/usr/bin/perl
fpxyy@ubuntu:~$ Libtool --version
未找到 'Libtool' 命令,您要输入的是否是:
命令 'bibtool' 来自于包 'bibtool' (universe)
命令 'libtool' 来自于包 'libtool' (main)
Libtool:找不到命令
fpxyy@ubuntu:~$ libtool --version
ltmain.sh (GNU libtool) 2.2.6b
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
fpxyy@ubuntu:~$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
fpxyy@ubuntu:~$ gdb --version
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
fpxyy@ubuntu:~$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
这个程序创建为 i486-pc-linux-gnu
fpxyy@ubuntu:~$ pwd
/home/fpxyy
fpxyy@ubuntu:~$ cd FpxCosmos/
fpxyy@ubuntu:~/FpxCosmos$ cd workstudio/Current/
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current$ ls
data OFA-P3 QTFpx 部项目申请-Feb
FpxYYLeopardMoutainSnowPlatformV0_01 ProStudio TCDS-Feb
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current$ ls -lha
总用量 36K
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 .
drwx------ 4 fpxyy fpxyy 4.0K 2012-03-29 21:59 ..
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-03-17 16:52 data
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-01 17:36 FpxYYLeopardMoutainSnowPlatformV0_01
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-03-26 21:41 OFA-P3
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 ProStudio
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-03-09 08:25 QTFpx
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-02-16 17:01 TCDS-Feb
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-01-31 22:46 部项目申请-Feb
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current$ cd ProStudio/
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 24K
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-23 12:11 fpxautomake1
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake$ ls
aclocal.m4 config.h.in configure.scan main.o mytool1.h README
AUTHORS config.log COPYING Makefile mytool1.o stamp-h1
autom4te.cache config.status depcomp Makefile.am mytool2.c
autoscan.log configure INSTALL Makefile.in mytool2.h
ChangeLog configure.ac install-sh missing mytool2.o
config.h configure.ac~ main.c mytool1.c NEWS
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 24K
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-23 12:11 fpxautomake1
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ mkdir devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ ls
Automake,Autoconf生成Makefile.pdf devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ cd devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ mkdir hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ ls
hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ cd heool
bash: cd: heool: 没有那个文件或目录
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ ls
hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ cd hello
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ emacs hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ autoscan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls
autoscan.log configure.scan hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ cp configure.scan configure.in
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls
autoscan.log configure.in configure.scan hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ emacs configure.scan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls -lha
总用量 24K
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 16:31 .
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 ..
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 16:26 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.in
-rw-r--r-- 1 fpxyy fpxyy 723 2012-04-25 16:31 configure.scan
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.scan~
-rw-r--r-- 1 fpxyy fpxyy 93 2012-04-25 16:24 hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ aclocal
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls -lha
总用量 28K
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:32 .
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 ..
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 16:32 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 16:26 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.in
-rw-r--r-- 1 fpxyy fpxyy 723 2012-04-25 16:31 configure.scan
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.scan~
-rw-r--r-- 1 fpxyy fpxyy 93 2012-04-25 16:24 hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ Autoconf
未找到 'Autoconf' 命令,您要输入的是否是:
命令 'autoconf' 来自于包 'autoconf' (main)
命令 'autoconf' 来自于包 'autoconf2.13' (main)
Autoconf:找不到命令
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ ls -lha
总用量 132K
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:32 .
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 ..
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 16:32 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 16:26 autoscan.log
-rwxr-xr-x 1 fpxyy fpxyy 101K 2012-04-25 16:32 configure
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.in
-rw-r--r-- 1 fpxyy fpxyy 723 2012-04-25 16:31 configure.scan
-rw-r--r-- 1 fpxyy fpxyy 467 2012-04-25 16:26 configure.scan~
-rw-r--r-- 1 fpxyy fpxyy 93 2012-04-25 16:24 hello.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ emacs Makefile.am
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ Automake --add-missing
未找到 'Automake' 命令,您要输入的是否是:
命令 'automake' 来自于包 'automake1.10' (main)
命令 'automake' 来自于包 'automake' (main)
命令 'automake' 来自于包 'automake1.4' (main)
命令 'automake' 来自于包 'automake1.9' (main)
命令 'automake' 来自于包 'automake1.7' (universe)
Automake:找不到命令
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ automake --add-missing
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake: no `Makefile.am' found for any configure output
automake: Did you forget AC_CONFIG_FILES([Makefile]) in configure.in?
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel/hello$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1/devel$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ ls
Automake,Autoconf生成Makefile.pdf devel
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake1$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 24K
drwxr-xr-x 6 fpxyy fpxyy 4.0K 2012-04-23 12:11 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 fpxautomake1
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ mkdir fpxautomake2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomake2 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool1.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
mytool1.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
mytool1.h mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool1.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs mytool2.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs main.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoscan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
autoscan.log configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs configure.scan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
autoscan.log configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ cp configure.scan configure.ac
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs configure.ac
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ aclocal
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache autoscan.log configure.ac configure.ac~ configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs configure.ac
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache autoscan.log configure configure.ac configure.ac~ configure.scan main.c mytool1.c mytool1.h mytool2.c mytool2.h
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoheader
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autoscan.log configure configure.ac~ main.c mytool1.h mytool2.h
autom4te.cache config.h.in configure.ac configure.scan mytool1.c mytool2.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autoscan.log configure configure.ac~ main.c mytool1.h mytool2.h
autom4te.cache config.h.in configure.ac configure.scan mytool1.c mytool2.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ emacs Makefile.am
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ touch NEWS README AUTHORS ChangeLog
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache ChangeLog configure configure.ac~ main.c mytool1.c mytool2.c NEWS
AUTHORS autoscan.log config.h.in configure.ac configure.scan Makefile.am mytool1.h mytool2.h README
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ automake --add-missing
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING' using GNU General Public License v3 file
Makefile.am: Consider adding the COPYING file to the version control system
Makefile.am: for your code, to avoid questions about which license your project uses.
Makefile.am: installing `./depcomp'
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autom4te.cache ChangeLog configure configure.ac~ COPYING INSTALL main.c Makefile.in mytool1.c mytool2.c NEWS
AUTHORS autoscan.log config.h.in configure.ac configure.scan depcomp install-sh Makefile.am missing mytool1.h mytool2.h README
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ ls
aclocal.m4 autoscan.log config.h.in configure configure.scan INSTALL Makefile missing mytool2.c README
AUTHORS ChangeLog config.log configure.ac COPYING install-sh Makefile.am mytool1.c mytool2.h stamp-h1
autom4te.cache config.h config.status configure.ac~ depcomp main.c Makefile.in mytool1.h NEWS
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ make
make all-am
make[1]: 正在进入目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT mytool1.o -MD -MP -MF .deps/mytool1.Tpo -c -o mytool1.o mytool1.c
mv -f .deps/mytool1.Tpo .deps/mytool1.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT mytool2.o -MD -MP -MF .deps/mytool2.Tpo -c -o mytool2.o mytool2.c
mv -f .deps/mytool2.Tpo .deps/mytool2.Po
gcc -g -O2 -o mytool main.o mytool1.o mytool2.o
main.o: In function `main':
/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2/main.c:5: undefined reference to `mytool1_print'
collect2: ld returned 1 exit status
make[1]: *** [mytool] 错误 1
make[1]:正在离开目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2'
make: *** [all] 错误 2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake2$ cd ..
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomake2 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 28K
drwxr-xr-x 7 fpxyy fpxyy 4.0K 2012-04-25 16:53 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 fpxautomake1
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:21 fpxautomake2
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ mkdir fpxautomake3
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls
fpxautomake fpxautomake1 fpxautomake2 fpxautomake3 fpxautomakelearn projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ ls -lha
总用量 32K
drwxr-xr-x 8 fpxyy fpxyy 4.0K 2012-04-25 17:32 .
drwx------ 9 fpxyy fpxyy 4.0K 2012-04-20 14:28 ..
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-23 10:57 fpxautomake
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-25 16:23 fpxautomake1
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:21 fpxautomake2
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:32 fpxautomake3
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-23 10:11 fpxautomakelearn
drwxr-xr-x 3 fpxyy fpxyy 4.0K 2012-04-20 14:28 projects
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio$ cd fpxautomake3
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ autoscan
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
autoscan.log configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ cp configure.scan configure.in
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
autoscan.log configure.in configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs configure.in
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ aclocal
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autom4te.cache autoscan.log configure.in configure.in~ configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ autoconf
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ autoheader
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autom4te.cache autoscan.log config.h.in configure configure.in configure.in~ configure.scan helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs Makefile.am
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ automake --add-missing
configure.in:6: installing `./install-sh'
configure.in:6: installing `./missing'
Makefile.am: installing `./depcomp'
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autoscan.log config.h.in config.status configure.in configure.scan helloworld.c Makefile Makefile.in stamp-h1
autom4te.cache config.h config.log configure configure.in~ depcomp install-sh Makefile.am missing
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ cat Makefile
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
pkgdatadir = $(datadir)/helloworld
pkgincludedir = $(includedir)/helloworld
pkglibdir = $(libdir)/helloworld
pkglibexecdir = $(libexecdir)/helloworld
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
bin_PROGRAMS = helloworld$(EXEEXT)
subdir = .
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/configure depcomp install-sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
PROGRAMS = $(bin_PROGRAMS)
am_helloworld_OBJECTS = helloworld.$(OBJEXT)
helloworld_OBJECTS = $(am_helloworld_OBJECTS)
helloworld_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I.
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(helloworld_SOURCES)
DIST_SOURCES = $(helloworld_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d "$(distdir)" \
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr "$(distdir)"; }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run tar
AUTOCONF = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run autoconf
AUTOHEADER = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run autoheader
AUTOMAKE = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run automake-1.11
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
CPP = gcc -E
CPPFLAGS =
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EXEEXT =
GREP = /bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LDFLAGS =
LIBOBJS =
LIBS =
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
OBJEXT = o
PACKAGE = helloworld
PACKAGE_BUGREPORT =
PACKAGE_NAME =
PACKAGE_STRING =
PACKAGE_TARNAME =
PACKAGE_URL =
PACKAGE_VERSION =
PATH_SEPARATOR = :
SET_MAKE =
SHELL = /bin/sh
STRIP =
VERSION = 1.0
abs_builddir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
abs_srcdir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
abs_top_builddir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
abs_top_srcdir = /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3
ac_ct_CC = gcc
am__include = include
am__leading_dot = .
am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build_alias =
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
host_alias =
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target_alias =
top_build_prefix =
top_builddir = .
top_srcdir = .
AUTOMAKE_OPTIONS = foreign
helloworld_SOURCES = helloworld.c
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
.SUFFIXES: .c .o .obj
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
config.h: stamp-h1
@if test ! -f $@; then \
rm -f stamp-h1; \
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
else :; fi
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: $(am__configure_deps)
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p; \
then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
helloworld$(EXEEXT): $(helloworld_OBJECTS) $(helloworld_DEPENDENCIES)
@rm -f helloworld$(EXEEXT)
$(LINK) $(helloworld_OBJECTS) $(helloworld_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
include ./$(DEPDIR)/helloworld.Po
.c.o:
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c $<
.c.obj:
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c `$(CYGPATH_W) '$<'`
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-lzma: distdir
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
$(am__remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
$(am__remove_distdir)
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lzma*) \
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@$(am__cd) '$(distuninstallcheck_dir)' \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) config.h
installdirs:
for dir in "$(DESTDIR)$(bindir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-hdr distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-binPROGRAMS
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS
.MAKE: all install-am install-strip
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
distcheck distclean distclean-compile distclean-generic \
distclean-hdr distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-binPROGRAMS install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
uninstall-am uninstall-binPROGRAMS
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ make
make all-am
make[1]: 正在进入目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT helloworld.o -MD -MP -MF .deps/helloworld.Tpo -c -o helloworld.o helloworld.c
helloworld.c: In function ‘main’:
helloworld.c:10: error: ‘amp’ undeclared (first use in this function)
helloworld.c:10: error: (Each undeclared identifier is reported only once
helloworld.c:10: error: for each function it appears in.)
helloworld.c:10: error: expected ‘)’ before ‘;’ token
helloworld.c:10: error: too few arguments to function ‘gettimeofday’
make[1]: *** [helloworld.o] 错误 1
make[1]:正在离开目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
make: *** [all] 错误 2
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ make
make all-am
make[1]: 正在进入目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT helloworld.o -MD -MP -MF .deps/helloworld.Tpo -c -o helloworld.o helloworld.c
mv -f .deps/helloworld.Tpo .deps/helloworld.Po
gcc -g -O2 -o helloworld helloworld.o
make[1]:正在离开目录 `/home/fpxyy/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3'
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls -lha
总用量 356K
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:44 .
drwxr-xr-x 8 fpxyy fpxyy 4.0K 2012-04-25 17:32 ..
-rw-r--r-- 1 fpxyy fpxyy 34K 2012-04-25 17:40 aclocal.m4
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:41 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 17:38 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 1.8K 2012-04-25 17:42 config.h
-rw-r--r-- 1 fpxyy fpxyy 1.6K 2012-04-25 17:41 config.h.in
-rw-r--r-- 1 fpxyy fpxyy 12K 2012-04-25 17:42 config.log
-rwxr-xr-x 1 fpxyy fpxyy 33K 2012-04-25 17:42 config.status
-rwxr-xr-x 1 fpxyy fpxyy 157K 2012-04-25 17:41 configure
-rw-r--r-- 1 fpxyy fpxyy 555 2012-04-25 17:40 configure.in
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.in~
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.scan
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 depcomp -> /usr/share/automake-1.11/depcomp
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:44 .deps
-rwxr-xr-x 1 fpxyy fpxyy 9.6K 2012-04-25 17:44 helloworld
-rw-r--r-- 1 fpxyy fpxyy 159 2012-04-25 17:44 helloworld.c
-rw-r--r-- 1 fpxyy fpxyy 282 2012-04-25 17:37 helloworld.c~
-rw-r--r-- 1 fpxyy fpxyy 4.3K 2012-04-25 17:44 helloworld.o
lrwxrwxrwx 1 fpxyy fpxyy 35 2012-04-25 17:42 install-sh -> /usr/share/automake-1.11/install-sh
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile
-rw-r--r-- 1 fpxyy fpxyy 80 2012-04-25 17:41 Makefile.am
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile.in
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 missing -> /usr/share/automake-1.11/missing
-rw-r--r-- 1 fpxyy fpxyy 23 2012-04-25 17:42 stamp-h1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ./helloworld
hello word!
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls
aclocal.m4 autoscan.log config.h.in config.status configure.in configure.scan helloworld helloworld.c~ install-sh Makefile.am missing
autom4te.cache config.h config.log configure configure.in~ depcomp helloworld.c helloworld.o Makefile Makefile.in stamp-h1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ ls -lha
总用量 356K
drwxr-xr-x 4 fpxyy fpxyy 4.0K 2012-04-25 17:44 .
drwxr-xr-x 8 fpxyy fpxyy 4.0K 2012-04-25 17:32 ..
-rw-r--r-- 1 fpxyy fpxyy 34K 2012-04-25 17:40 aclocal.m4
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:41 autom4te.cache
-rw-r--r-- 1 fpxyy fpxyy 0 2012-04-25 17:38 autoscan.log
-rw-r--r-- 1 fpxyy fpxyy 1.8K 2012-04-25 17:42 config.h
-rw-r--r-- 1 fpxyy fpxyy 1.6K 2012-04-25 17:41 config.h.in
-rw-r--r-- 1 fpxyy fpxyy 12K 2012-04-25 17:42 config.log
-rwxr-xr-x 1 fpxyy fpxyy 33K 2012-04-25 17:42 config.status
-rwxr-xr-x 1 fpxyy fpxyy 157K 2012-04-25 17:41 configure
-rw-r--r-- 1 fpxyy fpxyy 555 2012-04-25 17:40 configure.in
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.in~
-rw-r--r-- 1 fpxyy fpxyy 534 2012-04-25 17:38 configure.scan
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 depcomp -> /usr/share/automake-1.11/depcomp
drwxr-xr-x 2 fpxyy fpxyy 4.0K 2012-04-25 17:44 .deps
-rwxr-xr-x 1 fpxyy fpxyy 9.6K 2012-04-25 17:44 helloworld
-rw-r--r-- 1 fpxyy fpxyy 159 2012-04-25 17:44 helloworld.c
-rw-r--r-- 1 fpxyy fpxyy 282 2012-04-25 17:37 helloworld.c~
-rw-r--r-- 1 fpxyy fpxyy 4.3K 2012-04-25 17:44 helloworld.o
lrwxrwxrwx 1 fpxyy fpxyy 35 2012-04-25 17:42 install-sh -> /usr/share/automake-1.11/install-sh
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile
-rw-r--r-- 1 fpxyy fpxyy 80 2012-04-25 17:41 Makefile.am
-rw-r--r-- 1 fpxyy fpxyy 20K 2012-04-25 17:42 Makefile.in
lrwxrwxrwx 1 fpxyy fpxyy 32 2012-04-25 17:42 missing -> /usr/share/automake-1.11/missing
-rw-r--r-- 1 fpxyy fpxyy 23 2012-04-25 17:42 stamp-h1
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$ emacs helloworld.c
fpxyy@ubuntu:~/FpxCosmos/workstudio/Current/ProStudio/fpxautomake3$