$compile = gcc -c -I. -I/usr/local/include -I/usr/include/qdbm \
-I/usr/local/include -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 \
-D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 -DPIC=1 -D_THREAD_SAFE=1 \
-D_REENTRANT=1 -DNDEBUG -Wall -fPIC -fsigned-char -O1
$load = LD_RUN_PATH=/lib:/usr/lib:/usr/local/lib gcc -Wall -fPIC \
-fsigned-char -O1
$ldflags = -L. -L/usr/local/lib -L/usr/local/lib -lestraier -lresolv \
-lsocket -lnsl -lpthread -lqdbm -lz -lm -lc
me% make
$compile estraier.c
$compile estmtdb.c
$compile estnode.c
$compile md5.c
ar rv libestraier.a estraier.o estmtdb.o estnode.o md5.o
a - estraier.o
a - estmtdb.o
a - estnode.o
a - md5.o
ar: creating libestraier.a
ar: writing libestraier.a
if gcc --print-prog-name=ld | egrep -i '(solaris|/ccs/|/ucb/)' > /dev/null ; \
then \
gcc -shared -Wl,-G,-h,libestraier.so.8 -o libestraier.so.8.38.0 estraier.o \
estmtdb.o estnode.o md5.o \
-L. -L/usr/local/lib -lresolv -lsocket -lnsl -lpthread -lqdbm -lz -lm -lc ; \
else \
gcc -shared -Wl,-soname,libestraier.so.8 -o libestraier.so.8.38.0 \
estraier.o estmtdb.o estnode.o md5.o \
-L. -L/usr/local/lib -lresolv -lsocket -lnsl -lpthread -lqdbm -lz -lm -lc ; \
fi
ln -f -s libestraier.so.8.38.0 libestraier.so.8
ln -f -s libestraier.so.8.38.0 libestraier.so
$compile estcmd.c
$compile mymorph.c
$load -o estcmd estcmd.o mymorph.o $ldflags
$compile estmttest.c
$load -o estmttest estmttest.o $ldflags
$compile estmaster.c
$compile mastermod.c
$load -o estmaster estmaster.o mastermod.o mymorph.o $ldflags
$compile estbutler.c
$load -o estbutler estbutler.o mastermod.o $ldflags
$compile estcall.c
$load -o estcall estcall.o $ldflags
$compile estwaver.c
$compile wavermod.c
$load -o estwaver estwaver.o wavermod.o mymorph.o $ldflags
$compile estload.c
$load -o estload estload.o $ldflags
$compile estseek.c
$load -o estseek.cgi estseek.o $ldflags
$compile estfraud.c
$load -o estfraud.cgi estfraud.o mastermod.o mymorph.o $ldflags
$compile estproxy.c
$load -o estproxy.cgi estproxy.o $ldflags
$compile estscout.c
$load -o estscout.cgi estscout.o $ldflags
$compile estsupt.c
$load -o estsupt.cgi estsupt.o $ldflags
root# make install
mkdir -p /usr/local/include
cp -Rf estraier.h estmtdb.h estnode.h /usr/local/include
mkdir -p /usr/local/lib
cp -Rf libestraier.a libestraier.so.8.38.0 libestraier.so.8 libestraier.so
/usr/local/lib
mkdir -p /usr/local/bin
cp -Rf estcmd estmttest estmaster estbutler estcall estwaver estload
estconfig estwolefind /usr/local/bin
mkdir -p /usr/local/libexec
cp -Rf estseek.cgi estfraud.cgi estproxy.cgi estscout.cgi estsupt.cgi
/usr/local/libexec
mkdir -p /usr/local/share/hyperestraier
cp -Rf estseek.conf estseek.tmpl estseek.top estseek.help estfraud.conf
estproxy.conf estscout.conf estsupt.conf estresult.dtd estraier.idl
locale filter increm COPYING ChangeLog THANKS doc
/usr/local/share/hyperestraier
mkdir -p /usr/local/man/man1
cd man && cp -Rf estconfig.1 estcmd.1 estmaster.1 estwaver.1 estcall.1
/usr/local/man/man1
mkdir -p /usr/local/man/man3
cd man && cp -Rf estraier.3 estnode.3 /usr/local/man/man3
mkdir -p /usr/local/lib/pkgconfig
cp -Rf hyperestraier.pc /usr/local/lib/pkgconfig
#================================================================
# Thanks for using Hyper Estraier.
#================================================================