Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
6eb8d3ec
Unverified
Commit
6eb8d3ec
authored
Nov 02, 2016
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/add_libX11_links' into 3.6.x
Attributes GH PR #248:
https://github.com/ArcticaProject/nx-libs/pull/248
parents
4c59a3c5
5a90a638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
Imakefile
nx-X11/lib/X11/Imakefile
+30
-0
No files found.
nx-X11/lib/X11/Imakefile
View file @
6eb8d3ec
...
@@ -50,6 +50,15 @@ NX_DEFINES = -DNX_TRANS_SOCKET \
...
@@ -50,6 +50,15 @@ NX_DEFINES = -DNX_TRANS_SOCKET \
# -DNX_TRANS_TEST \
# -DNX_TRANS_TEST \
# -DNX_TRANS_DEBUG \
# -DNX_TRANS_DEBUG \
/*
This is used to create libX11* links in exports/lib.
It is a dependency of the part that links the libNX_X11.so
to exports/lib and is therefore called _before_ any libNX*
links exist.
The make target libX11-links is at the end of the file.
*/
EXTRALIBRARYDEPS = libX11-links
#ifdef cygwinArchitecture
#ifdef cygwinArchitecture
NX_XCOMPLIBNAME = cygXcomp.dll
NX_XCOMPLIBNAME = cygXcomp.dll
NX_XCOMPEXTLIBNAME = cygXcompext.dll
NX_XCOMPEXTLIBNAME = cygXcompext.dll
...
@@ -1126,6 +1135,9 @@ depend:: ks_tables.h
...
@@ -1126,6 +1135,9 @@ depend:: ks_tables.h
clean::
clean::
RemoveFiles(ks_tables_h ks_tables.h HostProgramTargetName(makekeys))
RemoveFiles(ks_tables_h ks_tables.h HostProgramTargetName(makekeys))
KeysymStr.o: ks_tables.h
StrKeysym.o: ks_tables.h
DependTarget3($(SRCS1),$(SRCS2),$(SRCS3) $(EXTRASRCS))
DependTarget3($(SRCS1),$(SRCS2),$(SRCS3) $(EXTRASRCS))
...
@@ -1161,3 +1173,21 @@ XlibConf.h:
...
@@ -1161,3 +1173,21 @@ XlibConf.h:
echo '/* Defines needed to use Xlib from non-imake projects */' > $@
echo '/* Defines needed to use Xlib from non-imake projects */' > $@
XThreadsDefine
XThreadsDefine
MTSafeAPIDefine
MTSafeAPIDefine
/* create libX11 links in exports/lib */
libX11-links:
MakeDir($(BUILDLIBDIR))
@MAJREV=`echo $(SOXLIBREV) | cut -d. -f1`;\
(for i in "" .$$MAJREV .$(SOXLIBREV); do\
t="lib$(LIBNAME).so$$i";\
l="libX11.so$$i";\
$(RM) "$(BUILDLIBDIR)/$$l";\
(set -x; $(LN) "$$t" "$(BUILDLIBDIR)/$$l");\
done)
/* remove libX11 _and_ libNX_X11 links in epxorts/lib */
clean::
@MAJREV=`echo $(SOXLIBREV) | cut -d. -f1`;\
set -x; for i in "" .$$MAJREV .$(SOXLIBREV); do\
$(RM) "$(BUILDLIBDIR)/lib$(LIBNAME).so$$i" "$(BUILDLIBDIR)/libX11.so$$i";\
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment