Skip to content

Commit 95ae0f0

Browse files
author
Johannes Brakensiek
committed
Initial commit (outsource OGObject from generator)
1 parent 9b69f06 commit 95ae0f0

18 files changed

+5395
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.o
2+
*.dep
3+
build
4+
.DS_Store
5+
*.log

AUTHORS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Author:
2+
Tyler Burton <[email protected]>
3+
4+
Maintainers:
5+
Johannes Brakensiek <[email protected]> - Port to ObjFW
6+
7+
Contributors:
8+
Jonathan Schleifer <[email protected]>

Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
SUBDIRS = src
2+
3+
include buildsys.mk
4+
include extra.mk
5+
6+
install-extra:
7+
i=OGObject.oc; \
8+
packagesdir="${DESTDIR}$$(${OBJFW_CONFIG} --packages-dir)"; \
9+
${INSTALL_STATUS}; \
10+
if ${MKDIR_P} $$packagesdir && ${INSTALL} -m 644 $$i $$packagesdir/$$i; then \
11+
${INSTALL_OK}; \
12+
else \
13+
${INSTALL_FAILED}; \
14+
fi
15+
16+
uninstall-extra:
17+
i=OGObject.oc; \
18+
packagesdir="${DESTDIR}$$(${OBJFW_CONFIG} --packages-dir)"; \
19+
if test -f $$packagesdir/$$i; then \
20+
if rm -f $$packagesdir/$$i; then \
21+
${DELETE_OK}; \
22+
else \
23+
${DELETE_FAILED}; \
24+
fi \
25+
fi; \
26+
rmdir $$packagesdir >/dev/null 2>&1 || true

OGObject.oc.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package_format 1
2+
CPPFLAGS="$CPPFLAGS @OGOBJECT_CPPFLAGS@"
3+
LIBS="-logobject @OGOBJECT_LIBS@ $LIBS"
4+
FRAMEWORK_LIBS="-framework OGObject @OGOBJECT_LIBS@ $FRAMEWORK_LIBS"

autogen.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
set -e
3+
4+
# Set a version for OpenBSD
5+
: ${AUTOCONF_VERSION:=2.69}
6+
: ${AUTOMAKE_VERSION:=1.16}
7+
export AUTOCONF_VERSION AUTOMAKE_VERSION
8+
9+
aclocal -I build-aux/m4
10+
autoconf

0 commit comments

Comments
 (0)