Files
freeipa/ipa-server/ipa-kpasswd/Makefile
Simo Sorce aacfce9cf1 Remove dependncy on libmhash and use openssl md4 functions
Remove all dependencies on mhash
Remove code optimizatrion from Makefiles, right now these are
developers targeted builds, so it is better to have debugging
symbols around
2007-08-20 15:38:47 -04:00

26 lines
473 B
Makefile

PREFIX ?= $(DESTDIR)/usr
SBIN = $(PREFIX)/sbin
INITDIR = $(DESTDIR)/etc/rc.d/init.d
LDFLAGS +=-lkrb5 -llber -lldap
CFLAGS ?= -g -Wall -Wshadow
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
all: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o ipa_kpasswd
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
install:
-mkdir -p $(SBIN)
install -m 755 ipa_kpasswd $(SBIN)
-mkdir -p $(INITDIR)
install -m 755 ipa-kpasswd.init $(INITDIR)/ipa-kpasswd
clean:
rm -f *.o
rm -f ipa_kpasswd
rm -f *~