xref: /illumos-gate/usr/src/tools/vtfontcvt/Makefile (revision 0192a1da4f5588bb2a0e7534d596f69fedcc3858)
14b529e40SToomas Soome#
24b529e40SToomas Soome# This file and its contents are supplied under the terms of the
34b529e40SToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
44b529e40SToomas Soome# You may only use this file in accordance with the terms of version
54b529e40SToomas Soome# 1.0 of the CDDL.
64b529e40SToomas Soome#
74b529e40SToomas Soome# A full copy of the text of the CDDL should have accompanied this
84b529e40SToomas Soome# source.  A copy of the CDDL is also available via the Internet at
94b529e40SToomas Soome# http://www.illumos.org/license/CDDL.
104b529e40SToomas Soome#
114b529e40SToomas Soome
124b529e40SToomas Soome#
134b529e40SToomas Soome# Copyright 2017 Toomas Soome <tsoome@me.com>
14*0192a1daSAndy Fiddaman# Copyright 2023 OmniOS Community Edition (OmniOSce) Association.
154b529e40SToomas Soome#
164b529e40SToomas Soome
174b529e40SToomas SoomeCMDDIR=		$(SRC)/cmd/vtfontcvt
184b529e40SToomas Soome
194b529e40SToomas Soomeinclude		../Makefile.tools
204b529e40SToomas Soomeinclude		$(CMDDIR)/Makefile.common
214b529e40SToomas Soome
225801b0f0SToomas SoomeNATIVE_LIBS	+= libumem.so
23*0192a1daSAndy FiddamanCPPFLAGS	+= -I$(LZ4)
2410ae99eeSToomas SoomeCPPFLAGS	+= -I../../uts/common
254b529e40SToomas Soome.KEEP_STATE:
264b529e40SToomas Soome
274b529e40SToomas Soomeall:		$(PROG)
284b529e40SToomas Soome
294b529e40SToomas Soomeinstall:	all .WAIT $(ROOTONBLDMACHPROG)
304b529e40SToomas Soome
314b529e40SToomas Soomeclean:
324b529e40SToomas Soome		$(RM) $(PROG) $(OBJS)
334b529e40SToomas Soome
344b529e40SToomas Soome$(PROG):	$(OBJS)
354b529e40SToomas Soome		$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
364b529e40SToomas Soome		$(POST_PROCESS)
374b529e40SToomas Soome
384b529e40SToomas Soome%.o:		$(CMDDIR)/%.c
394b529e40SToomas Soome		$(COMPILE.c) -o $@ $<
404b529e40SToomas Soome
414b529e40SToomas Soomeinclude		../Makefile.targ
42