# # rcsid $Header: /usr/cvsroot/magic-8.0/commands/Makefile,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $ # MODULE = commands # Provided by configure: the module's source dir + the build top. # defs.mak sees `srcdir` already set and skips its own srcdir derivation. srcdir = @srcdir@ VPATH = @srcdir@ MAGICDIR = @top_builddir@ SRCS = CmdSubrs.c CmdAB.c CmdCD.c CmdE.c CmdFI.c \ CmdLQ.c CmdRS.c CmdTZ.c CmdWizard.c CmdAuto.c # Force the module to regenerate the symbolic link in the readline # directory, as it may be needed by CmdFI.c (in the non-Tcl compile) module: ${MAGICDIR}/readline/readline lib${MODULE}.o # Delegate this task to the readline/Makefile ${MAGICDIR}/readline/readline: ${MAKE} -C ${MAGICDIR}/readline readline-create-symlinks include ${MAGICDIR}/defs.mak include ${MAGICSRC}/rules.mak