2N/A#
2N/A# This file and its contents are supplied under the terms of the
2N/A# Common Development and Distribution License ("CDDL"), version 1.0.
2N/A# You may only use this file in accordance with the terms of version
2N/A# 1.0 of the CDDL.
2N/A#
2N/A# A full copy of the text of the CDDL should have accompanied this
2N/A# source. A copy of the CDDL is also available via the Internet at
2N/A# http://www.illumos.org/license/CDDL.
2N/A#
2N/A
2N/A#
2N/A# Copyright 2016 Toomas Soome <tsoome@me.com>
2N/A#
2N/A
2N/Ainclude $(SRC)/tools/Makefile.tools
2N/A
2N/Ainstall all: softcore.c
2N/A
2N/ASOFTCORE= $(SRC)/common/ficl/softcore
2N/APROG = makesoftcore
2N/A
2N/A#
2N/A# not needed: file access
2N/A#
2N/AFR = softcore.fr ifbrack.fr prefix.fr ficl.fr jhlocal.fr marker.fr
2N/AFR += freebsd.fr ficllocal.fr oo.fr classes.fr string.fr wordsets.fr
2N/ASOURCES= $(FR:%=$(SOFTCORE)/%)
2N/A
2N/AOBJS= makesoftcore.o lz4.o
2N/ASRCS= makesoftcore.c lz4.c
2N/ALDLIBS= -lumem
2N/A
2N/ACPPFLAGS += -I.. -I$(SRC)/common/ficl
2N/A
2N/Asoftcore.c: $(PROG) $(SOURCES)
2N/A ./$(PROG) $(SOURCES)
2N/A
2N/A$(PROG): $(OBJS)
2N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
2N/A
2N/A%.o: $(SOFTCORE)/%.c
2N/A $(COMPILE.c) $<
2N/A
2N/Aclobber clean:
2N/A $(RM) softcore.c $(OBJS) $(PROG)
2N/A