-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86ec29d
commit 21983c5
Showing
5 changed files
with
106 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
############################################################################## | ||
## Hinterlib event facility ## | ||
## ## | ||
## Copyright © 2021 Aquefir ## | ||
## Released under BSD-2-Clause. ## | ||
############################################################################## | ||
|
||
ifeq ($(strip $(AQ)),) | ||
$(error "AQ was not found in your environment. You need to install the Slick Makefiles from github.com/aquefir/slick to continue.") | ||
endif | ||
|
||
include $(AQ)/lib/slick/base.mk | ||
|
||
PROJECT := uni_futils | ||
|
||
# put a ‘1’ for the desired target types to compile | ||
SOFILE := | ||
AFILE := 1 | ||
|
||
# space-separated path list for #includes | ||
# <system> includes | ||
INCLUDES := include ../decl/include ../err/include ../himem/include \ | ||
../log/include | ||
# "local" includes | ||
INCLUDEL := src | ||
|
||
# space-separated library name list | ||
LIBS := | ||
LIBDIRS := | ||
|
||
# frameworks (macOS target only) | ||
FWORKS := | ||
|
||
# ‘3P’ are in-tree 3rd-party dependencies | ||
# 3PLIBDIR is the base directory | ||
# 3PLIBS is the folder names in the base directory for each library | ||
3PLIBDIR := 3rdparty | ||
3PLIBS := tes | ||
|
||
# sources | ||
SFILES := | ||
CFILES := \ | ||
src/futils.c | ||
CPPFILES := | ||
PUBHFILES := \ | ||
include/uni/futils.h | ||
PRVHFILES := | ||
|
||
# test suite sources | ||
TES_CFILES := | ||
TES_CPPFILES := | ||
TES_PUBHFILES := | ||
TES_PRVHFILES := | ||
|
||
# this defines all our usual targets | ||
include $(AQ)/lib/slick/targets.mk |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
This file contains the project’s copypastable boilerplate comment headers. | ||
|
||
Boilerplate for C-like languages: | ||
|
||
/****************************************************************************\ | ||
* Hinterlib event facility * | ||
* * | ||
* Copyright © 2021 Aquefir * | ||
* Released under BSD-2-Clause. * | ||
\****************************************************************************/ | ||
|
||
Hash-based boilerplate (Python, POSIX shell, Makefile): | ||
|
||
############################################################################## | ||
## Hinterlib event facility ## | ||
## ## | ||
## Copyright © 2021 Aquefir ## | ||
## Released under BSD-2-Clause. ## | ||
############################################################################## |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/****************************************************************************\ | ||
* Hinterlib event facility * | ||
* * | ||
* Copyright © 2021 Aquefir * | ||
* Released under BSD-2-Clause. * | ||
\****************************************************************************/ | ||
|
||
#ifndef INC_API__UNI_EVT_H | ||
#define INC_API__UNI_EVT_H | ||
|
||
struct uni_evt; | ||
|
||
#endif /* INC_API__UNI_EVT_H */ |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/****************************************************************************\ | ||
* Hinterlib event facility * | ||
* * | ||
* Copyright © 2021 Aquefir * | ||
* Released under BSD-2-Clause. * | ||
\****************************************************************************/ | ||
|
||
#ifndef INC__UNI_EVT_H | ||
#define INC__UNI_EVT_H | ||
|
||
struct uni_evt | ||
{ | ||
#ifdef CFG_LINUX | ||
int fd; | ||
#endif /* CFG_LINUX */ | ||
}; | ||
|
||
#endif /* INC__UNI_EVT_H */ |