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 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8 |
---|
41 | ${INSTALL_PROGRAM} create_mtg_dir ${DESTDIR}${bindir} |
---|
42 | ${INSTALL_PROGRAM} crmtgs ${DESTDIR}${bindir} |
---|
43 | ${INSTALL_PROGRAM} mkds ${DESTDIR}${bindir} |
---|
44 | ${INSTALL_PROGRAM} pmtg ${DESTDIR}${bindir} |
---|
45 | ${INSTALL_PROGRAM} dsmail ${DESTDIR}${bindir} |
---|
46 | ${INSTALL_PROGRAM} dspipe ${DESTDIR}${bindir} |
---|
47 | -rm -f $(DESTDIR)${bindir}/rmds |
---|
48 | -ln -s mkds $(DESTDIR)$(bindir)/rmds |
---|
49 | ${INSTALL} -m 755 dsc_setup.sh ${DESTDIR}${bindir}/dsc_setup |
---|
50 | ${INSTALL} -m 444 crmtgs.1 ${DESTDIR}${mandir}/man1 |
---|
51 | ${INSTALL} -m 444 mkds.8 ${DESTDIR}${mandir}/man8 |
---|
52 | ${INSTALL} -m 444 pmtg.1 ${DESTDIR}${mandir}/man1 |
---|
53 | ${INSTALL} -m 444 dsmail.1 ${DESTDIR}${mandir}/man1 |
---|
54 | ${INSTALL} -m 444 dspipe.8 ${DESTDIR}${mandir}/man8 |
---|
55 | ${INSTALL} -m 444 dsc_setup.1 ${DESTDIR}${mandir}/man1 |
---|
56 | ${INSTALL} -m 444 rmds.8 ${DESTDIR}${mandir}/man8 |
---|
57 | |
---|
58 | create_mtg_dir: create_mtg_dir.o |
---|
59 | ${CC} ${LDFLAGS} -o create_mtg_dir create_mtg_dir.o |
---|
60 | |
---|
61 | crmtgs: crmtgs.o ../ets/dsc_et.o |
---|
62 | ${CC} ${LDFLAGS} -o crmtgs crmtgs.o ../ets/dsc_et.o ${KLIBS} |
---|
63 | |
---|
64 | mkds: mkds.o ../ets/dsc_et.o ../client/edit.o |
---|
65 | ${CC} ${LDFLAGS} -o mkds mkds.o ../ets/dsc_et.o ../client/edit.o ${KLIBS} |
---|
66 | |
---|
67 | pmtg: pmtg.o ../ets/dsc_et.o |
---|
68 | ${CC} ${LDFLAGS} -o pmtg pmtg.o ../ets/dsc_et.o ${KLIBS} |
---|
69 | |
---|
70 | dsmail: dsmail.o ../ets/dsc_et.o |
---|
71 | ${CC} ${LDFLAGS} -o dsmail dsmail.o ../ets/dsc_et.o ${NKLIBS} |
---|
72 | |
---|
73 | dspipe: dspipe.o ../ets/dsc_et.o |
---|
74 | ${CC} ${LDFLAGS} -o dspipe dspipe.o ../ets/dsc_et.o ${KLIBS} |
---|