source: test/Makefile @ 290

Last change on this file since 290 was 228, checked in by tim, 14 years ago

added a test case for pyregfi multithreaded use
updated the regfi multithreaded test case
fixed several ctypes interface problems in pyregfi
added locking to pyregfi iterators for thread safety
fixed regfi talloc race conditions with an additional lock

File size: 677 bytes
Line 
1# $Id: Makefile 143 2009-02-13 03:24:27Z tim $
2
3################################################################################
4CC=gcc
5OPTS=-std=gnu99 -pedantic -Wall -ggdb
6INC:=-I../trunk/include -I../trunk/src -I/usr/local/include
7LIB=-L/usr/local/lib -lm -lpthread -ltalloc
8
9REGFI_THREADTEST=regfi-threadtest
10OBJ=$(wildcard ../trunk/lib/*.o)
11FILES=$(REGFI_THREADTEST)
12
13all: deps $(FILES)
14
15deps:
16        cd ../trunk && scons libregfi
17
18$(REGFI_THREADTEST): regfi-threadtest.o
19        $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ regfi-threadtest.o $(OBJ) $(EXTRA_OBJ)
20
21regfi-threadtest.o: regfi-threadtest.c
22        $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ regfi-threadtest.c
23
24clean:
25        rm -f *.o $(FILES)
Note: See TracBrowser for help on using the repository browser.