magic/utils/Makefile.in

32 lines
1.2 KiB
Makefile

#
# rcsid $Header: /usr/cvsroot/magic-8.0/utils/Makefile,v 1.2 2008/12/04 16:21:44 tim Exp $
#
MODULE = utils
# 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@
LIB_SRCS = LIBdbio.c LIBmain.c LIBtextio.c
SRCS = args.c buildinfo.c child.c dqueue.c finddisp.c flock.c flsbuf.c fraction.c \
geometry.c getrect.c hash.c heap.c ihash.c list.c lookup.c \
lookupany.c lookupfull.c macros.c main.c malloc.c match.c \
maxrect.c netlist.c niceabort.c parser.c path.c pathvisit.c \
port.c printstuff.c signals.c stack.c strdup.c runstats.c set.c \
show.c tech.c touchtypes.c undo.c
include ${MAGICDIR}/defs.mak
# The following required to pass XLIB to the macros.c routines.
DFLAGS += ${GR_DFLAGS}
CFLAGS += ${GR_CFLAGS}
include ${MAGICSRC}/rules.mak
# buildinfo.c is the ONLY unit that consumes the version defines; they are no
# longer on the global DFLAGS (that kept the ever-changing MAGIC_BUILDDATE off
# every other compile command line, so ccache/sccache keys stay stable). Apply
# them just here, target-specifically.
buildinfo.o: DFLAGS += ${DFLAGS_MAGICVERSION}