CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) LDFLAGS = -g ISODELIB=@ISODELIB@ COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a SSLIB=$(BUILDTOP)/util/ss/libss.a DBMLIB=@DBMLIB@ KDBLIB=$(TOPLIBD)/libkdb5.a all:: KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(SSLIB) $(COMERRLIB) $(DBMLIB) DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) OBJS= kdb5_edit.o kdb5_ed_ct.o util.o dump.o ss_wrapper.o SRCS= $(srcdir)/kdb5_edit.c $(srcdir)/kdb5_ed_ct.c $(srcdir)/util.c $(srcdir)/dump.c $(srcdir)/ss_wrapper.c all:: kdb5_edit kdb5_edit: kdb5_edit.o $(DEPLIBS) $(OBJS) $(CC) $(CFLAGS) -o kdb5_edit $(OBJS) $(LOCAL_LIBRARIES) $(LIBS) install:: cp kdb5_edit ${DESTDIR}$(ADMIN_BINDIR)/kdb5_edit cp kdb5_edit.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_edit.8 # needed until we run makedepend kdb5_ed_ct.c: kdb5_ed_ct.ct kdb5_ed_ct.o: kdb5_ed_ct.c clean:: $(RM) kdb5_ed_ct.c depend:: kdb5_ed_ct.c clean:: $(RM) kdb5_edit