-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
71 lines (59 loc) · 2.03 KB
/
Makefile
File metadata and controls
71 lines (59 loc) · 2.03 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# Top Level makefile for the Imageloader project from The VLC.
#
# To use this, make sure that you have the PROJECT_ROOT environment variable
# set
#
# This makefile is designed to build the entire library from scratch. It is
# not desigend as a hacking system. It is recommended that you use the normal
# javac/CLASSPATH setup for that.
#
# The following commands are offered:
#
# - jar: Make the java JAR file
# - javadoc: Generate the javadoc information
# - lib: Make the native DLL to load images
# - all: Build everything (including docs)
# - nuke: Blow everything away
#
ifndef PROJECT_ROOT
export PROJECT_ROOT=$(PWD)
endif
include $(PROJECT_ROOT)/make/Makefile.inc
# Default instruction is to print out the help list
help:
$(PRINT)
$(PRINT) " The VLC Imageloader Project"
$(PRINT)
$(PRINT) "More information on this project can be found at"
$(PRINT) "http://www.vlc.com.au/imageloader"
$(PRINT)
$(PRINT) "The following options are offered and will build the entire codebase:"
$(PRINT)
$(PRINT) "class: Compile just the classes. Don't make JAR files."
$(PRINT) "bin: Build parsers and classes"
$(PRINT) "jar: Make the java JAR file"
$(PRINT) "javadoc: Generate the javadoc information"
$(PRINT) "libs: Generate the native libraries"
$(PRINT) "jni: Build just the JNI interfaces"
$(PRINT) "all: Build everything (including docs)"
$(PRINT) "clean: Blow all the native and java classes away"
$(PRINT) "libsclean: Blow only the native compile code away"
$(PRINT)
all: jar lib javadoc
class:
make -f $(JAVA_DIR)/Makefile buildall
jar:
make -f $(JAVA_DIR)/Makefile jar
javadoc:
make -f $(JAVA_DIR)/Makefile javadoc
jni:
make -f $(JAVA_DIR)/Makefile jni
libs:
make -f $(JAVA_DIR)/Makefile nativeall
make -f $(NATIVE_DIR)/Makefile buildall
clean:
make -f $(JAVA_DIR)/Makefile clean
make -f $(NATIVE_DIR)/Makefile clean
libsclean:
make -f $(NATIVE_DIR)/Makefile clean