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