# Autoconfed stuff srcdir = . prefix = exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin mandir = ${prefix}/man CFLAGS = -fno-common -I$(srcdir) -I. INSTALL = /usr/bin/install -c -o root -g wheel CC = cc CHROOTED_NAME = CONFDIR = ${prefix}/etc/scponly DEBUGFILE = ${CONFDIR}/debuglevel DEFS = -DHAVE_CONFIG_H -DDEBUGFILE='"${DEBUGFILE}"' LN_S = ln -s 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