--- ./libopie/Makefile.dist 2003-05-21 10:40:59.000000000 -0700 +++ ./libopie/Makefile 2003-05-21 10:42:48.000000000 -0700 @@ -15,8 +15,21 @@ OBJS=md4c.o md5c.o atob8.o btoa8.o btoh.o challenge.o getsequence.o hash.o hashlen.o keycrunch.o lock.o lookup.o newseed.o parsechallenge.o passcheck.o passwd.o randomchallenge.o readpass.o unlock.o verify.o version.o btoe.o accessfile.o generator.o insecure.o getutmpentry.o readrec.o writerec.o login.o open.o logwtmp.o # sha.o +ifndef FULL_LINUX_PAM_SOURCE_TREE +export DYNAMIC=-DPAM_DYNAMIC +export CC=gcc +export CFLAGS=-O2 -Dlinux -DLINUX_PAM \ + -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \ + -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional \ + -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline \ + -Wshadow -pedantic -fPIC -DKEY_FILE=\"/etc/opie/opiekeys\" +export MKDIR=mkdir -p +export LD_D=gcc -shared -Xlinker -x +export SECUREDIR=/lib/security +export INSTALL=install +endif + CC=gcc -CFLAGS=$(CFL) -I.. -DKEY_FILE=\"/etc/opiekeys\" TARGET=libopie.a all: $(TARGET)