Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stunserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Stunserver
Commits
15ae9091
Commit
15ae9091
authored
Apr 06, 2020
by
jselbie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/jselbie/stunserver
parents
cfadf9c3
e16f5629
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
client/Makefile
client/Makefile
+1
-1
common.inc
common.inc
+7
-0
server/Makefile
server/Makefile
+1
-1
testcode/Makefile
testcode/Makefile
+1
-1
No files found.
client/Makefile
View file @
15ae9091
...
@@ -15,6 +15,6 @@ clean:
...
@@ -15,6 +15,6 @@ clean:
rm
-f
$(PROJECT_OBJS)
$(PROJECT_TARGET)
rm
-f
$(PROJECT_OBJS)
$(PROJECT_TARGET)
$(PROJECT_TARGET)
:
$(PROJECT_OBJS)
$(PROJECT_TARGET)
:
$(PROJECT_OBJS)
$(LINK.cpp)
-o
$@
$^
$(LIB_PATH)
$(LIBS)
$(SOCKET_LIBS)
$(CRYPTO_LIBS)
$(LINK.cpp)
-o
$@
$^
$(LIB_PATH)
$(LIBS)
$(SOCKET_LIBS)
$(CRYPTO_LIBS)
$(ASLR_FLAGS)
common.inc
View file @
15ae9091
...
@@ -17,6 +17,8 @@ CRYPTO_LIBS := -lcrypto
...
@@ -17,6 +17,8 @@ CRYPTO_LIBS := -lcrypto
#SOLARIS HACK
#SOLARIS HACK
UNAME
:=
$
(
shell
uname
-
s
)
UNAME
:=
$
(
shell
uname
-
s
)
UNAMEOS
:=
$
(
shell
uname
-
o
)
ifeq
(
$
(
UNAME
),
SunOS
)
ifeq
(
$
(
UNAME
),
SunOS
)
SOCKET_LIBS
:=
-
lsocket
-
lnsl
SOCKET_LIBS
:=
-
lsocket
-
lnsl
endif
endif
...
@@ -26,6 +28,11 @@ ifeq ($(UNAME),Darwin)
...
@@ -26,6 +28,11 @@ ifeq ($(UNAME),Darwin)
CRYPTO_LIBS
:=
CRYPTO_LIBS
:=
endif
endif
#Cygwin hack for ASLR
ifeq
(
$
(
UNAMEOS
),
Cygwin
)
ASLR_FLAGS
:=
-
Xlinker
--
dynamicbase
endif
.
PHONY
:
all
clean
debug
.
PHONY
:
all
clean
debug
%.
hpp
.
gch
:
%.
hpp
%.
hpp
.
gch
:
%.
hpp
...
...
server/Makefile
View file @
15ae9091
...
@@ -14,6 +14,6 @@ clean:
...
@@ -14,6 +14,6 @@ clean:
rm
-f
$(PROJECT_OBJS)
$(PROJECT_TARGET)
rm
-f
$(PROJECT_OBJS)
$(PROJECT_TARGET)
$(PROJECT_TARGET)
:
$(PROJECT_OBJS)
$(PROJECT_TARGET)
:
$(PROJECT_OBJS)
$(LINK.cpp)
-o
$@
$^
$(LIB_PATH)
$(LIBS)
$(SOCKET_LIBS)
$(CRYPTO_LIBS)
$(LINK.cpp)
-o
$@
$^
$(LIB_PATH)
$(LIBS)
$(SOCKET_LIBS)
$(CRYPTO_LIBS)
$(ASLR_FLAGS)
testcode/Makefile
View file @
15ae9091
...
@@ -14,7 +14,7 @@ clean:
...
@@ -14,7 +14,7 @@ clean:
rm
-f
$(PROJECT_OBJS)
$(PROJECT_TARGET)
rm
-f
$(PROJECT_OBJS)
$(PROJECT_TARGET)
$(PROJECT_TARGET)
:
$(PROJECT_OBJS)
$(PROJECT_TARGET)
:
$(PROJECT_OBJS)
$(LINK.cpp)
-o
$@
$^
$(LIB_PATH)
$(LIBS)
$(SOCKET_LIBS)
$(CRYPTO_LIBS)
$(LINK.cpp)
-o
$@
$^
$(LIB_PATH)
$(LIBS)
$(SOCKET_LIBS)
$(CRYPTO_LIBS)
$(ASLR_FLAGS)
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