Print this page
12312 fix unused lib dependencies
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libficl/Makefile.com
+++ new/usr/src/lib/libficl/Makefile.com
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
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
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 #
13 13 # Copyright 2016 Toomas Soome <tsoome@me.com>
14 14 #
15 -# Copyright (c) 2018, Joyent, Inc.
15 +# Copyright 2020 Joyent, Inc.
16 16
17 17 LIBRARY=libficl-sys.a
18 18 MAJOR = 4
19 19 MINOR = 1.0
20 20 VERS=.$(MAJOR).$(MINOR)
21 21
22 22 OBJECTS= dictionary.o system.o fileaccess.o float.o double.o prefix.o search.o \
23 23 softcore.o stack.o tools.o vm.o primitives.o unix.o utility.o \
24 24 hash.o callback.o word.o loader.o pager.o extras.o \
25 25 loader_emu.o gfx_fb.o pnglite.o lz4.o
26 26
27 27 include $(SRC)/lib/Makefile.lib
28 28
29 29 LIBS= $(DYNLIB)
30 30 FICLDIR= $(SRC)/common/ficl
31 31 LZ4= $(SRC)/common/lz4
32 32 CSTD= $(CSTD_GNU99)
33 33 PNGLITE= $(SRC)/common/pnglite
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
34 34 CPPFLAGS += -I.. -I$(FICLDIR) -I$(FICLDIR)/emu -D_LARGEFILE64_SOURCE=1
35 35 CPPFLAGS += -I$(PNGLITE) -I$(LZ4)
36 36 CFLAGS += $(C_BIGPICFLAGS)
37 37 CFLAGS64 += $(C_BIGPICFLAGS64)
38 38
39 39 # As variable "count" is marked volatile, gcc 4.4.4 will complain about
40 40 # function argument. So we switch this warning off
41 41 # for time being, till gcc 4.4.4 will be replaced.
42 42 pics/vm.o := CERRWARN += -_gcc=-Wno-clobbered
43 43
44 -LDLIBS += -luuid -lz -lc -lm -lumem
44 +LDLIBS += -lumem -luuid -lz -lc -lm
45 45 NATIVE_LIBS += libz.so
46 46
47 47 HEADERS= $(FICLDIR)/ficl.h $(FICLDIR)/ficltokens.h ../ficllocal.h \
48 48 $(FICLDIR)/ficlplatform/unix.h $(PNGLITE)/pnglite.h
49 49
50 50 pics/%.o: ../softcore/%.c $(HEADERS)
51 51 $(COMPILE.c) -o $@ $<
52 52 $(POST_PROCESS_O)
53 53
54 54 pics/%.o: $(FICLDIR)/%.c $(HEADERS)
55 55 $(COMPILE.c) -o $@ $<
56 56 $(POST_PROCESS_O)
57 57
58 58 pics/%.o: $(FICLDIR)/ficlplatform/%.c $(HEADERS)
59 59 $(COMPILE.c) -o $@ $<
60 60 $(POST_PROCESS_O)
61 61
62 62 pics/%.o: $(FICLDIR)/emu/%.c $(HEADERS)
63 63 $(COMPILE.c) -o $@ $<
64 64 $(POST_PROCESS_O)
65 65
66 66 pics/%.o: $(LZ4)/%.c $(HEADERS)
67 67 $(COMPILE.c) -o $@ $<
68 68 $(POST_PROCESS_O)
69 69
70 70 pics/%.o: $(PNGLITE)/%.c $(HEADERS)
71 71 $(COMPILE.c) -o $@ $<
72 72 $(POST_PROCESS_O)
73 73
74 74 all: $(LIBS)
75 75
76 76 include $(SRC)/lib/Makefile.targ
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX