aboutsummaryrefslogblamecommitdiff
path: root/contrib/libxo/bin/Zaliases
blob: 04cdec7720b3e7aa21efd8115625d1a33b67e06b (plain) (tree)
1
2
3
4
5
6
7
8
9
                 
                                              





                                             
                           















                                                                                                                                                                                                                                                                                                                                                                                                         



                               
set top_src=`pwd`
alias Zautoreconf "(cd $top_src ; autoreconf)"

set opts=' \
--with-libslax-prefix=/Users/phil/work/root \
--enable-debug \
--enable-warnings \
--enable-printflike \
--with-gettext=/opt/local \
--prefix ${HOME}/work/root \
'
set opts=`echo $opts`

setenv CONFIGURE_OPTS "$opts"
setenv ADB_PATH $top_src/build/libxo/.libs

alias Zconfigure "(cd $top_src/build; ../configure $opts)"
alias Zbuild "(cd $top_src/build; make \!* )"
alias mi "(cd $top_src/build; make && make install); ."

mkdir -p build
cd build


alias xx 'cc -I.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wformat -Wimplicit -Wmissing-declarations -Wnested-externs -Wparentheses -Wreturn-type -Wshadow -Wswitch -Wtrigraphs -Wuninitialized -Wunused -Wwrite-strings -fno-inline-functions-called-once -g -O2 -o xtest -DUNIT_TEST libxo.c'

alias mm "make CFLAGS='-O0 -g'"

alias mmi 'mm && mi'