forked from Keyfactor/ejbca-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
47 lines (34 loc) · 1.07 KB
/
Makefile
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
42
43
44
45
46
47
-include Makefile.inc
# doc.update=false is necessary to avoid trying to pull documentation from the
# primekey server.
JAVAOPTS += -Ddoc.update=false
# This is necessary (ZZZ still?) to have ejbca find what type of application
# server we're using
export APPSRV_HOME=/opt/bitnami/wildfly
# Path to the Adax git repo for the bitnami docker container for ejbca
export CONTAINER_HOME=/home/dg/ejbca/adax-docker-ejbca
export PREINSTALLDIR=$(CONTAINER_HOME)/7/debian-10/prebuildfs
export INSTALLDIR=$(PREINSTALLDIR)/opt/bitnami/pkgcache
.PHONY: all build clean install tags cscope
all: build
update_ver:
ant $(JAVAOPTS) update-edition update-gitrev
build: update_ver
ant $(JAVAOPTS) build-bitnami
debug:
$(MAKE) JAVAOPTS=-debug build
clean:
ant clean
rm -f tags cscope.files
install: build Makefile.inc
@echo -e "\nCopying tarball to $(INSTALLDIR)\n"
@[[ -d $(PREINSTALLDIR) ]] && \
mkdir -p $(INSTALLDIR) && \
cp -p ejbca-*.tar.gz* $(INSTALLDIR)
tags:
ctags -R . 2>/dev/null
cscope:
find . -iname '*.java' > cscope.files
cscope -b
Makefile.inc: configure
./configure