#
# define HAVE_SHADOW if your system uses a shadow password file (executable
# will have to be installed as root for this to work).
#

CFLAGS=-O @SHADOW_FLAGS@

all:
	cd webunpack; make CFLAGS="$(CFLAGS)"
	cd getpass; make CFLAGS="$(CFLAGS)"

SERVERROOT=/b/devel/src/neowebscript-2.2/httpd

install: getpass/getpass webunpack/webunpack
	cp getpass/getpass $(SERVERROOT)/bin/getpass
	chmod u+s $(SERVERROOT)/bin/getpass
	cp webunpack/webunpack $(SERVERROOT)/bin/webunpack
