dbus should work on netbsd now
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
c88dc48817
commit
79efc31c55
13 changed files with 50 additions and 25 deletions
|
|
@ -1,9 +1,11 @@
|
|||
use_backend("classicmacos");
|
||||
|
||||
print("Compiling for Classic Mac OS via ./configure currently outputs a broken executable and it only supports PowerPC. Help is wanted. In the mean time, use CMake.")
|
||||
print(
|
||||
"Compiling for Classic Mac OS via ./configure currently outputs a broken executable and it only supports PowerPC. Help is wanted. In the mean time, use CMake."
|
||||
);
|
||||
|
||||
$cc = $ENV{RETRO68_TOOLCHAIN_PATH}."/bin/powerpc-apple-macos-gcc";
|
||||
$ar = $ENV{RETRO68_TOOLCHAIN_PATH}."/bin/powerpc-apple-macos-ar";
|
||||
$cc = $ENV{RETRO68_TOOLCHAIN_PATH} . "/bin/powerpc-apple-macos-gcc";
|
||||
$ar = $ENV{RETRO68_TOOLCHAIN_PATH} . "/bin/powerpc-apple-macos-ar";
|
||||
add_cflags("-DCLASSIC_MAC_OS");
|
||||
add_cflags("-DSTBI_NO_THREAD_LOCALS");
|
||||
|
||||
|
|
|
|||
|
|
@ -4,4 +4,6 @@ add_libdir(
|
|||
use_backend("x11");
|
||||
add_libs("-lpthread");
|
||||
|
||||
add_cflags("-DUSE_DBUS");
|
||||
|
||||
1;
|
||||
|
|
|
|||
13
pl/rules.pl
13
pl/rules.pl
|
|
@ -31,6 +31,7 @@ if (grep(/^gdi$/, @backends)) {
|
|||
}
|
||||
|
||||
if (grep(/^classicmacos$/, @backends)) {
|
||||
|
||||
#add_cflags("-DCLASSIC_MAC_OS");
|
||||
new_object("src/backend/classicmacos.c");
|
||||
|
||||
|
|
@ -56,18 +57,20 @@ if (grep(/^wayland$/, @backends)) {
|
|||
scan_wayland_protocol("unstable", "pointer-constraints", "-unstable-v1");
|
||||
scan_wayland_protocol("unstable", "relative-pointer", "-unstable-v1");
|
||||
|
||||
add_cflags(`pkg-config --cflags dbus-1`);
|
||||
|
||||
$gl_libs = "-lGL -lGLU";
|
||||
}
|
||||
|
||||
if (grep(/( |^)-DUSE_DBUS( |$)/, $cflags)) {
|
||||
add_cflags(`pkg-config --cflags dbus-1`);
|
||||
}
|
||||
|
||||
if (grep(/^cocoa$/, @backends) || param_get("gnustep")) {
|
||||
add_cflags("-DUSE_COCOA");
|
||||
new_object("src/backend/cocoa.m");
|
||||
|
||||
if(param_get("gnustep")){
|
||||
add_incdir("-I".`gnustep-config --variable=GNUSTEP_SYSTEM_HEADERS`);
|
||||
add_libdir("-L".`gnustep-config --variable=GNUSTEP_SYSTEM_LIBRARIES`);
|
||||
if (param_get("gnustep")) {
|
||||
add_incdir("-I" . `gnustep-config --variable=GNUSTEP_SYSTEM_HEADERS`);
|
||||
add_libdir("-L" . `gnustep-config --variable=GNUSTEP_SYSTEM_LIBRARIES`);
|
||||
add_cflags("-fobjc-runtime=gnustep-2.0 -fblocks");
|
||||
add_ldflags("-lobjc -lgnustep-base -lm -lgnustep-gui");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue