1 | # |
---|
2 | # $Id: Makefile.in,v 1.2 2007-08-09 20:41:32 amb Exp $ |
---|
3 | # |
---|
4 | |
---|
5 | SHELL=/bin/sh |
---|
6 | VPATH=@srcdir@ |
---|
7 | INSTALL=@INSTALL@ |
---|
8 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
9 | srcdir=@srcdir@ |
---|
10 | top_srcdir=@top_srcdir@ |
---|
11 | prefix=@prefix@ |
---|
12 | exec_prefix=@exec_prefix@ |
---|
13 | bindir=@bindir@ |
---|
14 | mandir=@mandir@ |
---|
15 | |
---|
16 | CC=@CC@ |
---|
17 | DEFS=@DEFS@ |
---|
18 | CPPFLAGS=@CPPFLAGS@ |
---|
19 | CFLAGS=@CFLAGS@ |
---|
20 | LDFLAGS=@LDFLAGS@ |
---|
21 | LIBS=@LIBS@ |
---|
22 | ALL_CFLAGS=-I../include ${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
23 | |
---|
24 | KLIBS= ../libds/libdsk.a ../usp/libusp.a @KRB4_LIBS@ @KRB5_LIBS@ ${LIBS} |
---|
25 | NKLIBS= ../libds/libds.a ../usp/libusp.a -lcom_err ${LIBS} |
---|
26 | |
---|
27 | .c.o: |
---|
28 | ${CC} -c ${ALL_CFLAGS} $< |
---|
29 | |
---|
30 | all: create_mtg_dir crmtgs mkds pmtg dsmail dspipe |
---|
31 | |
---|
32 | clean: |
---|
33 | rm -f create_mtg_dir crmtgs mkds pmtg dsmail dspipe *.o |
---|
34 | |
---|
35 | depend: |
---|
36 | |
---|
37 | install: |
---|
38 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
39 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
40 | ${INSTALL_PROGRAM} create_mtg_dir ${DESTDIR}${bindir} |
---|
41 | ${INSTALL_PROGRAM} crmtgs ${DESTDIR}${bindir} |
---|
42 | ${INSTALL_PROGRAM} mkds ${DESTDIR}${bindir} |
---|
43 | ${INSTALL_PROGRAM} pmtg ${DESTDIR}${bindir} |
---|
44 | ${INSTALL_PROGRAM} dsmail ${DESTDIR}${bindir} |
---|
45 | ${INSTALL_PROGRAM} dspipe ${DESTDIR}${bindir} |
---|
46 | -rm -f $(DESTDIR)${bindir}/rmds |
---|
47 | -ln -s mkds $(DESTDIR)$(bindir)/rmds |
---|
48 | ${INSTALL} -m 755 dsc_setup.sh ${DESTDIR}${bindir}/dsc_setup |
---|
49 | ${INSTALL} -m 444 dsmail.1 ${DESTDIR}${mandir}/man1 |
---|
50 | |
---|
51 | create_mtg_dir: create_mtg_dir.o |
---|
52 | ${CC} ${LDFLAGS} -o create_mtg_dir create_mtg_dir.o |
---|
53 | |
---|
54 | crmtgs: crmtgs.o ../ets/dsc_et.o |
---|
55 | ${CC} ${LDFLAGS} -o crmtgs crmtgs.o ../ets/dsc_et.o ${KLIBS} |
---|
56 | |
---|
57 | mkds: mkds.o ../ets/dsc_et.o ../client/edit.o |
---|
58 | ${CC} ${LDFLAGS} -o mkds mkds.o ../ets/dsc_et.o ../client/edit.o ${KLIBS} |
---|
59 | |
---|
60 | pmtg: pmtg.o ../ets/dsc_et.o |
---|
61 | ${CC} ${LDFLAGS} -o pmtg pmtg.o ../ets/dsc_et.o ${KLIBS} |
---|
62 | |
---|
63 | dsmail: dsmail.o ../ets/dsc_et.o |
---|
64 | ${CC} ${LDFLAGS} -o dsmail dsmail.o ../ets/dsc_et.o ${NKLIBS} |
---|
65 | |
---|
66 | dspipe: dspipe.o ../ets/dsc_et.o |
---|
67 | ${CC} ${LDFLAGS} -o dspipe dspipe.o ../ets/dsc_et.o ${KLIBS} |
---|