# Autoconfed stuff srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ mandir = @mandir@ CFLAGS = @CFLAGS@ -I$(srcdir) -I. INSTALL = @INSTALL@ CC = @CC@ CHROOTED_NAME = @CHROOTED_NAME@ CONFDIR = @sysconfdir@/scponly DEBUGFILE = ${CONFDIR}/debuglevel DEFS = @DEFS@ -DDEBUGFILE='"${DEBUGFILE}"' LN_S = @LN_S@ VPATH = @srcdir@ all: scponly groups clean: rm -f *.o scponly *~ debuglevel ${CHROOTED_NAME} groups love: clean all scponly: scponly.o helper.o ${CC} ${CFLAGS} ${DEFS} -o $@ scponly.o helper.o groups: groups.c ${CC} ${CFLAGS} ${DEFS} -o $@ groups.c scponly.o: scponly.c config.h scponly.h ${CC} ${CFLAGS} ${DEFS} -o $@ -c scponly.c helper.o: helper.c config.h scponly.h ${CC} ${CFLAGS} ${DEFS} -o $@ -c helper.c install: scponly debuglevel scponly.8 ${INSTALL} -d ${DESTDIR}${bindir} ${INSTALL} -d ${DESTDIR}${mandir}/man8 ${INSTALL} -d ${DESTDIR}${CONFDIR} ${INSTALL} -o 0 -g 0 scponly ${DESTDIR}${bindir}/scponly ${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${DESTDIR}${mandir}/man8/scponly.8 ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DESTDIR}${DEBUGFILE} if test "x${CHROOTED_NAME}" != "x"; then \ ${INSTALL} -d ${DESTDIR}${sbindir}; \ rm -f ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \ cp scponly ${CHROOTED_NAME}; \ ${INSTALL} -o 0 -g 0 -m 4755 ${CHROOTED_NAME} ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \ fi debuglevel: echo "0" > $@ jail: install chmod u+x ./setup_chroot.sh ./setup_chroot.sh distclean: clean rm -fr autom4te.cache rm -f config.h config.log config.status Makefile setup_chroot.sh maintainer-clean: distclean rm -f configure