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