]>
Commit | Line | Data |
---|---|---|
45ee4fc3 | 1 | # |
2 | # $Source$ | |
3 | # $Header$ | |
4 | # | |
5 | ||
6 | # | |
7 | # Makefile for the sms stuff --mark roman 7/6/87 | |
8 | # | |
9 | CFILES = adduser.c rafnu.c | |
10 | OFILES = adduser.o rafnu.o | |
11 | OUTP = regtape | |
12 | ||
13 | DESTDIR = | |
14 | ||
15 | # Note that -lkrb is used, but not -ldes, since smsglue only calls | |
16 | # get_krbrlm() | |
17 | ||
18 | LIBS = ../server/libsmsglue.a ../rpc/libsms.a -lcom_err -lkrb \ | |
19 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib | |
20 | CFLAGS = -I../include -L../lib | |
21 | ||
22 | all: $(OUTP) | |
23 | ||
24 | debug: | |
25 | cc $(CFLAGS) -DDEBUG -c adduser.c | |
26 | ||
27 | ||
28 | $(OUTP): $(OFILES) | |
29 | cc -o $(OUTP) $(CFLAGS) $(OFILES) $(LIBS) | |
30 | ||
31 | ci: | |
32 | ci $(CFILES) | |
33 | ||
34 | clean: | |
35 | rm -f $(OUTP) $(OFILES) core | |
36 | rm -f *~ *.o | |
37 | ||
38 | lint: | |
39 | lint $(CFILES) | |
40 | ||
41 | install: | |
42 | install regtape ../bin/regtape |