blob: 6406cea2d2569132f442a9a6f84056a988ae0dfe (
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
|
LSBPKGCHK_VERSION=unofficial
CFLAGS=-g -DLSBVERSION=\"$$LSBVERSION\" -DLSBPKGCHK_VERSION=\"$(LSBPKGCHK_VERSION)\" -Wall -I../rpmchk
OBJS=pkgchk.o
LIB=../rpmchk/librpmchk.a ../tetj/libtetj.a
all: pkgchk
pkgchk: $(OBJS) $(LIB)
$(CC) $(CFLAGS) -o pkgchk $(OBJS) $(LIB) -lz
install:
install -d $(INSTALL_ROOT)/$(BINDIR)
install pkgchk $(INSTALL_ROOT)/$(BINDIR)/lsbpkgchk
install -d $(INSTALL_ROOT)/$(MANDIR)/man1
install lsbpkgchk.1 $(INSTALL_ROOT)/$(MANDIR)/man1/lsbpkgchk.1
clean:
rm -f $(OBJS) pkgchk
distclean: clean
test_journal: test_journal.o tetj.o
$(CC) $(CFLAGS) -o test_journal test_journal.o tetj.o
|