autoconf
[Top][All Lists]
Advanced

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

Makefile.am question


From: William Estrada
Subject: Makefile.am question
Date: Sat, 11 Jun 2005 16:08:08 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319

Hi guys,

 I have a project that uses autoconf.  The autoconf code is working.  I now
wish to add some code that will compile for use on a mips processor. My problem is how do I configure Makefile.am? The make file I am using for the new module
looks like this:

prefix=/usr/local
   exec_prefix=${prefix}
   bindir=${exec_prefix}/bin
   sbindir=${exec_prefix}/sbin
CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
   LD=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
   AR=mipsel-linux-ar
   RANLIB=mipsel-linux-ranlib
   STRIP=mipsel-linux-strip
   INSTALL=install
   LIBS=$(LTC) $(LTM)  -lcrypt
   LDFLAGS=
   CFLAGS=-I. \
    -I/src/WRT54G/tools-src/glibc \
    -I/src/WRT54G/tools-src/glibc/sysdeps/generic \
    -I/src/WRT54G/tools/brcm/hndtools-mipsel-linux-3.0/mipsel-linux/include
   -Os -W -Wall
all: pfssh_mips strip:
           -$(STRIP) pfssh_mips
install: all
           $(INSTALL) -d -m  755   $(DESTDIR)$(sbindir)
           $(INSTALL) -m 755 pfssh_mips $(DESTDIR)$(sbindir)
           -chown root:root $(DESTDIR)$(sbindir)/pfssh_mips
pfssh_mips: pfssh_mips.o clean:
           rm -f pfssh_mips *.o

 Can someone point me to a document that will help with this tasks?

 Thanks for your time.

--
William Estrada <http://www.Mt-Umunhum-Wireless.net/resume/william_estrada.html> -- MrUmunhum at popdial dot com <mailto:address@hidden> -- 408-997-0743
 Ymessenger ID: MrUmunhum
 HTTP://Mt-Umunhum-Wireless.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]