summaryrefslogtreecommitdiffstats
path: root/src/appl/user_user/Makefile.in
blob: 20ddc59110b28b7d2a297b30fef1aef32ee06073 (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
mydir=appl$(S)user_user
BUILDTOP=$(REL)..$(S)..
# If you remove the -DDEBUG, the test program needs a line changed
DEFINES = -DDEBUG
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

all:: uuclient uuserver

check-pytests:: uuclient uuserver
	$(RUNPYTEST) $(srcdir)/t_user2user.py $(PYTESTFLAGS)

uuclient: client.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o uuclient client.o $(KRB5_BASE_LIBS)

clean::
	$(RM) client.o uuclient

uuserver: server.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o uuserver server.o $(KRB5_BASE_LIBS)

install::
	$(INSTALL_PROGRAM) uuclient $(DESTDIR)$(CLIENT_BINDIR)/uuclient
	$(INSTALL_PROGRAM) uuserver $(DESTDIR)$(SERVER_BINDIR)/uuserver

clean::
	$(RM) server.o uuserver