Makefile.in not generated using Automake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<Logs attached>


RUSHABH DOSHI|R&D Engineer|Network Group
Panasonic Singapore Laboratories Pte Ltd (PSL)
1022 Tai Seng Avenue Tai Seng Industrial Estate #06-3530 Singapore 534415
Tel: +65-6550-5441|Fax: +65-6550-5406|Email : rushabh.doshi@xxxxxxxxxxxxxxxx<mailto:rushabh.doshi@xxxxxxxxxxxxxxxx>

$ ls
hello.c  Makefile.am
$ autoscan
$ ls
autoscan.log  configure.scan  hello.c  Makefile.am
$ mv configure.scan configure.ac
$ ls
autoscan.log  configure.ac  hello.c  Makefile.am
$ autoheader
$ ls
autom4te.cache  autoscan.log  config.h.in  configure.ac  hello.c  Makefile.am
$ vim configure.ac
$ more configure.ac
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.67])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([hello.c])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile])
AC_OUTPUT
$ aclocal
$ ls
aclocal.m4      autoscan.log  configure.ac  Makefile.am
autom4te.cache  config.h.in   hello.c
$ automake --add-missing 
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
Makefile.am: installing `./INSTALL'
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./README' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
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'
$ ls
aclocal.m4      autoscan.log  configure.ac  depcomp  INSTALL     Makefile.am
autom4te.cache  config.h.in   COPYING       hello.c  install-sh  missing
$ autoconf
$ ls
aclocal.m4      config.h.in   COPYING  INSTALL      missing
autom4te.cache  configure     depcomp  install-sh
autoscan.log    configure.ac  hello.c  Makefile.am
$ ./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... no
checking for mawk... mawk
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: error: cannot find input file: `Makefile.in'
$ ls
aclocal.m4      config.h.in    configure     depcomp  install-sh
autom4te.cache  config.log     configure.ac  hello.c  Makefile.am
autoscan.log    config.status  COPYING       INSTALL  missing
$ gcc hello.c ?o hello
$ ./hello
Hello World!
$
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux