Skip to content

Commit 1e01f4b

Browse files
committed
For #33: Extract new files.
1 parent 6085809 commit 1e01f4b

File tree

6 files changed

+521
-516
lines changed

6 files changed

+521
-516
lines changed

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Individual files contain the following tag instead of the full license text.
77

88
SPDX-License-Identifier: MPL-1.1 OR GPL-2.0-or-later
99

10-
All source code in the "tools", "utest" and "porting" directory is
11-
distributed under the MIT style license.
10+
New source code and all source code in the "tools" and "utest" directory
11+
is distributed under the MIT style license.
1212

1313
SPDX-License-Identifier: MIT
1414

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ DEFINES += -DMD_HAVE_KQUEUE -DMD_HAVE_SELECT
110110
endif
111111

112112
ifeq ($(OS), LINUX)
113-
EXTRA_OBJS = $(TARGETDIR)/md_linux.o
113+
EXTRA_OBJS = $(TARGETDIR)/md_linux.o $(TARGETDIR)/md_linux2.o
114114
SFLAGS = -fPIC
115115
LDFLAGS = -shared -soname=$(SONAME) -lc
116116
OTHER_FLAGS = -Wall
@@ -270,6 +270,9 @@ $(HEADER): public.h
270270
$(TARGETDIR)/md_linux.o: md_linux.S
271271
$(CC) $(CFLAGS) -c $< -o $@
272272

273+
$(TARGETDIR)/md_linux2.o: md_linux2.S
274+
$(CC) $(CFLAGS) -c $< -o $@
275+
273276
$(TARGETDIR)/md_darwin.o: md_darwin.S
274277
$(CC) $(CFLAGS) -c $< -o $@
275278

md_cygwin64.S

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* SPDX-License-Identifier: MIT */
2+
/* Copyright (c) 2021-2022 The SRS Authors */
13

24
/* If user disable the ASM, such as avoiding bugs in ASM, donot compile it. */
35
#if !defined(MD_ST_NO_ASM)

md_darwin.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* SPDX-License-Identifier: MIT */
2-
/* Copyright (c) 2021 Winlin */
2+
/* Copyright (c) 2021-2022 The SRS Authors */
33

44
/* If user disable the ASM, such as avoiding bugs in ASM, donot compile it. */
55
#if !defined(MD_ST_NO_ASM)

0 commit comments

Comments
 (0)