xref: /illumos-gate/usr/src/lib/libofmt/Makefile.com (revision 241c90a06e8d1708235651863df515a2d522a03a)
1e96f8419SYuri Pankov#
2e96f8419SYuri Pankov# This file and its contents are supplied under the terms of the
3e96f8419SYuri Pankov# Common Development and Distribution License ("CDDL"), version 1.0.
4e96f8419SYuri Pankov# You may only use this file in accordance with the terms of version
5e96f8419SYuri Pankov# 1.0 of the CDDL.
6e96f8419SYuri Pankov#
7e96f8419SYuri Pankov# A full copy of the text of the CDDL should have accompanied this
8e96f8419SYuri Pankov# source.  A copy of the CDDL is also available via the Internet at
9e96f8419SYuri Pankov# http://www.illumos.org/license/CDDL.
10e96f8419SYuri Pankov#
11e96f8419SYuri Pankov
12e96f8419SYuri Pankov#
13e96f8419SYuri Pankov# Copyright 2017 Nexenta Systems, Inc.
1405ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc.
15e96f8419SYuri Pankov#
16e96f8419SYuri Pankov
17e96f8419SYuri PankovLIBRARY=	libofmt.a
18e96f8419SYuri PankovVERS=		.1
19e96f8419SYuri Pankov
20e96f8419SYuri PankovOBJECTS=	ofmt.o
21e96f8419SYuri Pankov
22e96f8419SYuri Pankovinclude		$(SRC)/lib/Makefile.lib
23e96f8419SYuri Pankovinclude		$(SRC)/lib/Makefile.rootfs
24e96f8419SYuri Pankov
25e96f8419SYuri PankovSRCDIR=		../common
26e96f8419SYuri Pankov
27*241c90a0SRichard LoweLIBS=		$(DYNLIB)
28e96f8419SYuri PankovSRCS=		$(SRCDIR)/ofmt.c
29e96f8419SYuri Pankov
30e96f8419SYuri PankovLDLIBS +=	-lc
31e96f8419SYuri Pankov
3205ede3dbSJohn LevonSMOFF += kmalloc_wrong_size
3305ede3dbSJohn Levon
34e96f8419SYuri Pankov.KEEP_STATE:
35e96f8419SYuri Pankov
36e96f8419SYuri Pankovall:		$(LIBS)
37e96f8419SYuri Pankov
38e96f8419SYuri Pankov
39e96f8419SYuri Pankovinclude		$(SRC)/lib/Makefile.targ
40