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:MrUmunhum@xxxxxxxxxxx> --
408-997-0743
Ymessenger ID: MrUmunhum
HTTP://Mt-Umunhum-Wireless.net
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf