Print this page
make: translate using gettext, rather than the unmaintainable catgets
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/make/lib/vroot/Makefile
+++ new/usr/src/cmd/make/lib/vroot/Makefile
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 # Copyright 2015, Richard Lowe.
13 13
14 14 LIBRARY = libvroot.a
15 15 VERS = .1
16 16 OBJECTS = access.o \
17 17 args.o \
18 18 chdir.o \
19 19 chmod.o \
20 20 chown.o \
21 21 chroot.o \
22 22 creat.o \
23 23 execve.o \
24 24 lock.o \
25 25 lstat.o \
26 26 mkdir.o \
27 27 mount.o \
28 28 open.o \
29 29 readlink.o \
30 30 report.o \
31 31 rmdir.o \
↓ open down ↓ |
31 lines elided |
↑ open up ↑ |
32 32 stat.o \
33 33 truncate.o \
34 34 unlink.o \
35 35 utimes.o \
36 36 vroot.o \
37 37 setenv.o
38 38
39 39 include $(SRC)/lib/Makefile.lib
40 40 include ../../Makefile.com
41 41
42 +POFILE = libvroot.po
43 +POFILES = $(OBJECTS:%.o=%.po)
44 +
42 45 LIBS = $(LIBRARY)
43 46 SRCDIR = ../
44 47 MAPFILES=
45 48 CPPFLAGS += -D_FILE_OFFSET_BITS=64
46 49
47 50 all: $(LIBS)
48 51
49 52 install: all
50 53
51 54 lint:
52 55
56 +$(POFILE): $(POFILES)
57 + $(CAT) $(POFILES) > $@
58 +
59 +_msg: $(MSGDOMAIN) $(POFILE)
60 + $(RM) $(MSGDOMAIN)/$(POFILE)
61 + $(CP) $(POFILE) $(MSGDOMAIN)
62 +
53 63 include $(SRC)/lib/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX