File: Makefile

package info (click to toggle)
tripwire 1.2-15
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 1,428 kB
  • ctags: 866
  • sloc: ansic: 7,938; sh: 1,316; makefile: 425; yacc: 413; lex: 133; perl: 101
file content (41 lines) | stat: -rw-r--r-- 835 bytes parent folder | download | duplicates (3)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
# $Id: Makefile,v 1.14 1993/12/15 23:03:40 genek Exp $
#
# 	Tripwire test

DIST=tripwire-1.1
SIGGEN=../src/siggen
TESTDIR=./testfiles
TEMPFILE=@@TRIPWIRE_TEST.0
TEST0KEY=test0.key
HOSTNAME=

all:	OKSIGS test

OKSIGS:	$(SIGGEN) createfiles
	$(SHELL) test0.sh $(SIGGEN) $(TESTDIR) $(TEMPFILE) $(TEST0KEY)
	@rm -rf $(TESTDIR)/t_file*

createfiles:	createfiles.c
	@$(CC) $(CFLAGS) -o createfiles createfiles.c $(LIBS)

OKEXER:
	@$(SHELL) test.twpre.sh
	@$(SHELL) test.update.sh
	@$(SHELL) test.inter.sh
	@$(SHELL) test.escape.sh
	@rm -rf databases
	@touch OKEXER

test:	../src/tripwire OKSIGS OKEXER
	@HOST=`echo $(HOSTNAME)`; \
	CURRPATH=`pwd`;	\
	$(SHELL) test1.sh "$(HOSTNAME)" $(DIST)

../src/tripwire:
	(cd ..; make all)

clean:
	rm -f tw.db_TEST.@ @tw.config createfiles $(TEMPFILE) OKSIGS $(TESTDIR)/t_file* OKEXER

clobber:	clean