xref: /illumos-gate/usr/src/lib/libofmt/Makefile.com (revision 745cad278f6b2e392001dd1bf6b4e95d3f250a8d)
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.
14e96f8419SYuri Pankov#
15e96f8419SYuri Pankov
16e96f8419SYuri PankovLIBRARY=	libofmt.a
17e96f8419SYuri PankovVERS=		.1
18e96f8419SYuri Pankov
19e96f8419SYuri PankovOBJECTS=	ofmt.o
20e96f8419SYuri Pankov
21e96f8419SYuri Pankovinclude		$(SRC)/lib/Makefile.lib
22e96f8419SYuri Pankovinclude		$(SRC)/lib/Makefile.rootfs
23e96f8419SYuri Pankov
24e96f8419SYuri PankovSRCDIR=		../common
25e96f8419SYuri Pankov
26e96f8419SYuri PankovLIBS=		$(DYNLIB) $(LINTLIB)
27e96f8419SYuri PankovSRCS=		$(SRCDIR)/ofmt.c
28e96f8419SYuri Pankov
29*745cad27SRobert Mustacchi$(LINTLIB)	:= SRCS = $(SRCDIR)/$(LINTSRC)
30e96f8419SYuri PankovLDLIBS +=	-lc
31e96f8419SYuri Pankov
32e96f8419SYuri Pankov.KEEP_STATE:
33e96f8419SYuri Pankov
34e96f8419SYuri Pankovall:		$(LIBS)
35e96f8419SYuri Pankov
36e96f8419SYuri Pankovlint:		lintcheck
37e96f8419SYuri Pankov
38e96f8419SYuri Pankovinclude		$(SRC)/lib/Makefile.targ
39