Makefile.com (bd0ce624be4492bab2f6c53383a40618647aba28) | Makefile.com (9890ff8357a674572254e0be06b175a1e8eab4b0) |
---|---|
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 --- 7 unchanged lines hidden (view full) --- 16LIBRARY=libficl-sys.a 17MAJOR = 4 18MINOR = 1.0 19VERS=.$(MAJOR).$(MINOR) 20 21OBJECTS= dictionary.o system.o fileaccess.o float.o double.o prefix.o search.o \ 22 softcore.o stack.o tools.o vm.o primitives.o unix.o utility.o \ 23 hash.o callback.o word.o loader.o pager.o extras.o \ | 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 --- 7 unchanged lines hidden (view full) --- 16LIBRARY=libficl-sys.a 17MAJOR = 4 18MINOR = 1.0 19VERS=.$(MAJOR).$(MINOR) 20 21OBJECTS= dictionary.o system.o fileaccess.o float.o double.o prefix.o search.o \ 22 softcore.o stack.o tools.o vm.o primitives.o unix.o utility.o \ 23 hash.o callback.o word.o loader.o pager.o extras.o \ |
24 loader_emu.o lz4.o | 24 loader_emu.o pnglite.o lz4.o |
25 26include $(SRC)/lib/Makefile.lib 27 28LIBS= $(DYNLIB) $(LINTLIB) 29 30FICLDIR= $(SRC)/common/ficl 31CSTD= $(CSTD_GNU99) | 25 26include $(SRC)/lib/Makefile.lib 27 28LIBS= $(DYNLIB) $(LINTLIB) 29 30FICLDIR= $(SRC)/common/ficl 31CSTD= $(CSTD_GNU99) |
32PNGLITE= $(SRC)/common/pnglite |
|
32CPPFLAGS += -I.. -I$(FICLDIR) -D_LARGEFILE64_SOURCE=1 | 33CPPFLAGS += -I.. -I$(FICLDIR) -D_LARGEFILE64_SOURCE=1 |
34CPPFLAGS += -I$(PNGLITE) |
|
33 34# As variable "count" is marked volatile, gcc 4.4.4 will complain about 35# function argument. So we switch this warning off 36# for time being, till gcc 4.4.4 will be replaced. 37pics/vm.o := CERRWARN += -_gcc=-Wno-clobbered 38 | 35 36# As variable "count" is marked volatile, gcc 4.4.4 will complain about 37# function argument. So we switch this warning off 38# for time being, till gcc 4.4.4 will be replaced. 39pics/vm.o := CERRWARN += -_gcc=-Wno-clobbered 40 |
39LDLIBS += -luuid -lc -lm -lumem | 41LDLIBS += -luuid -lz -lc -lm -lumem |
40 41HEADERS= $(FICLDIR)/ficl.h $(FICLDIR)/ficltokens.h ../ficllocal.h \ | 42 43HEADERS= $(FICLDIR)/ficl.h $(FICLDIR)/ficltokens.h ../ficllocal.h \ |
42 $(FICLDIR)/ficlplatform/unix.h | 44 $(FICLDIR)/ficlplatform/unix.h $(PNGLITE)/pnglite.h |
43 44pics/%.o: ../softcore/%.c $(HEADERS) 45 $(COMPILE.c) -o $@ $< 46 $(POST_PROCESS_O) 47 48pics/%.o: $(FICLDIR)/%.c $(HEADERS) 49 $(COMPILE.c) -o $@ $< 50 $(POST_PROCESS_O) --- 5 unchanged lines hidden (view full) --- 56pics/%.o: $(FICLDIR)/emu/%.c $(HEADERS) 57 $(COMPILE.c) -o $@ $< 58 $(POST_PROCESS_O) 59 60pics/%.o: $(FICLDIR)/softcore/%.c $(HEADERS) 61 $(COMPILE.c) -o $@ $< 62 $(POST_PROCESS_O) 63 | 45 46pics/%.o: ../softcore/%.c $(HEADERS) 47 $(COMPILE.c) -o $@ $< 48 $(POST_PROCESS_O) 49 50pics/%.o: $(FICLDIR)/%.c $(HEADERS) 51 $(COMPILE.c) -o $@ $< 52 $(POST_PROCESS_O) --- 5 unchanged lines hidden (view full) --- 58pics/%.o: $(FICLDIR)/emu/%.c $(HEADERS) 59 $(COMPILE.c) -o $@ $< 60 $(POST_PROCESS_O) 61 62pics/%.o: $(FICLDIR)/softcore/%.c $(HEADERS) 63 $(COMPILE.c) -o $@ $< 64 $(POST_PROCESS_O) 65 |
66pics/%.o: $(PNGLITE)/%.c $(HEADERS) 67 $(COMPILE.c) -o $@ $< 68 $(POST_PROCESS_O) 69 |
|
64$(LINTLIB) := SRCS= ../$(LINTSRC) 65 66all: $(LIBS) 67 68include $(SRC)/lib/Makefile.targ | 70$(LINTLIB) := SRCS= ../$(LINTSRC) 71 72all: $(LIBS) 73 74include $(SRC)/lib/Makefile.targ |