Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 67b05ff in mainline for uspace/srv/hid/console/Makefile


Ignore:
Timestamp:
2011-08-10T18:34:23Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
c6f08726
Parents:
62e29ae
Message:

cherrypick from fb server rewrite: store images as Truevision TGA (instead of PPM) and use a library to decode them into image maps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/console/Makefile

    r62e29ae r67b05ff  
    2929
    3030USPACE_PREFIX = ../../..
     31LIBS = $(LIBIMGMAP_PREFIX)/libimgmap.a
     32EXTRA_CFLAGS += -I$(LIBIMGMAP_PREFIX)
    3133BINARY = console
    3234
     
    3436        console.c \
    3537        keybuffer.c \
     38        images.c \
    3639        gcons.c
    3740
    38 IMAGES = \
    39         gfx/helenos.ppm \
    40         gfx/nameic.ppm \
     41IMAGES_OLD = \
    4142        gfx/cons_selected.ppm \
    4243        gfx/cons_idle.ppm \
     
    4849        gfx/anim_4.ppm
    4950
     51IMAGES = \
     52        gfx/helenos.tga \
     53        gfx/nameic.tga
     54
    5055SOURCES = \
    5156        $(GENERIC_SOURCES) \
    52         $(IMAGES)
     57        $(IMAGES_OLD)
     58
     59PRE_DEPEND = images.c images.h
     60EXTRA_CLEAN = images.c images.h
    5361
    5462include $(USPACE_PREFIX)/Makefile.common
     
    5664%.o: %.ppm
    5765        $(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) $< $@
     66
     67images.c images.h: $(IMAGES)
     68        $(ROOT_PATH)/tools/mkarray.py images CONSOLE_IMAGES $^
Note: See TracChangeset for help on using the changeset viewer.