summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/admin/Imakefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/admin/Imakefile b/src/admin/Imakefile
index a1b2d5f077..bf79a71198 100644
--- a/src/admin/Imakefile
+++ b/src/admin/Imakefile
@@ -1,16 +1,5 @@
-DEPLIBS = $(KDBLIB) $(DEPKLIB)
-LOCAL_LIBRARIES = $(KDBLIB) $(KLIB)
+#define IHaveSubdirs
+#define PassCDebugFlags
-all:: kdb5_create kdb5_destroy kdb5_stash kdb5_edit
-
-CmdTableObjectRule()
-
-SRCS= kdb5_stash.c kdb5_create.c kdb5_destroy.c kdb5_edit.c kdb5_ed_ct.ct
-
-# needed until we run makedepend
-kdb5_ed_ct.o: kdb5_ed_ct.c
-
-NormalProgramTarget(kdb5_create,kdb5_create.o,$(DEPLIBS),$(LOCAL_LIBRARIES),)
-NormalProgramTarget(kdb5_destroy,kdb5_destroy.o,$(DEPLIBS),$(LOCAL_LIBRARIES),)
-NormalProgramTarget(kdb5_stash,kdb5_stash.o,$(DEPLIBS),$(LOCAL_LIBRARIES),)
-NormalProgramTarget(kdb5_edit,kdb5_edit.o kdb5_ed_ct.o,$(DEPLIBS),$(LOCAL_LIBRARIES) -lss,)
+SUBDIRS=create destroy edit stash
+MakeSubdirs($(SUBDIRS))