-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
65 lines (55 loc) · 2.19 KB
/
Makefile
File metadata and controls
65 lines (55 loc) · 2.19 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
## Target compilers
#USETPC=1
#USEFPC2=1
#USEVPC=1
#USEFPC=1
#USEGPC=1
#USEDELPHI=1
#######################################################################
# USER CONFIGURATION : These should be configured manually
#######################################################################
# PACKAGENAME : The name of the package / file name
# VERSION : The version of the package
# DOCTITLE : The title of the final documentation
# PATHSEP : Operating system path separator
# UNITDIRS : Location of units source code and units
# FILE : Base file to compile
# BINDIR : Base directory where binaries will go
# The following is for creating the final package, comment out
# if that particular section is not used.
# BINFILES: Files that will go into the resulting bin directory
# SRCFILES: Files that will go into the resulting src directory
# DOCFILES: Files that will go into the resulting docs directory
# LIBFILES: Files that will go into the resulting lib directory
# INCFILES: Files that will go into the resulting include directory
# TSTFILES: Files that will go into the test directory
# OUTDIR : Base directory where libs, units, objects files will go
# DATAFILES : Files to copy for the tests
# FILESTODOCUMENT: Files to document
# DATE : Utility name to get the ISO Date
PACKAGE_VERSION_MAJOR=1
PACKAGE_VERSION_MINOR=0
PACKAGE_VERSION_PATCH=0
DEBUG=1
PROJECT_NAME:=common
DOCTITLE:=Common pascal units documentation
UNITDIRS= ./src ./test ./lib ./src/$(COMPILER_TARGET_OS)
FILE:=./src/allunits.pas
BINFILES:=./bin/*
DOCFILES:=./doc/license.txt ./doc/changes.txt ./doc/copying ./doc/copying.fpc ./doc/readme.txt ./doc/$(PROJECT_NAME).pdf ./doc/html
#LIBFILES
SOURCES:=./src/*
DATAFILES:=./test/*.txt
FILESTODOCUMENT:=./src/crc.pas ./src/locale.pas ./src/unicode.pas ./src/utils.pas ./src/ietf.pas ./src/extdos.pas \
./src/collects.pas ./src/iso639.pas ./src/iso3166.pas ./src/dateutil.pas ./src/fileio.pas ./src/fs.pas
TSTFILES:=./test/*
DOWNLOAD_URL:=http://www.optimasc.com/products/utilities/
#PATHSEP:=\\
BINDIR := ./bin
OUTDIR := ./bin
DATE := getdate.exe
include ../makefile.cmn
# This is called when a makexxxx is done.
# It is called for each target, and should do any pre-processing
# as required.
preprocess: