Skip to content

Latest commit

 

History

History
133 lines (93 loc) · 4.62 KB

Makefile.linux

File metadata and controls

133 lines (93 loc) · 4.62 KB
 
Jul 31, 1998
Jul 31, 1998
1
# Makefile for building a dynamic (shared) BASIClib
Dec 31, 1998
Dec 31, 1998
2
3
#
# Copyright (c) 1999 Ryan C. Gordon and Gregory S. Read.
Jul 31, 1998
Jul 31, 1998
4
5
6
7
8
DYNLIBBASE = libBASIC.so
DYNLIBWHOLE = $(DYNLIBBASE).$(WHOLEVERSION)
DYNLIBMAJOR = $(DYNLIBBASE).$(MAJORVER)
Dec 30, 1998
Dec 30, 1998
9
OBJS = BasicString.o ConversionFunctions.o Initialize.o \
Nov 7, 1998
Nov 7, 1998
10
ErrorFunctions.o MathFunctions.o MemoryManager.o Threads.o \
Sep 14, 1998
Sep 14, 1998
11
TimeDateFunctions.o FileIOFunctions.o BasicFileStream.o \
Oct 9, 1998
Oct 9, 1998
12
StringFunctions.o LowLevelFunctions.o SignalHandlers.o \
Oct 10, 1998
Oct 10, 1998
13
ConsoleFunctions.o PenFunctions.o ProcessFunctions.o \
Oct 18, 1998
Oct 18, 1998
14
FileSystemFunctions.o Variant.o BasicError.o NoConsole.o \
Oct 29, 1998
Oct 29, 1998
15
DirectConsole.o RedirectedConsole.o CursesConsole.o \
Dec 22, 1998
Dec 22, 1998
16
EnvrFunctions.o Gosub.o MiscFunctions.o ArrayFunctions.o
Jul 31, 1998
Jul 31, 1998
17
18
19
20
21
CC = gcc
LINKER = gcc
ASM = gcc
Oct 17, 1998
Oct 17, 1998
22
23
LANGUAGE=ENGLISH
Oct 26, 1998
Oct 26, 1998
24
25
26
# Use this before $(COPTIONS) on modules that use inb, outb, etc ...
IOACCESS = -O3
Jul 31, 1998
Jul 31, 1998
27
# Shipping command lines
Dec 22, 1998
Dec 22, 1998
28
#COPTIONS = -DLINUXELF_I386 -D_REENTRANT -DLANG_$(LANGUAGE) -Wall -O2 -fPIC -fasm -finline-functions -s -c -o
Jul 31, 1998
Jul 31, 1998
29
30
31
32
#LOPTIONS = -shared -Wl,-soname,$(DYNLIBMAJOR) -s -O2 -o
#ASMOPTIONS = -Wall -c -o
# Debug command lines...
Jan 24, 1999
Jan 24, 1999
33
34
#COPTIONS = -DSINGLE_THREADED -DLINUXELF_I386 -DLANG_$(LANGUAGE) -Wall -fPIC -fasm -finline-functions -fno-omit-frame-pointer -DDEBUG -c -g -o
COPTIONS = -DLINUXELF_I386 -D_REENTRANT -DLANG_$(LANGUAGE) -Wall -fPIC -fasm -finline-functions -fno-omit-frame-pointer -DDEBUG -c -g -o
Jul 31, 1998
Jul 31, 1998
35
LOPTIONS = -Wall -shared -Wl,-soname,$(DYNLIBMAJOR) -o
Aug 1, 1998
Aug 1, 1998
36
ASMOPTIONS = -D_REENTRANT -Wall -c -o
Jul 31, 1998
Jul 31, 1998
37
38
39
40
41
42
43
44
45
46
47
48
all : $(DYNLIBBASE)
$(DYNLIBBASE) : $(DYNLIBMAJOR)
ln -sf $(DYNLIBMAJOR) $(DYNLIBBASE)
$(DYNLIBMAJOR) : $(DYNLIBWHOLE)
ln -sf $(DYNLIBWHOLE) $(DYNLIBMAJOR)
$(DYNLIBWHOLE) : $(OBJS)
$(LINKER) $(LOPTIONS) $(DYNLIBWHOLE) $(OBJS)
Oct 17, 1998
Oct 17, 1998
49
BasicString.o : BasicString.c BasicString.h
Jul 31, 1998
Jul 31, 1998
50
51
$(CC) $(COPTIONS) BasicString.o BasicString.c
Oct 17, 1998
Oct 17, 1998
52
ConversionFunctions.o : ConversionFunctions.c ConversionFunctions.h
Jul 31, 1998
Jul 31, 1998
53
54
$(CC) $(COPTIONS) ConversionFunctions.o ConversionFunctions.c
Oct 17, 1998
Oct 17, 1998
55
Initialize.o : Initialize.c Initialize.h
Jul 31, 1998
Jul 31, 1998
56
57
$(CC) $(COPTIONS) Initialize.o Initialize.c
Dec 22, 1998
Dec 22, 1998
58
59
60
MiscFunctions.o : MiscFunctions.c MiscFunctions.h
$(CC) $(COPTIONS) MiscFunctions.o MiscFunctions.c
Dec 20, 1998
Dec 20, 1998
61
62
63
Gosub.o : Gosub.c Gosub.h
$(CC) $(COPTIONS) Gosub.o Gosub.c
Oct 17, 1998
Oct 17, 1998
64
ErrorFunctions.o : ErrorFunctions.c ErrorFunctions.h
Jul 31, 1998
Jul 31, 1998
65
66
67
68
69
$(CC) $(COPTIONS) ErrorFunctions.o ErrorFunctions.c
MathFunctions.o : MathFunctions.c MathFunctions.h
$(CC) $(COPTIONS) MathFunctions.o MathFunctions.c
Nov 7, 1998
Nov 7, 1998
70
71
MemoryManager.o : MemoryManager.c MemoryManager.h
$(CC) $(COPTIONS) MemoryManager.o MemoryManager.c
Jul 31, 1998
Jul 31, 1998
72
73
74
75
Threads.o : Threads.c Threads.h
$(CC) $(COPTIONS) Threads.o Threads.c
Oct 17, 1998
Oct 17, 1998
76
TimeDateFunctions.o : TimeDateFunctions.c TimeDateFunctions.h
Jul 31, 1998
Jul 31, 1998
77
78
79
80
81
$(CC) $(COPTIONS) TimeDateFunctions.o TimeDateFunctions.c
BasicFileStream.o : BasicFileStream.c BasicFileStream.h
$(CC) $(COPTIONS) BasicFileStream.o BasicFileStream.c
Oct 17, 1998
Oct 17, 1998
82
FileIOFunctions.o : FileIOFunctions.c FileIOFunctions.h
Jul 31, 1998
Jul 31, 1998
83
84
$(CC) $(COPTIONS) FileIOFunctions.o FileIOFunctions.c
Oct 17, 1998
Oct 17, 1998
85
StringFunctions.o : StringFunctions.c StringFunctions.h
Aug 7, 1998
Aug 7, 1998
86
87
$(CC) $(COPTIONS) StringFunctions.o StringFunctions.c
Oct 9, 1998
Oct 9, 1998
88
LowLevelFunctions.o : LowLevelFunctions.c LowLevelFunctions.h
Oct 26, 1998
Oct 26, 1998
89
$(CC) $(IOACCESS) $(COPTIONS) LowLevelFunctions.o LowLevelFunctions.c
Sep 2, 1998
Sep 2, 1998
90
Sep 30, 1998
Sep 30, 1998
91
92
93
SignalHandlers.o : SignalHandlers.c SignalHandlers.h
$(CC) $(COPTIONS) SignalHandlers.o SignalHandlers.c
Oct 18, 1998
Oct 18, 1998
94
95
96
ConsoleFunctions.o : ConsoleFunctions.c ConsoleFunctions.h \
NoConsole.h DirectConsole.h RedirectedConsole.h \
CursesConsole.h
Oct 9, 1998
Oct 9, 1998
97
98
$(CC) $(COPTIONS) ConsoleFunctions.o ConsoleFunctions.c
Oct 18, 1998
Oct 18, 1998
99
100
101
102
103
104
105
106
107
108
109
110
NoConsole.o : NoConsole.c NoConsole.h ConsoleFunctions.h
$(CC) $(COPTIONS) NoConsole.o NoConsole.c
DirectConsole.o : DirectConsole.c DirectConsole.h ConsoleFunctions.h
$(CC) $(COPTIONS) DirectConsole.o DirectConsole.c
RedirectedConsole.o : RedirectedConsole.c RedirectedConsole.h ConsoleFunctions.h
$(CC) $(COPTIONS) RedirectedConsole.o RedirectedConsole.c
CursesConsole.o : CursesConsole.c CursesConsole.h ConsoleFunctions.h
$(CC) $(COPTIONS) CursesConsole.o CursesConsole.c
Oct 17, 1998
Oct 17, 1998
111
PenFunctions.o : PenFunctions.c PenFunctions.h
Oct 9, 1998
Oct 9, 1998
112
$(CC) $(COPTIONS) PenFunctions.o PenFunctions.c
Sep 30, 1998
Sep 30, 1998
113
Oct 17, 1998
Oct 17, 1998
114
ProcessFunctions.o : ProcessFunctions.c ProcessFunctions.h
Oct 10, 1998
Oct 10, 1998
115
116
$(CC) $(COPTIONS) ProcessFunctions.o ProcessFunctions.c
Oct 17, 1998
Oct 17, 1998
117
FileSystemFunctions.o : FileSystemFunctions.c FileSystemFunctions.h
Oct 10, 1998
Oct 10, 1998
118
119
$(CC) $(COPTIONS) FileSystemFunctions.o FileSystemFunctions.c
Dec 30, 1998
Dec 30, 1998
120
Variant.o : Variant.c Variant.h
Oct 10, 1998
Oct 10, 1998
121
122
123
124
125
$(CC) $(COPTIONS) Variant.o Variant.c
BasicError.o : BasicError.c BasicError.h
$(CC) $(COPTIONS) BasicError.o BasicError.c
Oct 29, 1998
Oct 29, 1998
126
127
128
EnvrFunctions.o : EnvrFunctions.c EnvrFunctions.h
$(CC) $(COPTIONS) EnvrFunctions.o EnvrFunctions.c
Dec 22, 1998
Dec 22, 1998
129
130
131
ArrayFunctions.o : ArrayFunctions.c ArrayFunctions.h
$(CC) $(COPTIONS) ArrayFunctions.o ArrayFunctions.c
Oct 10, 1998
Oct 10, 1998
132
# end of Makefile.linux ...