blob: ac59fd37fd9c213ef229262fe3b08f455f06aea0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) -DUSE_KRB5_LOG
LDFLAGS = -g
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
all::
KLIB = -lkadm -lkrb5 -lcrypto $(COMERRLIB)
DEPKLIB = $(TOPLIBD)/libkadm.a $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB)
sserver: sserver.o $(DEPKLIB)
$(LD) $(LDFLAGS) $(LDARGS) -o sserver sserver.o $(KLIB) $(LIBS)
sserver.o: $(srcdir)/sserver.c
all:: sserver
clean::
$(RM) sserver.o sserver
install::
$(INSTALL_PROGRAM) sserver ${DESTDIR}$(SERVER_BINDIR)/sserver
$(INSTALL_DATA) $(srcdir)/sserver.M ${DESTDIR}$(SERVER_MANDIR)/sserver.8
|