source: TI12-security/trunk/python/Tests/xmlsec/Makefile @ 1415

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/xmlsec/Makefile@1415
Revision 1415, 563 bytes checked in by pjkersha, 13 years ago (diff)

Include XML Security test programs.

Line 
1PROGRAM = encrypt4
2PROGRAM_FILES = $(PROGRAM).c
3VALGRIND_FLAGS=-O0 -O1
4
5PKG_CONFIG_PATH=/usr/local/NDG/lib/pkgconfig
6
7CFLAGS  += -g $(VALGRIND_FLAGS) \
8$(shell pkg-config \
9--define-variable=prefix=/usr/local/NDG \
10--define-variable=libdir=/usr/local/NDG/lib --cflags xmlsec1)
11LDFLAGS += #-L/usr/local/NDG/lib
12LIBS    += $(shell pkg-config \
13--define-variable=prefix=/usr/local/NDG \
14--define-variable=libdir=/usr/local/NDG/lib --libs xmlsec1)
15
16all: $(PROGRAM)
17
18%: %.c
19        $(CC) $(PROGRAM_FILES) $(CFLAGS) $(LDFLAGS) -o $(PROGRAM) $(LIBS)
20
21clean:
22        @rm -rf $(PROGRAM)
Note: See TracBrowser for help on using the repository browser.