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
6b3072e7
Commit
6b3072e7
authored
20 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Add _LIBS macros.
parent
dbd86c7b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/uifc/Common.gmake
+0
-55
0 additions, 55 deletions
src/uifc/Common.gmake
src/uifc/Common.make
+2
-0
2 additions, 0 deletions
src/uifc/Common.make
with
2 additions
and
55 deletions
src/uifc/Common.gmake
deleted
100644 → 0
+
0
−
55
View file @
dbd86c7b
# Available Options:
# NEED_CURSES = Set flags suitable for building with the curses lib
# NEED_UIFC = Set flags for use with UIFC
# XCURSES = Use XCurses
# NEED_CIOLIB = Set flage suitable for using with ciowrap lib
# NO_X = Don't use X version of ciowrap
# You really should set this first.
UIFC_SRC ?= $(XPDEV)../uifc/
CONIO_SRC ?= $(XPDEV)../conio/
include $(CONIO_SRC)Common.gmake
# UIFC Related stuff
UIFC_CFLAGS += -I$(UIFC_SRC)
# Don't set this magically until Borland makefiles are fixed
#UIFC_OBJS = $(LIBODIR)/uifcx.o
ifdef USE_FLTK
UIFC_CFLAGS += -DUSE_FLTK -I$(XPDEV)/../../include/fltk
UIFC_LDFLAGS += -L$(XPDEV)../../lib/fltk/$(os) -L/usr/X11R6/lib -lm -lfltk -lX11
UIFC_OBJS+= $(LIBODIR)/uifcfltk.o
endif
ifdef USE_DIALOG
LDFLAGS += -L$(XPDEV)../libdialog -ldialog $(CURSESLIB)
UIFC_CFLAGS += -I$(XPDEV)../libdialog -DUSE_DIALOG
UIFC_NEED_CIOLIB := 1
endif
ifdef USE_CURSES
UIFC_CFLAGS += -DUSE_CURSES
UIFC_OBJS += $(LIBODIR)/uifcc.o
UIFC_NEED_CIOLIB := 1
endif
ifdef USE_UIFC32
UIFC_CFLAGS += -DUSE_UIFC32
UIFC_OBJS += $(LIBODIR)/uifc32.o
USE_CIOLIB := 1
endif
ifdef USE_CIOLIB
UIFC_NEED_CIOLIB := 1
endif
ifdef UIFC_NEED_CIOLIB
UIFC_CFLAGS += $(CIOLIB_CFLAGS)
UIFC_LDFLAGS += $(CIOLIB_LDFLAGS)
UIFC_OBJS += $(CIOLIB_OBJS)
endif
ifdef NEED_UIFC
CFLAGS += $(UIFC_CFLAGS)
LDFLAGS += $(UIFC_LDFLAGS)
OBJS += $(UIFC_OBJS)
endif
vpath %.c $(UIFC_SRC)
vpath %.cpp $(UIFC_SRC)
This diff is collapsed.
Click to expand it.
src/uifc/Common.make
+
2
−
0
View file @
6b3072e7
...
...
@@ -5,3 +5,5 @@ UIFC_CFLAGS = -I$(UIFC_SRC)
UIFC_LDFLAGS
=
-L
$(
UIFC_SRC
)$(
DIRSEP
)$(
LIBODIR
)
UIFC-MT_CFLAGS
=
-I
$(
UIFC_SRC
)
UIFC-MT_LDFLAGS
=
-L
$(
UIFC_SRC
)$(
DIRSEP
)$(
LIBODIR
)
UIFC_LIBS
=
-luifc
UIFC-MT_LIBS
=
-luifc
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