Last change
on this file since 248 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
|
Rev | Line | |
---|
[180] | 1 | # $Id: Makefile 143 2009-02-13 03:24:27Z tim $ |
---|
| 2 | |
---|
| 3 | ################################################################################ |
---|
| 4 | CC=gcc |
---|
| 5 | OPTS=-std=gnu99 -pedantic -Wall -ggdb |
---|
| 6 | INC:=-I../trunk/include -I../trunk/src -I/usr/local/include |
---|
[228] | 7 | LIB=-L/usr/local/lib -lm -lpthread -ltalloc |
---|
[180] | 8 | |
---|
| 9 | REGFI_THREADTEST=regfi-threadtest |
---|
| 10 | OBJ=$(wildcard ../trunk/lib/*.o) |
---|
| 11 | FILES=$(REGFI_THREADTEST) |
---|
| 12 | |
---|
| 13 | all: deps $(FILES) |
---|
| 14 | |
---|
| 15 | deps: |
---|
[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 | |
---|
| 21 | regfi-threadtest.o: regfi-threadtest.c |
---|
| 22 | $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ regfi-threadtest.c |
---|
| 23 | |
---|
| 24 | clean: |
---|
| 25 | rm -f *.o $(FILES) |
---|
Note: See
TracBrowser
for help on using the repository browser.