-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from mac-can/development
Release candidate 1 of version 1.0
- Loading branch information
Showing
21 changed files
with
195 additions
and
434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Never modify line endings of bash scripts | ||
*.sh text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# | ||
# Controller Area Network - Lawicel SLCAN Protocol (Serial-Line CAN) | ||
# | ||
# Copyright (C) 2016-2024 Uwe Vogt, UV Software, Berlin ([email protected]) | ||
# Copyright (c) 2016-2024 Uwe Vogt, UV Software, Berlin ([email protected]) | ||
# All rights reserved. | ||
# | ||
# This file is part of SLCAN. | ||
|
@@ -49,9 +49,21 @@ current_OS := $(patsubst CYGWIN%,Cygwin,$(current_OS)) | |
current_OS := $(patsubst MINGW%,MinGW,$(current_OS)) | ||
current_OS := $(patsubst MSYS%,MinGW,$(current_OS)) | ||
|
||
MAJOR = 1 | ||
MINOR = 0 | ||
PATCH = 0 | ||
|
||
ifeq ($(PATCH),0) | ||
VERSION = $(MAJOR).$(MINOR) | ||
else | ||
VERSION = $(MAJOR).$(MINOR).$(PATCH) | ||
endif | ||
|
||
HOME_DIR = .. | ||
MAIN_DIR = . | ||
|
||
SERIAL_DIR = $(HOME_DIR)/Sources | ||
SOURCE_DIR = $(HOME_DIR)/Sources | ||
SERIAL_DIR = $(SOURCE_DIR) | ||
|
||
OBJECTS = $(OUTDIR)/slcan.o $(OUTDIR)/serial.o \ | ||
$(OUTDIR)/buffer.o $(OUTDIR)/queue.o $(OUTDIR)/logger.o | ||
|
@@ -61,16 +73,11 @@ ifeq ($(current_OS),Darwin) # macOS - libSLCAN.dylib | |
|
||
LIBRARY = libSLCAN | ||
|
||
MAJOR = 0 | ||
MINOR = 1 | ||
PATCH = 0 | ||
|
||
VERSION = $(MAJOR).$(MINOR).$(PATCH) | ||
TARGET = $(LIBRARY).$(VERSION).dylib | ||
STATIC = $(LIBRARY).a | ||
|
||
INSTALL_NAME = $(TARGET) | ||
CURRENT_VERSION = $(MAJOR).$(MINOR).0 | ||
CURRENT_VERSION = $(MAJOR).$(MINOR).$(PATCH) | ||
COMPATIBILITY_VERSION = $(MAJOR).$(MINOR).0 | ||
|
||
INSTALL = /usr/local/lib | ||
|
@@ -81,7 +88,7 @@ DEFINES = -DOPTION_SLCAN_DYLIB=1 \ | |
-DOPTION_SERIAL_DEBUG_LEVEL=0 \ | ||
-DOPTION_SLCAN_DEBUG_LEVEL=0 | ||
|
||
HEADERS = -I$(SERIAL_DIR) \ | ||
HEADERS = -I$(SOURCE_DIR) \ | ||
|
||
LIBRARIES = -lpthread | ||
|
||
|
@@ -117,11 +124,6 @@ ifeq ($(current_OS),$(filter $(current_OS),Linux Cygwin)) # linux - libslcan.so. | |
|
||
LIBRARY = libslcan | ||
|
||
MAJOR = 0 | ||
MINOR = 1 | ||
PATCH = 0 | ||
|
||
VERSION = $(MAJOR).$(MINOR).$(PATCH) | ||
SONAME = $(LIBRARY).so.1 | ||
TARGET = $(SONAME).$(VERSION) | ||
STATIC = $(LIBRARY).a | ||
|
@@ -134,7 +136,7 @@ DEFINES = -DOPTION_SLCAN_SO=1 \ | |
-DOPTION_SERIAL_DEBUG_LEVEL=0 \ | ||
-DOPTION_SLCAN_DEBUG_LEVEL=0 | ||
|
||
HEADERS = -I$(SERIAL_DIR) | ||
HEADERS = -I$(SOURCE_DIR) | ||
|
||
CFLAGS += -fPIC -O2 -Wall -Wno-parentheses \ | ||
-fno-strict-aliasing \ | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# | ||
# Controller Area Network - Lawicel SLCAN Protocol (Serial-Line CAN) | ||
# | ||
# Copyright (C) 2016-2024 Uwe Vogt, UV Software, Berlin ([email protected]) | ||
# Copyright (c) 2016-2024 Uwe Vogt, UV Software, Berlin ([email protected]) | ||
# All rights reserved. | ||
# | ||
# This file is part of SLCAN. | ||
|
Oops, something went wrong.