-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
41 lines (36 loc) · 1.32 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SUBDIRS = .
AM_CFLAGS = @GENERAL_CFLAGS@ @ADDITIONAL_CFLAGS@ @HARDEN_CFLAGS@
AM_LDFLAGS = `@PERL@ -MExtUtils::Embed -e ldopts --` @HARDEN_LDFLAGS@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects
spath = @SECUREDIR@
tdbpath = @TESTDB@
tpath = @TESTFILES@
ipath = @PREFIX@
ipathbindir = @BINDIR@
ipathdatadir = @DATADIR@
ipathbin_PROGRAMS = CaumeDSE
CaumeDSE_SOURCES = main.c common.h crypto.c crypto.h db.c db.h engine_admin.c engine_admin.h engine_interface.c engine_interface.h filehandling.c filehandling.h function_tests.c function_tests.h perl_interpreter.c perl_interpreter.h strhandling.c strhandling.h webservice_interface.c webservice_interface.h xs_init.c
ipathdata_DATA = favicon.ico TEST/testCertAuth/ca.pem TEST/testCertAuth/server.pem TEST/testCertAuth/server.key
EXTRA_DIST = TEST README-alpha
xs_init.c:
`@PERL@ -MExtUtils::Embed -e xsinit -- -o xs_init.c`
clean-local:
rm -rf xs_init.c
install-data-local:
if [ ! -z "$(tpath)" ] ; then \
$(MKDIR_P) "$(tpath)" && cp -R TEST/testfiles/* "$(tpath)" ; \
fi
if [ ! -z "$(spath)" ] ; then \
$(MKDIR_P) "$(spath)" && chmod 600 "$(spath)" ; \
fi
if [ ! -z "$(tdbpath)" ] ; then \
cp -R TEST/testDB_opt_cdse/* "$(tdbpath)" ; \
fi
uninstall-local:
if [ -d "$(spath)" ] ; then \
rm -rf "$(spath)" ; \
fi
if [ -d "$(tpath)" ] ; then \
rm -rf "$(tpath)" ; \
fi