source: test/Makefile @ 273

Last change on this file since 273 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
RevLine 
[180]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
[228]7LIB=-L/usr/local/lib -lm -lpthread -ltalloc
[180]8
9REGFI_THREADTEST=regfi-threadtest
10OBJ=$(wildcard ../trunk/lib/*.o)
11FILES=$(REGFI_THREADTEST)
12
13all: deps $(FILES)
14
15deps:
[228]16        cd ../trunk && scons libregfi
[180]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.