summaryrefslogtreecommitdiffstats
path: root/utils/Makefile
blob: d7a25bea354d83d97e0fc32f4c67fe5e74fd3958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LOADLIBES =  -L../isys -lisys -lpopt
CFLAGS = -Wall -g
LDFLAGS = -g 

all:	modlist moddeps genhdlist snarffont

moddeps: moddeps.o
	$(CC) $(LDFLAGS) -o moddeps moddeps.o ../loader/modules.o \
            $(LOADLIBES) \
	    ../isys/modutils/insmod/libmodutils.a    \
	    ../isys/modutils/util/libutil.a          \
	    ../isys/modutils/obj/libobj.a -lrpm -lbz2 -lz -lpopt

genhdlist: genhdlist.c
	$(CC) -I/usr/include/rpm $(LDFLAGS) -o genhdlist genhdlist.c -lrpm -lbz2 -static -lz -lpopt

snarffont: snarffont.c
	$(CC) -o snarffont snarffont.c

install:
	@echo "nothing to do"		

clean:	
	rm -f modlist genhdlist moddeps snarffont *.o