]> andersk Git - moira.git/blame - gen/Imakefile
.gen programs don't need to link with libmrglue
[moira.git] / gen / Imakefile
CommitLineData
3a3bd871 1# $Header$
2#
3# Copyright 1993 by the Massachusetts Institute of Technology.
4#
5# For copying and distribution information,
6# please see the file <mit-copyright.h>.
7#
8# Imakefile for server directory.
9#
10
7ac5b010 11SRCDIR = $(SRCTOP)/gen
7ce1db33 12#ifdef DO_GDSS
9c04b191 13SRCS = util.c moddiff.c passwd.c hesiod.c \
14 nfs.c mailhub.c sis.c pobox.c \
21c13470 15 hosts.c network.c warehouse.c
9c04b191 16OBJS = util.o moddiff.o passwd.o hesiod.o \
17 nfs.o mailhub.o sis.o pobox.o \
21c13470 18 hosts.o network.o warehouse.o
4b50f071 19CODE = util.c moddiff.pc passwd.pc hesiod.pc \
20 nfs.pc mailhub.pc sis.pc pobox.pc \
21c13470 21 hosts.pc network.pc warehouse.pc
3a3bd871 22LIBS = -L/usr/athena/lib ../lib/libmoira.a -lcom_err -lzephyr \
f27cdb7a 23 $(LIBGDSS) -lkrb -ldes -lhesiod ${SQL_LIB}
9c04b191 24DEFINES = $(GDSSINC)
7ce1db33 25#else /* DO_GDSS */
9c04b191 26SRCS = util.c moddiff.c passwd.c hesiod.c \
27 nfs.c mailhub.c pobox.c \
7ce1db33 28 hosts.c network.c
9c04b191 29OBJS = util.o moddiff.o passwd.o hesiod.o \
30 nfs.o mailhub.o pobox.o \
7ce1db33 31 hosts.o network.o
4b50f071 32CODE = util.c moddiff.pc passwd.pc hesiod.pc \
33 nfs.pc mailhub.pc pobox.pc \
7ce1db33 34 hosts.pc network.pc
7ac5b010 35LIBS = -L/usr/athena/lib ../lib/libmoira.a -lcom_err -lzephyr \
f27cdb7a 36 -lkrb -ldes -lhesiod ${SQL_LIB}
7ac5b010 37DEFINES =
7ce1db33 38#endif /* DO_GDSS */
3a3bd871 39sqlrule()
40
3a3bd871 41program(passwd.gen, passwd.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
9c04b191 42sqlfile(moddiff)
3a3bd871 43sqlfile(passwd)
3a3bd871 44program(hesiod.gen, hesiod.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
45sqlfile(hesiod)
46program(nfs.gen, nfs.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
47sqlfile(nfs)
48program(mailhub.gen, mailhub.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
49sqlfile(mailhub)
7ce1db33 50#ifdef DO_GDSS
3a3bd871 51program(sis.gen, sis.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
52sqlfile(sis)
7ce1db33 53program(warehouse.gen, warehouse.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
54sqlfile(warehouse)
7ac5b010 55#endif
3a3bd871 56program(pobox.gen, pobox.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
57sqlfile(pobox)
9a6557f6 58program(hosts.gen, hosts.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
59sqlfile(hosts)
4b50f071 60program(network.gen, network.o util.o moddiff.o,${MR_LIBDEP},${LIBS},${PROGDIR})
61sqlfile(network)
21c13470 62
This page took 0.390617 seconds and 5 git commands to generate.