d1a0d267b7
Local changes incorporated by 0.4.5: r284340 Local changes retained: r276260, r282117 Obtained from: https://github.com/Juniper/libxo
30 lines
977 B
Plaintext
30 lines
977 B
Plaintext
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'
|