xref: /illumos-gate/usr/src/lib/libofmt/Makefile.com (revision 05ede3db5e3b7d540afbccdc872c735770e82ef3)
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.
14*05ede3dbSJohn 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
27e96f8419SYuri PankovLIBS=		$(DYNLIB) $(LINTLIB)
28e96f8419SYuri PankovSRCS=		$(SRCDIR)/ofmt.c
29e96f8419SYuri Pankov
30745cad27SRobert Mustacchi$(LINTLIB)	:= SRCS = $(SRCDIR)/$(LINTSRC)
31e96f8419SYuri PankovLDLIBS +=	-lc
32e96f8419SYuri Pankov
33*05ede3dbSJohn LevonSMOFF += kmalloc_wrong_size
34*05ede3dbSJohn Levon
35e96f8419SYuri Pankov.KEEP_STATE:
36e96f8419SYuri Pankov
37e96f8419SYuri Pankovall:		$(LIBS)
38e96f8419SYuri Pankov
39e96f8419SYuri Pankovlint:		lintcheck
40e96f8419SYuri Pankov
41e96f8419SYuri Pankovinclude		$(SRC)/lib/Makefile.targ
42