xref: /illumos-gate/usr/src/lib/libficl/softcore/Makefile (revision e86c665f2e10cf29ac3b5f93b53c60bef762a690)
1afc2ba1dSToomas Soome#
2afc2ba1dSToomas Soome# This file and its contents are supplied under the terms of the
3afc2ba1dSToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
4afc2ba1dSToomas Soome# You may only use this file in accordance with the terms of version
5afc2ba1dSToomas Soome# 1.0 of the CDDL.
6afc2ba1dSToomas Soome#
7afc2ba1dSToomas Soome# A full copy of the text of the CDDL should have accompanied this
8afc2ba1dSToomas Soome# source.  A copy of the CDDL is also available via the Internet at
9afc2ba1dSToomas Soome# http://www.illumos.org/license/CDDL.
10afc2ba1dSToomas Soome#
11afc2ba1dSToomas Soome
12afc2ba1dSToomas Soome#
13*e86c665fSToomas Soome# Copyright 2018 Toomas Soome <tsoome@me.com>
14afc2ba1dSToomas Soome#
15afc2ba1dSToomas Soome
16*e86c665fSToomas Soomeinclude $(SRC)/Makefile.master
17afc2ba1dSToomas Soome
18afc2ba1dSToomas Soomeinstall all: softcore.c
19afc2ba1dSToomas Soome
20afc2ba1dSToomas SoomeSOFTCORE=	$(SRC)/common/ficl/softcore
21*e86c665fSToomas SoomePROG=		$(ONBLD_TOOLS)/bin/$(MACH)/makesoftcore
22afc2ba1dSToomas Soome
23afc2ba1dSToomas Soome#
24afc2ba1dSToomas Soome# not needed: file access
25afc2ba1dSToomas Soome#
26afc2ba1dSToomas SoomeFR = softcore.fr ifbrack.fr prefix.fr ficl.fr jhlocal.fr marker.fr
2767ab13dcSToomas SoomeFR += freebsd.fr ficllocal.fr oo.fr classes.fr string.fr wordsets.fr
28afc2ba1dSToomas SoomeSOURCES=	$(FR:%=$(SOFTCORE)/%)
29afc2ba1dSToomas Soome
30*e86c665fSToomas Soomesoftcore.c: $(SOURCES)
31*e86c665fSToomas Soome	$(PROG) $(SOURCES)
32afc2ba1dSToomas Soome
33afc2ba1dSToomas Soomeclobber clean:
34*e86c665fSToomas Soome	$(RM) softcore.c
35