1*3625efb1SRichard Lowe# 2*3625efb1SRichard Lowe# This file and its contents are supplied under the terms of the 3*3625efb1SRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0. 4*3625efb1SRichard Lowe# You may only use this file in accordance with the terms of version 5*3625efb1SRichard Lowe# 1.0 of the CDDL. 6*3625efb1SRichard Lowe# 7*3625efb1SRichard Lowe# A full copy of the text of the CDDL should have accompanied this 8*3625efb1SRichard Lowe# source. A copy of the CDDL is also available via the Internet at 9*3625efb1SRichard Lowe# http://www.illumos.org/license/CDDL. 10*3625efb1SRichard Lowe# 11*3625efb1SRichard Lowe 12*3625efb1SRichard Lowe# Copyright 2015, Richard Lowe. 13*3625efb1SRichard Lowe 14*3625efb1SRichard LoweLIBRARY = libmksh.a 15*3625efb1SRichard LoweVERS = .1 16*3625efb1SRichard LoweOBJECTS = dosys.o \ 17*3625efb1SRichard Lowe globals.o \ 18*3625efb1SRichard Lowe i18n.o \ 19*3625efb1SRichard Lowe macro.o \ 20*3625efb1SRichard Lowe misc.o \ 21*3625efb1SRichard Lowe mksh.o \ 22*3625efb1SRichard Lowe read.o 23*3625efb1SRichard Lowe 24*3625efb1SRichard Loweinclude $(SRC)/lib/Makefile.lib 25*3625efb1SRichard Loweinclude ../../Makefile.com 26*3625efb1SRichard Lowe 27*3625efb1SRichard LowePOFILE = libmksh.po 28*3625efb1SRichard LowePOFILES = $(OBJECTS:%.o=%.po) 29*3625efb1SRichard Lowe 30*3625efb1SRichard LoweLIBS = $(LIBRARY) 31*3625efb1SRichard LoweSRCDIR = ../ 32*3625efb1SRichard LoweMAPFILES= 33*3625efb1SRichard LoweCPPFLAGS += -D_FILE_OFFSET_BITS=64 34*3625efb1SRichard Lowe 35*3625efb1SRichard Loweall: $(LIBS) 36*3625efb1SRichard Lowe 37*3625efb1SRichard Loweinstall: all 38*3625efb1SRichard Lowe 39*3625efb1SRichard Lowelint: 40*3625efb1SRichard Lowe 41*3625efb1SRichard Lowe$(POFILE): $(POFILES) 42*3625efb1SRichard Lowe $(CAT) $(POFILES) > $@ 43*3625efb1SRichard Lowe 44*3625efb1SRichard Lowe_msg: $(MSGDOMAIN) $(POFILE) 45*3625efb1SRichard Lowe $(RM) $(MSGDOMAIN)/$(POFILE) 46*3625efb1SRichard Lowe $(CP) $(POFILE) $(MSGDOMAIN) 47*3625efb1SRichard Lowe 48*3625efb1SRichard Loweinclude $(SRC)/lib/Makefile.targ 49