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
e29daa59
Commit
e29daa59
authored
22 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Fixed curses and fltk support
parent
d0519893
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/GNUmakefile
+13
-3
13 additions, 3 deletions
src/sbbs3/GNUmakefile
with
13 additions
and
3 deletions
src/sbbs3/GNUmakefile
+
13
−
3
View file @
e29daa59
...
@@ -20,6 +20,10 @@ ifndef DEBUG
...
@@ -20,6 +20,10 @@ ifndef DEBUG
endif
endif
endif
endif
#USE_DIALOG = 1 # Dialog vesrion of UIFC
USE_FLTK
=
1
# Use Windowed version
USE_CURSES
=
1
# Curses version of UIFC
ifdef
DEBUG
ifdef
DEBUG
BUILD
=
debug
BUILD
=
debug
else
else
...
@@ -108,10 +112,15 @@ endif
...
@@ -108,10 +112,15 @@ endif
# The following are needed for echocfg
# The following are needed for echocfg
ifdef
USE_FLTK
ifdef
USE_FLTK
CFLAGS
+=
-DUSE_CURSES
-DUSE_FLTK
-I
../../include/fltk
CFLAGS
+=
-DUSE_FLTK
-I
../../include/fltk
LFLAGS_FLTK
=
-L
../../lib/fltk/
$(
os
)
-L
/usr/X11R6/lib
-lfltk
-lX11
-lcurses
LFLAGS_FLTK
=
-L
../../lib/fltk/
$(
os
)
-L
/usr/X11R6/lib
-lm
-lfltk
-lX11
UIFC_FLTK
=
$(
EXEODIR
)
/uifcfltk.o
UIFC_FLTK
=
$(
EXEODIR
)
/uifcfltk.o
endif
endif
ifdef
USE_CURSES
CFLAGS
+=
-DUSE_CURSES
LFLAGS_CURSES
=
-lcurses
UIFC_CURSES
=
$(
EXEODIR
)
/uifcc.o
endif
include
targets.mk
# defines all targets
include
targets.mk
# defines all targets
include
objects.mk
# defines $(OBJS)
include
objects.mk
# defines $(OBJS)
...
@@ -274,12 +283,13 @@ $(ECHOCFG): \
...
@@ -274,12 +283,13 @@ $(ECHOCFG): \
$(EXEODIR)/uifcx.o
\
$(EXEODIR)/uifcx.o
\
$(EXEODIR)/uifcc.o
\
$(EXEODIR)/uifcc.o
\
$(UIFC_FLTK)
\
$(UIFC_FLTK)
\
$(UIFC_CURSES)
\
$(EXEODIR)/nopen.o
\
$(EXEODIR)/nopen.o
\
$(EXEODIR)/str_util.o
\
$(EXEODIR)/str_util.o
\
$(EXEODIR)/filewrap.o
\
$(EXEODIR)/filewrap.o
\
$(EXEODIR)/genwrap.o
$(EXEODIR)/genwrap.o
@
echo
Linking
$@
@
echo
Linking
$@
@
$(
CC
)
-o
$@
$^
$(
LFLAGS_FLTK
)
$(
CC
)
-o
$@
$^
$(
LFLAGS_FLTK
)
$(
LFLAGS_CURSES
)
# ADDFILES
# ADDFILES
$(ADDFILES)
:
\
$(ADDFILES)
:
\
...
...
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