mirror of https://github.com/BOINC/boinc.git
61 lines
1.1 KiB
Makefile
61 lines
1.1 KiB
Makefile
DEPTH = ..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
VERSION = 1
|
|
|
|
CFLAGS = -g
|
|
|
|
CC = @CC@ $(CFLAGS) -I ../RSAEuro/source
|
|
|
|
PROGS = md5_test shmem_test synch_test crypt_prog
|
|
|
|
MD5_OBJS = \
|
|
md5.o \
|
|
md5_file.o
|
|
|
|
CRYPT_OBJS = \
|
|
crypt.o
|
|
|
|
CRYPT_LIBS = \
|
|
$(MD5_OBJS) \
|
|
../RSAEuro/unix/rsaeuro.a
|
|
|
|
COUNTRY_OBJS = \
|
|
countries.o
|
|
|
|
all: $(PROGS) $(MD5_OBJS) $(CRYPT_OBJS)
|
|
|
|
.C.o:
|
|
$(CC) -c -o $*.o $<
|
|
.c.o:
|
|
$(CC) -c -o $*.o $<
|
|
|
|
md5_test: md5_test.o $(MD5_OBJS)
|
|
$(CC) md5_test.o $(MD5_OBJS) -o md5_test
|
|
|
|
shmem_test: shmem_test.o shmem.o
|
|
$(CC) shmem_test.o shmem.o -o shmem_test
|
|
|
|
synch_test: synch_test.o synch.o
|
|
$(CC) synch_test.o synch.o -o synch_test
|
|
|
|
crypt_prog: crypt_prog.o crypt.o
|
|
$(CC) crypt_prog.o crypt.o $(CRYPT_LIBS) -o crypt_prog
|
|
|
|
clean:
|
|
rm -f *.o $(PROGS) core dependencies
|
|
|
|
install: all
|
|
-mkdir -p /usr/local/boinc/lib
|
|
cp md5_test /usr/local/boinc/lib/md5_test
|
|
cp shmem_test /usr/local/boinc/lib/shmem_test
|
|
cp synch_test /usr/local/boinc/lib/synch_test
|
|
#cp crypt_prog /usr/local/boinc/lib/crypt_prog
|
|
|
|
dependencies: @srcdir@/*.C
|
|
$(CC) -M @srcdir@/*.C > dependencies
|
|
|
|
include dependencies
|