1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2017 Nexenta Systems, Inc.
14 # Copyright 2011 EveryCity Ltd. All rights reserved.
15 # Copyright 2013 DEY Storage Systems, Inc.
16 # Copyright 2016 Joyent, Inc.
17 #
18
19 include $(SRC)/cmd/Makefile.cmd
20 include $(SRC)/cmd/Makefile.ctf
21 include $(SRC)/cmd/localedef/Makefile.common
22
23 LDLIBS= -lavl -lgen
24
25 .KEEP_STATE:
26
27 all: $(PROG)
28
29 parser.tab.c parser.tab.h: parser.y localedef.h
30 $(YACC) $(YFLAGS) parser.y
31
32 $(OBJS): parser.tab.h
33
34 $(PROG): $(OBJS)
35 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
36 $(POST_PROCESS)
37
38 $(POFILE): $(PIFILES)
39 $(RM) $@
40 $(RM) messages.po
41 $(XGETTEXT) -s $(PIFILES)
42 $(SED) -e '/domain/d' messages.po > $@
43 $(RM) $(PIFILES) messages.po
|
1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2017 Nexenta Systems, Inc.
14 # Copyright 2011 EveryCity Ltd. All rights reserved.
15 # Copyright 2013 DEY Storage Systems, Inc.
16 # Copyright 2016 Joyent, Inc.
17 # Copyright 2017 RackTop Systems.
18 #
19
20 include $(SRC)/cmd/Makefile.cmd
21 include $(SRC)/cmd/Makefile.ctf
22 include $(SRC)/cmd/localedef/Makefile.common
23
24 LDLIBS += -lavl -lgen
25
26 .KEEP_STATE:
27
28 all: $(PROG)
29
30 parser.tab.c parser.tab.h: parser.y localedef.h
31 $(YACC) $(YFLAGS) parser.y
32
33 $(OBJS): parser.tab.h
34
35 $(PROG): $(OBJS)
36 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
37 $(POST_PROCESS)
38
39 $(POFILE): $(PIFILES)
40 $(RM) $@
41 $(RM) messages.po
42 $(XGETTEXT) -s $(PIFILES)
43 $(SED) -e '/domain/d' messages.po > $@
44 $(RM) $(PIFILES) messages.po
|