blob: 4e523ce79c3d83e05eb235fdf8ee6ce67d28d41b (
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
35
36
|
CFLAGS = $(CCOPTS) $(DEFS) -DDEBUG
LDFLAGS = -g
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
DBMLIB=
all::
KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
uuclient: client.o $(DEPKLIB)
$(CC) $(CFLAGS) -o uuclient client.o $(KLIB) $(LIBS)
client.o: $(srcdir)/client.c
all:: uuclient
clean::
$(RM) client.o uuclient
uuserver: server.o $(DEPKLIB)
$(CC) $(CFLAGS) -o uuserver server.o $(KLIB) $(LIBS)
server.o: $(srcdir)/server.c
all:: uuserver
install::
$(INSTALL_PROGRAM) uuclient $(DESTDIR)$(CLIENT_BINDIR)/uuclient
$(INSTALL_PROGRAM) uuserver $(DESTDIR)$(SERVER_BINDIR)/uuserver
clean::
$(RM) server.o uuserver
|