Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
a4634559
Commit
a4634559
authored
23 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added support for JavaScript engine in Borland builds.
parent
4c626d13
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/Makefile.bor
+12
-4
12 additions, 4 deletions
src/sbbs3/Makefile.bor
with
12 additions
and
4 deletions
src/sbbs3/Makefile.bor
+
12
−
4
View file @
a4634559
...
...
@@ -14,6 +14,7 @@
# Macros
DEBUG
=
1
# Comment out for release
(
non-debug
)
version
JS
=
1
# Comment out for non-JavaScript
(
v3.00
)
build
CC
=
bcc32
LD
=
ilink32
SLASH
=
\\
...
...
@@ -22,7 +23,7 @@ LIBFILE = .dll
EXEFILE
=
.exe
LIBODIR
=
bcc.win32.dll
# Library output directory
EXEODIR
=
bcc.win32.exe
# Executable output directory
CFLAGS
=
-M
-g1
CFLAGS
=
-M
-g1
LFLAGS
=
-m
-s
-c
-Tpd
-Gi
-I
$(
LIBODIR
)
DELETE
=
echo
y | del
...
...
@@ -40,6 +41,13 @@ LIBODIR = $(LIBODIR).release
EXEODIR
=
$(
EXEODIR
)
.release
!
endif
# JavaScript Support
!
ifdef
JS
CFLAGS
=
$(
CFLAGS
)
-DJAVASCRIPT
-I
../mozilla/js/src
LIBS
=
js32.lib
!
endif
# Cross platform/compiler definitions
!
include
targets.mak
# defines all targets
!
include
objects.mak
# defines $(OBJS)
!
include
headers.mak
# defines $(HEADERS)
...
...
@@ -71,18 +79,18 @@ $(SBBSMONO): sbbscon.c $(OBJS) $(LIBODIR)\ver.$(OFILE) $(LIBODIR)\ftpsrvr.$(OFIL
# SBBS DLL Link Rule
$(SBBS)
:
$(OBJS) $(LIBODIR)
\v
er.$(OFILE)
@echo
Linking
$<
...
$(LD)
$(LFLAGS)
c0d32.obj
$(OBJS)
$(LIBODIR)\ver.$(OFILE),
$*,
$*,
\
$(LD)
$(LFLAGS)
c0d32.obj
$(LIBS)
$(OBJS)
$(LIBODIR)\ver.$(OFILE),
$*,
$*,
\
import32.lib
cw32mt.lib
ws2_32.lib
# Mail Server DLL Link Rule
$(MAILSRVR)
:
mailsrvr.c mxlookup.c crc32.c $(SBBSLIB)
@echo
Compiling
$**
...
$(CC)
$(CFLAGS)
-WD
-WM
-lGi
-n$(LIBODIR)
-DMAILSRVR_EXPORTS
-DSMBDLL
$**
$(CC)
$(CFLAGS)
-WD
-WM
-lGi
-n$(LIBODIR)
-DMAILSRVR_EXPORTS
-DSMBDLL
$**
$(LIBS)
# FTP Server DLL Link Rule
$(FTPSRVR)
:
ftpsrvr.c $(SBBSLIB)
@echo
Compiling
$**
...
$(CC)
$(CFLAGS)
-WD
-WM
-lGi
-n$(LIBODIR)
-DFTPSRVR_EXPORTS
$**
$(CC)
$(CFLAGS)
-WD
-WM
-lGi
-n$(LIBODIR)
-DFTPSRVR_EXPORTS
$**
$(LIBS)
# Synchronet Console Build Rule
$(SBBSCON)
:
sbbscon.c $(SBBSLIB)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment