Skip to content

Commit

Permalink
Add DBusKit framework to build. Fix some paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mszoek committed May 22, 2021
1 parent 348212c commit b6f903a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DBusKit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LDFLAGS+= -g ${FMWK_LDFLAGS} -L/usr/local/lib ${DBUS_LDFLAGS} \
-L${BUILDROOT}/System/Library/Frameworks/CoreFoundation.framework/Versions/Current \
-lFoundation -lCoreFoundation -lobjc -lm

build: copydbus all
build: all copydbus

copydbus:
rm -rf ${FRAMEWORK}.framework/Headers/dbus
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ AppKit.framework:
make -C ${TOPDIR}/AppKit BUILDROOT=${BUILDROOT} clean build
cp -Rvf ${TOPDIR}/${.TARGET:R}/${.TARGET} ${BUILDROOT}/System/Library/Frameworks

DBusKit.framework:
rm -rf ${TOPDIR}/DBusKit/${.TARGET}
make -C ${TOPDIR}/DBusKit BUILDROOT=${BUILDROOT} clean build
cp -Rvf ${TOPDIR}/${.TARGET:R}/${.TARGET} ${BUILDROOT}/System/Library/Frameworks

airyx-package:
tar cJ -C ${BUILDROOT} --gid 0 --uid 0 -f ${RLSDIR}/airyx.txz .
Expand Down
5 changes: 2 additions & 3 deletions examples/app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ SRCS=main.m MyView.m
MK_DEBUG_FILES=no
RESOURCES=rsc helium.jpg CocoaDemo.png
SLF=/System/Library/Frameworks
ZF=/Users/zoe/helium
FRAMEWORKS=${ZF}/AppKit/AppKit ${SLF}/CoreGraphics ${SLF}/Onyx2D ${SLF}/OpenGL \
${ZF}/Foundation/Foundation ${SLF}/CoreFoundation ${ZF}/DBusKit/DBusKit
FRAMEWORKS=${SLF}/AppKit/AppKit ${SLF}/CoreGraphics ${SLF}/Onyx2D ${SLF}/OpenGL \
${SLF}/Foundation/Foundation ${SLF}/CoreFoundation ${SLF}/DBusKit/DBusKit
LDFLAGS+=-L/usr/local/lib -lGL

build: all
Expand Down

0 comments on commit b6f903a

Please sign in to comment.