blob: 65f6c07fa31bb787eb38d3d41e79a156f41de15c (
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
25
26
27
28
29
30
31
32
33
34
|
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
DBMLIB=
SRCS= gss-client.c gss-misc.c gss-server.c
OBJS= gss-client.o gss-misc.o gss-server.o
all:: gss-server gss-client
KLIB = $(TOPLIBD)/gssapi/libgssapi_krb5.a $(TOPLIBD)/libkrb5.a \
$(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
DEPKLIB = $(TOPLIBD)/gssapi/libgssapi_krb5.a $(TOPLIBD)/libkrb5.a \
$(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
gss-server: gss-server.o gss-misc.o $(DEPKLIB)
$(LD) $(CFLAGS) -o gss-server gss-server.o gss-misc.o $(KLIB) $(LIBS)
gss-client: gss-client.o gss-misc.o $(DEPKLIB)
$(LD) $(CFLAGS) -o gss-client gss-client.o gss-misc.o $(KLIB) $(LIBS)
gss-client.o: $(srcdir)/gss-client.c
gss-misc.o: $(srcdir)/gss-misc.c
gss-server.o: $(srcdir)/gss-server.c
clean::
$(RM) gss-server gss-client
install::
$(INSTALL_PROGRAM) gss-client ${DESTDIR}$(CLIENT_BINDIR)/gss-client
$(INSTALL_PROGRAM) gss-server ${DESTDIR}$(SERVER_BINDIR)/gss-server
|