# fpxploiter make file
# mshannon@fpxploiter.org
#
OWNER=bin
GROUP=bin
CTAGS= ctags -x >tags
CFLAGS= -O
LDFLAGS= -s
CC=cc
GET=co
SHAR=shar
BINDIR=/usr/bin
SHARDIR=/usr/share/fpxploiter
INSTALL=install
DEPEND= makedepend $(CFLAGS)
all:    install


# To install passwd file, command line version, and gui version
install: 
	mkdir $(SHARDIR)
	$(INSTALL) -c -o $(OWNER) -g $(GROUP) -m 755 fpxploiter $(BINDIR)
	$(INSTALL) -c -o $(OWNER) -g $(GROUP) -m 755 fpxploiter-cl $(BINDIR)
	$(INSTALL) -c -o $(OWNER) -g $(GROUP) -m 644 passlst $(SHARDIR)

uninstall:
	rm -rf $(BINDIR)/fpxploiter
	rm -rf $(BINDIR)/fpxploiter-cl
	rm -rf $(SHARDIR)



