BigW Consortium Gitlab

Commit 5dac1f0b by Forest Godfrey

First pass at basic build system. Requires build-support from littlevgl_build…

First pass at basic build system. Requires build-support from littlevgl_build repo (find on Github)
parent 47fb0afe
**/*.o
\ No newline at end of file
**/*.o
libvgl.a
TOPDIR?=../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=lv_core lv_draw lv_hal lv_misc lv_objx lv_themes
PROGS=libvgl.a
INSTDIR=$(INSTALLROOT)/include/lvgl
all: headers build install
build: $(PROGS)
install:
install -m 755 -d $(INSTALLROOT)/lib
install -m 555 libvgl.a $(INSTALLROOT)/lib
headers:
for DIR in $(SUBDIRS) ; do \
$(MAKE) -C $$DIR headers TOPDIR=$(TOPDIR)/.. ; \
done
$(INSTALL) -d -m 755 $(INSTDIR)
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
libvgl.a:
for DIR in $(SUBDIRS) ; do \
$(MAKE) -C $$DIR build TOPDIR=$(TOPDIR)/.. ; \
done
$(AR) $(AROPTS) $@ */*.o */*/*.o
$(RANLIB) $@
include $(TOPDIR)/build-support/base-rules.mk
TOPDIR?=../../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=
PROGS=
OBJS += lv_group.o
OBJS += lv_indev.o
OBJS += lv_obj.o
OBJS += lv_refr.o
OBJS += lv_style.o
OBJS += lv_vdb.o
INSTDIR=$(INSTALLROOT)/include/lvgl/lv_core
all: headers build install
build: $(OBJS)
install:
install -m 755 -d $(INSTALLROOT)/lib
install -m 555 libvgl.a $(INSTALLROOT)/lib
headers:
$(INSTALL) -d -m 755 $(INSTDIR)
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
include $(TOPDIR)/build-support/base-rules.mk
TOPDIR?=../../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=
PROGS=
OBJS += lv_draw_vbasic.o
OBJS += lv_draw.o
OBJS += lv_draw_rbasic.o
INSTDIR=$(INSTALLROOT)/include/lvgl/lv_draw
all: headers build install
build: $(OBJS)
install:
install -m 755 -d $(INSTALLROOT)/lib
install -m 555 libvgl.a $(INSTALLROOT)/lib
headers:
$(INSTALL) -d -m 755 $(INSTDIR)
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
include $(TOPDIR)/build-support/base-rules.mk
TOPDIR?=../../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=
PROGS=
OBJS += lv_hal_disp.o
OBJS += lv_hal_indev.o
OBJS += lv_hal_tick.o
INSTDIR=$(INSTALLROOT)/include/lvgl/lv_hal
all: headers build install
build: $(OBJS)
install:
install -m 755 -d $(INSTALLROOT)/lib
install -m 555 libvgl.a $(INSTALLROOT)/lib
headers:
$(INSTALL) -d -m 755 $(INSTDIR)
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
include $(TOPDIR)/build-support/base-rules.mk
TOPDIR?=../../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=lv_fonts
PROGS=
OBJS += lv_font.o
OBJS += lv_circ.o
OBJS += lv_area.o
OBJS += lv_task.o
OBJS += lv_fs.o
OBJS += lv_anim.o
OBJS += lv_mem.o
OBJS += lv_ll.o
OBJS += lv_color.o
OBJS += lv_txt.o
OBJS += lv_ufs.o
OBJS += lv_trigo.o
OBJS += lv_math.o
INSTDIR=$(INSTALLROOT)/include/lvgl/lv_misc
all: headers build install
build: $(OBJS)
for DIR in $(SUBDIRS) ; do \
$(MAKE) -C $$DIR build TOPDIR=$(TOPDIR)/.. ; \
done
install: ;
headers:
$(INSTALL) -d -m 755 $(INSTDIR)
for DIR in $(SUBDIRS) ; do \
$(MAKE) -C $$DIR headers TOPDIR=$(TOPDIR)/.. ; \
done
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
include $(TOPDIR)/build-support/base-rules.mk
TOPDIR?=../../../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=
PROGS=
OBJS += lv_font_dejavu_10.o
OBJS += lv_font_dejavu_20.o
OBJS += lv_font_dejavu_30.o
OBJS += lv_font_dejavu_40.o
OBJS += lv_font_dejavu_10_cyrillic.o
OBJS += lv_font_dejavu_20_cyrillic.o
OBJS += lv_font_dejavu_30_cyrillic.o
OBJS += lv_font_dejavu_40_cyrillic.o
OBJS += lv_font_dejavu_10_latin_sup.o
OBJS += lv_font_dejavu_20_latin_sup.o
OBJS += lv_font_dejavu_30_latin_sup.o
OBJS += lv_font_dejavu_40_latin_sup.o
OBJS += lv_font_symbol_10.o
OBJS += lv_font_symbol_20.o
OBJS += lv_font_symbol_30.o
OBJS += lv_font_symbol_40.o
INSTDIR=$(INSTALLROOT)/include/lvgl/lv_misc/lv_fonts
all: headers build install
build: $(OBJS)
install:
install -m 755 -d $(INSTALLROOT)/lib
install -m 555 libvgl.a $(INSTALLROOT)/lib
headers:
$(INSTALL) -d -m 755 $(INSTDIR)
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
include $(TOPDIR)/build-support/base-rules.mk
TOPDIR?=../../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=
PROGS=
OBJS += lv_bar.o
OBJS += lv_cb.o
OBJS += lv_ddlist.o
OBJS += lv_kb.o
OBJS += lv_line.o
OBJS += lv_mbox.o
OBJS += lv_roller.o
OBJS += lv_tabview.o
OBJS += lv_btn.o
OBJS += lv_chart.o
OBJS += lv_gauge.o
OBJS += lv_label.o
OBJS += lv_list.o
OBJS += lv_slider.o
OBJS += lv_ta.o
OBJS += lv_btnm.o
OBJS += lv_cont.o
OBJS += lv_img.o
OBJS += lv_led.o
OBJS += lv_lmeter.o
OBJS += lv_page.o
OBJS += lv_sw.o
OBJS += lv_win.o
INSTDIR=$(INSTALLROOT)/include/lvgl/lv_objx
all: headers build install
build: $(OBJS)
install:
install -m 755 -d $(INSTALLROOT)/lib
install -m 555 libvgl.a $(INSTALLROOT)/lib
headers:
$(INSTALL) -d -m 755 $(INSTDIR)
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
include $(TOPDIR)/build-support/base-rules.mk
TOPDIR?=../../..
include $(TOPDIR)/build-support/globals.mk
SUBDIRS=
PROGS=
OBJS += lv_theme_alien.o
OBJS += lv_theme.o
OBJS += lv_theme_default.o
OBJS += lv_theme_night.o
OBJS += lv_theme_templ.o
OBJS += lv_theme_zen.o
OBJS += lv_theme_material.o
INSTDIR=$(INSTALLROOT)/include/lvgl/lv_themes
all: headers build install
build: $(OBJS)
install:
install -m 755 -d $(INSTALLROOT)/lib
install -m 555 libvgl.a $(INSTALLROOT)/lib
headers:
$(INSTALL) -d -m 755 $(INSTDIR)
for file in *.h ; do \
$(INSTALL) -m 444 $$file $(INSTDIR) ; \
done
clean:
rm -f $(PROGS) *.o
include $(TOPDIR)/build-support/base-rules.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment