File: Makefile

package info (click to toggle)
gfxboot 4.5.103-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,212 kB
  • sloc: asm: 12,810; perl: 5,188; ansic: 4,018; pascal: 2,266; makefile: 569; xml: 256; sh: 235
file content (28 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
BINDIR   := $(shell [ -x ../../mkbootmsg ] && echo ../../ )
MKBOOTMSG = $(BINDIR)mkbootmsg
BFLAGS    = -O -v -L ../..

ifneq ($(BINDIR),)
  BM_TARGET := $(MKBOOTMSG)
endif

.PHONY: all prep themes clean distclean

all: themes

prep:

themes: bootlogo

bootlogo: test.ps normal.fnt $(BM_TARGET)
	$(MKBOOTMSG) $(BFLAGS) -l log -c $< init
	echo -e "init\ncat.jpg\nnormal.fnt" | cpio -o >bootlogo

normal.fnt:
	../../mkblfont -v -l 32 -f DejaVuSans:size=32 normal.fnt >normal.fnt.log

clean:
	rm -f *~ log init bootlogo normal.*

distclean: clean