mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-21 16:44:07 +00:00
replace wtih new build system
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@615 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
14
m4/options/backend.m4
Normal file
14
m4/options/backend.m4
Normal file
@@ -0,0 +1,14 @@
|
||||
dnl $Id$
|
||||
ifdef([use_x11],[add_cflag([-DUSE_X11])dnl
|
||||
add_lib([-lX11 -lXrender -lXcursor])dnl
|
||||
new_object([src/backend/x11.c])dnl
|
||||
define([gl_lib],[-lGL -lGLU])])dnl
|
||||
dnl
|
||||
ifdef([use_gdi],[add_cflag([-DUSE_GDI])dnl
|
||||
add_lib([-lgdi32])dnl
|
||||
new_object([src/backend/gdi.c])dnl
|
||||
define([gl_lib],[-lopengl32 -lglu32])])dnl
|
||||
dnl
|
||||
ifdef([use_darwin],[add_cflag([-DUSE_DARWIN -DSTBI_NO_THREAD_LOCALS])dnl
|
||||
new_object([src/backend/mac/*.c])dnl
|
||||
define([gl_lib],[])])dnl
|
||||
9
m4/options/opengl.m4
Normal file
9
m4/options/opengl.m4
Normal file
@@ -0,0 +1,9 @@
|
||||
dnl $Id$
|
||||
ifdef([build_opengl],[new_object([src/widget/opengl.c])dnl
|
||||
new_example([examples/gldemos/boing],[],[],[gl_lib])dnl
|
||||
new_example([examples/gldemos/clock],[],[],[gl_lib])dnl
|
||||
new_example([examples/gldemos/cube],[],[],[gl_lib])dnl
|
||||
new_example([examples/gldemos/gears],[],[],[gl_lib])dnl
|
||||
new_example([examples/gldemos/triangle],[],[],[gl_lib])dnl
|
||||
new_example([examples/gldemos/tripaint],[],[],[gl_lib])dnl
|
||||
])dnl
|
||||
4
m4/options/vulkan.m4
Normal file
4
m4/options/vulkan.m4
Normal file
@@ -0,0 +1,4 @@
|
||||
dnl $Id$
|
||||
ifdef([build_vulkan],[new_object([src/widget/vulkan.c])dnl
|
||||
new_example([examples/vkdemos/vulkan])dnl
|
||||
])dnl
|
||||
Reference in New Issue
Block a user