generate pkgconfig file (don't commit yet i fucked it up)
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
IoI_xD 2026-07-15 17:32:53 -07:00
commit c705d2b98c
375 changed files with 203503 additions and 203476 deletions

View file

@ -1,12 +1,12 @@
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."
);
$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");
1;
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."
);
$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");
1;

View file

@ -1,10 +1,10 @@
$library_suffix = ".dylib";
set_shared_flag("-dynamiclib");
#use_backend("cocoa");
new_object("src/backend/nococoa.m");
add_cflags("-DSTBI_NO_THREAD_LOCALS");
add_ldflags("-framework Cocoa -lobjc");
1;
$library_suffix = ".dylib";
set_shared_flag("-dynamiclib");
#use_backend("cocoa");
new_object("src/backend/nococoa.m");
add_cflags("-DSTBI_NO_THREAD_LOCALS");
add_ldflags("-framework Cocoa -lobjc");
1;

View file

@ -1,19 +1,19 @@
my @enabled_backends = ();
add_incdir2("-I/usr/local/include");
add_libdir("-L/usr/local/lib -Wl,-R/usr/local/lib");
if (param_get("wayland") && not(param_get("tiny"))) {
push(@enabled_backends, "wayland");
}
if (param_get("x11")) {
push(@enabled_backends, "x11");
}
use_backend(@enabled_backends);
add_libs("-lpthread");
add_cflags("-DUSE_DBUS");
1;
my @enabled_backends = ();
add_incdir2("-I/usr/local/include");
add_libdir("-L/usr/local/lib -Wl,-R/usr/local/lib");
if (param_get("wayland") && not(param_get("tiny"))) {
push(@enabled_backends, "wayland");
}
if (param_get("x11")) {
push(@enabled_backends, "x11");
}
use_backend(@enabled_backends);
add_libs("-lpthread");
add_cflags("-DUSE_DBUS");
1;

View file

@ -1,3 +1,3 @@
use_backend("haiku");
1;
use_backend("haiku");
1;

View file

@ -1,14 +1,14 @@
my @enabled_backends = ();
if (param_get("wayland") && not(param_get("tiny"))) {
push(@enabled_backends, "wayland");
}
if (param_get("x11")) {
push(@enabled_backends, "x11");
}
add_cflags("-DUSE_DBUS");
use_backend(@enabled_backends);
1;
my @enabled_backends = ();
if (param_get("wayland") && not(param_get("tiny"))) {
push(@enabled_backends, "wayland");
}
if (param_get("x11")) {
push(@enabled_backends, "x11");
}
add_cflags("-DUSE_DBUS");
use_backend(@enabled_backends);
1;

View file

@ -1,9 +1,9 @@
add_incdir2("-I/usr/X11R7/include -I/usr/pkg/include");
add_libdir(
"-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib");
use_backend("x11");
add_libs("-lpthread");
add_cflags("-DUSE_DBUS");
1;
add_incdir2("-I/usr/X11R7/include -I/usr/pkg/include");
add_libdir(
"-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib");
use_backend("x11");
add_libs("-lpthread");
add_cflags("-DUSE_DBUS");
1;

View file

@ -1,8 +1,8 @@
add_incdir2("-I/usr/local/include");
add_libdir("-L/usr/local/lib -Wl,-R/usr/local/lib");
use_backend("x11");
add_libs("-lpthread");
add_cflags("-DUSE_DBUS");
1;
add_incdir2("-I/usr/local/include");
add_libdir("-L/usr/local/lib -Wl,-R/usr/local/lib");
use_backend("x11");
add_libs("-lpthread");
add_cflags("-DUSE_DBUS");
1;

View file

@ -1,3 +1,3 @@
use_backend("x11");
1;
use_backend("x11");
1;

View file

@ -1,4 +1,4 @@
add_libs("-lsocket -lnsl");
use_backend("x11");
1;
add_libs("-lsocket -lnsl");
use_backend("x11");
1;

View file

@ -1,8 +1,8 @@
$library_prefix = "";
$library_suffix = ".dll";
$executable_suffix = ".exe";
$math = "";
add_ldflags("-Wl,--out-implib,src/libMw.dll.a -static-libgcc");
use_backend("gdi");
1;
$library_prefix = "";
$library_suffix = ".dll";
$executable_suffix = ".exe";
$math = "";
add_ldflags("-Wl,--out-implib,src/libMw.dll.a -static-libgcc");
use_backend("gdi");
1;