WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 2f6395fd authored by john's avatar john
Browse files

moved c code into its own source directory and removed redundent Makefile

parent dfb7e61e
# Copyright (c) 2009 The Australian National University.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License v2.0.
# You may obtain the license at
# http://www.opensource.org/licenses/apache2.0.php
# Source lists
SOURCES=src/dacapooptions.c src/dacapoagent.c src/dacapoexception.c src/dacapolog.c src/dacapotag.c src/dacapolock.c src/dacapomonitor.c src/dacapothread.c \
src/dacapoallocation.c src/dacapomethod.c src/dacapocallchain.c
# Linux GNU C Compiler
ifeq ($(OSNAME), linux)
# GNU Compiler options needed to build it
COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer
# Options that help find errors
COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses
ifeq ($(OPT), true)
# Object files needed to create library
# Library name and options needed to build it
LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text
# Libraries we are dependent on
# Building a shared library
LINK_SHARED=$(LINK.c) -shared -o $@
# Common -I options
CFLAGS += -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/$(OSNAME)
# Default rule (build both native library and jar file)
all: $(LIBRARY)
# Build native library
# Cleanup the built bits
rm -f -r classes
# Simple tester
test: all
LD_LIBRARY_PATH=. $(JAVA_HOME)/bin/java -agentlib:$(LIBNAME) -Xbootclasspath/a:./$(JARFILE) -version
......@@ -107,7 +107,7 @@
<target name="build-agent-linux" if="linux">
<mkdir dir="${agent-dir}/build/agent" />
<copy todir="${agent-dir}/build/agent" >
<fileset dir="${agent-dir}/src">
<fileset dir="${agent-dir}/c/src">
<include name="**.c"/>
<include name="**.h"/>
<include name="Makefile"/>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment