xref: /titanic_52/usr/src/tools/make/lib/makestate/Makefile.com (revision 7fd791373689a6af05e27efec3b1ab556e02aa23)
110d63b7dSRichard Lowe#
210d63b7dSRichard Lowe# This file and its contents are supplied under the terms of the
310d63b7dSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
410d63b7dSRichard Lowe# You may only use this file in accordance with the terms of version
510d63b7dSRichard Lowe# 1.0 of the CDDL.
610d63b7dSRichard Lowe#
710d63b7dSRichard Lowe# A full copy of the text of the CDDL should have accompanied this
810d63b7dSRichard Lowe# source.  A copy of the CDDL is also available via the Internet at
910d63b7dSRichard Lowe# http://www.illumos.org/license/CDDL.
1010d63b7dSRichard Lowe#
1110d63b7dSRichard Lowe
1210d63b7dSRichard Lowe# Copyright 2015, Richard Lowe.
1310d63b7dSRichard Lowe
1410d63b7dSRichard Loweinclude $(SRC)/tools/Makefile.tools
1510d63b7dSRichard Lowe
1610d63b7dSRichard LoweLIBRARY = libmakestate.a
1710d63b7dSRichard LoweVERS = .1
1810d63b7dSRichard LoweOBJECTS = ld_file.o lock.o
1910d63b7dSRichard Lowe
2010d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.lib
2110d63b7dSRichard Loweinclude ../../../Makefile.com
2210d63b7dSRichard Lowe
2310d63b7dSRichard LoweLIBS = $(DYNLIB)
2410d63b7dSRichard LoweSRCDIR = $(SRC)/cmd/make/lib/makestate
2510d63b7dSRichard LoweMAPFILES = $(SRCDIR)/mapfile-vers
2610d63b7dSRichard LoweLDLIBS += -lc
2710d63b7dSRichard Lowe
2810d63b7dSRichard LoweFILEMODE= 755
2910d63b7dSRichard Lowe
3010d63b7dSRichard Loweall: $(LIBS)
3110d63b7dSRichard Lowe
3210d63b7dSRichard Lowelint:
3310d63b7dSRichard Lowe
3410d63b7dSRichard Lowe$(ROOTONBLDLIBMACH)/%: %
3510d63b7dSRichard Lowe	$(INS.file)
3610d63b7dSRichard Lowe
3710d63b7dSRichard Lowe$(ROOTONBLDLIBMACH64)/%: %
3810d63b7dSRichard Lowe	$(INS.file)
3910d63b7dSRichard Lowe
40*7fd79137SRobert Mustacchi# We can't create CTF in the tools build because of a bootstrap bug with the new CTF
41*7fd79137SRobert Mustacchi$(DYNLIB) := CTFMERGE_POST= :
42*7fd79137SRobert MustacchiCTFCONVERT_O= :
43*7fd79137SRobert Mustacchi
4410d63b7dSRichard Loweinclude $(SRC)/lib/Makefile.targ
45