install -d $(DESTDIR)/@bindir@
install -d $(DESTDIR)/@libdir@/onak/backends
install -d $(DESTDIR)/@localstatedir@/lib/onak
install -d $(DESTDIR)/@mandir@/man1
install -d $(DESTDIR)/@mandir@/man8
install -d $(DESTDIR)/@sysconfdir@
install -d $(DESTDIR)/@bindir@
install -d $(DESTDIR)/@libdir@/onak/backends
install -d $(DESTDIR)/@localstatedir@/lib/onak
install -d $(DESTDIR)/@mandir@/man1
install -d $(DESTDIR)/@mandir@/man8
install -d $(DESTDIR)/@sysconfdir@
install onak splitkeys $(DESTDIR)/@bindir@
install onak.1 splitkeys.1 $(DESTDIR)/@mandir@/man1
install keyd.8 keydctl.8 onak-mail.pl.8 $(DESTDIR)/@mandir@/man8
install onak splitkeys $(DESTDIR)/@bindir@
install onak.1 splitkeys.1 $(DESTDIR)/@mandir@/man1
install keyd.8 keydctl.8 onak-mail.pl.8 $(DESTDIR)/@mandir@/man8
keydctl: keydctl.o onak-conf.o ll.o log.o
$(CC) $(LDFLAGS) $(PROGS_LDFLAGS_EXTRA) \
-o keydctl keydctl.o onak-conf.o ll.o log.o $(LIBS)
libkeydb_db4.so: keydb_db4.o $(CORE_OBJS)
keydctl: keydctl.o onak-conf.o ll.o log.o
$(CC) $(LDFLAGS) $(PROGS_LDFLAGS_EXTRA) \
-o keydctl keydctl.o onak-conf.o ll.o log.o $(LIBS)
libkeydb_db4.so: keydb_db4.o $(CORE_OBJS)
# HACK: onak-conf.o needs to be able to see keydb_@DBTYPE@_funcs, but
# keydctl doesn't want to link against the DB stuff. To be fixed more cleanly.
keydctl.o: keydctl.c keyd.h
# HACK: onak-conf.o needs to be able to see keydb_@DBTYPE@_funcs, but
# keydctl doesn't want to link against the DB stuff. To be fixed more cleanly.
keydctl.o: keydctl.c keyd.h
clean:
$(RM) $(PROGS) $(OBJS) Makefile.bak testparse maxpath *.core core \
gpgwww.o add.o lookup.o main.o maxpath.o onak.o sixdegrees \
clean:
$(RM) $(PROGS) $(OBJS) Makefile.bak testparse maxpath *.core core \
gpgwww.o add.o lookup.o main.o maxpath.o onak.o sixdegrees \
keydctl.o hashquery.o wotsap.o version.h \
TAGS cscope.out cscope.files \
$(foreach be,@BACKENDS@,keydb_$(be).o) *.so
keydctl.o hashquery.o wotsap.o version.h \
TAGS cscope.out cscope.files \
$(foreach be,@BACKENDS@,keydb_$(be).o) *.so