[AD] does passing =no args to configure actually work?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hello everybody;

I utilize allegro with fbcon on an embedded platform. It's runs linux,
has no keyboard, has no X and is generally very wimpy. :-)

I am attempting to create an 'agressively stripped' version of allegro
because i want to keep my memory footprint as small as possible. Thus, i
am using the following options to configure:


#!/bin/sh

./configure --enable-color8=no --enable-color24=no --enable-color32=no
\
--enable-alsadigi=no --enable-alsamidi=no --enable-esddigi=no \
--enable-artsdigi=no --enable-ossmidi=no --enable-xwin-shm=no \
--enable-xwin-vidmode=no --enable-xwin-dga=no --enable-xwin-dga2=no \
--with-x=no --enable-vga=no --enable-svgalib=no --enable-dbglib=yes \
--enable-opts=pentium --enable-strictwarn=yes

however, my makefile.dep seems to indicate that these requests where
ignored:


# Automatically generated.
LIBALLEG_OBJECTS = \
  $(OBJDIR)/alleg/allegro$(OBJ) \
  $(OBJDIR)/alleg/blit$(OBJ) \
  $(OBJDIR)/alleg/bmp$(OBJ) \
  $(OBJDIR)/alleg/clip3d$(OBJ) \
  $(OBJDIR)/alleg/clip3df$(OBJ) \
  $(OBJDIR)/alleg/colblend$(OBJ) \
  $(OBJDIR)/alleg/color$(OBJ) \
  $(OBJDIR)/alleg/config$(OBJ) \
  $(OBJDIR)/alleg/datafile$(OBJ) \
  $(OBJDIR)/alleg/dataregi$(OBJ) \
  $(OBJDIR)/alleg/digmid$(OBJ) \      <-- should this be here?

<snip>

  $(OBJDIR)/alleg/joystick$(OBJ) \     <-- hey, how do i get rid of
key
  $(OBJDIR)/alleg/keyboard$(OBJ) \  <-- and joy? i dont have this
hw...

<snip>

  $(OBJDIR)/alleg/vtable$(OBJ) \       <-- this looks good 
  $(OBJDIR)/alleg/vtable15$(OBJ) \   <-- hmm...
  $(OBJDIR)/alleg/vtable16$(OBJ) \
  $(OBJDIR)/alleg/vtable24$(OBJ) \   <-- do i want vtables for 
  $(OBJDIR)/alleg/vtable32$(OBJ) \   <-- color depths that i dont use?
  $(OBJDIR)/alleg/vtable8$(OBJ) \     <--
  $(OBJDIR)/alleg/alsa$(OBJ) \           <-- Not using alsa
  $(OBJDIR)/alleg/alsamidi$(OBJ) \     <-- or alsamidi
  $(OBJDIR)/alleg/arts$(OBJ) \           <-- or arts

... and others are also in this list, but i think this is enuf to get
my question across.

am i misunderstanding the role of makefile.dep? i assumed that it's job
was to list out what was going to get built into the libs.....

is my solution simply to hack the things i dont want out of the
makefile.dep?

i actually did that on my last iteration, but i promised myself that i
would actually ask on allegro-dev what the 'right' approach was before
starting the next iteration. :-)

tnx for any feedback you can provide!

johnu

ps: tnx for rolling my framebuffer fix in! it felt really great when my
boss showed it to me in the news file and cvsweb!





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/