diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-05 19:18:09 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-05 19:18:09 +0100 |
commit | 5879cf0c50cecded79224b5207be9a83c204ccad (patch) | |
tree | 248c8b03d86b1679cfdb42b4f274839a8f981272 /mk | |
parent | Update todo (diff) | |
download | libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.gz libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.bz2 libgamma-5879cf0c50cecded79224b5207be9a83c204ccad.tar.xz |
Fix support for fake methods
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/method-quartz-cg=fake.mk | 7 | ||||
-rw-r--r-- | mk/method-quartz-cg=yes.mk | 3 | ||||
-rw-r--r-- | mk/method-w32-gdi=fake.mk | 7 | ||||
-rw-r--r-- | mk/method-w32-gdi=yes.mk | 3 |
4 files changed, 14 insertions, 6 deletions
diff --git a/mk/method-quartz-cg=fake.mk b/mk/method-quartz-cg=fake.mk index 496ac8a..0c55278 100644 --- a/mk/method-quartz-cg=fake.mk +++ b/mk/method-quartz-cg=fake.mk @@ -1,3 +1,6 @@ -HDR_QUARTZ_GC = method-quartz-cg.h -PARAMS_QUARTZ_GC = LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS quartz_cg -1 rampsf +include mk/method-quartz-cg=yes.mk +HDR_QUARTZ_GC = fake-quartz-cg.h method-quartz-cg.h +OBJ_FAKE_QUARTZ_GC = fake-quartz-cg.o CPPFLAGS_QUARTZ_GC = -DHAVE_LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS -DFAKE_LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS +CFLAGS_QUARTZ_GC = +LDFLAGS_QUARTZ_GC = diff --git a/mk/method-quartz-cg=yes.mk b/mk/method-quartz-cg=yes.mk index cb079cf..540c23e 100644 --- a/mk/method-quartz-cg=yes.mk +++ b/mk/method-quartz-cg=yes.mk @@ -20,4 +20,5 @@ OBJ_QUARTZ_GC =\ libgamma_quartz_cg_crtc_restore.o\ libgamma_quartz_cg_get_crtc_information.o\ libgamma_quartz_cg_crtc_get_gamma_rampsf.o\ - libgamma_quartz_cg_crtc_set_gamma_rampsf.o + libgamma_quartz_cg_crtc_set_gamma_rampsf.o\ + $(OBJ_FAKE_QUARTZ_GC) diff --git a/mk/method-w32-gdi=fake.mk b/mk/method-w32-gdi=fake.mk index fd068a8..256404e 100644 --- a/mk/method-w32-gdi=fake.mk +++ b/mk/method-w32-gdi=fake.mk @@ -1,3 +1,6 @@ -HDR_W32_GDI = method-w32-gdi.h -PARAMS_W32_GDI = LIBGAMMA_METHOD_W32_GDI w32_gdi 16 ramps16 +include mk/method-w32-gdi=yes.mk +HDR_W32_GDI = fake-w32-gdi.h method-w32-gdi.h +OBJ_FAKE_W32_GDI = fake-w32-gdi.o CPPFLAGS_W32_GDI = -DHAVE_LIBGAMMA_METHOD_W32_GDI -DFAKE_LIBGAMMA_METHOD_W32_GDI +CFLAGS_W32_GDI = +LDFLAGS_W32_GDI = diff --git a/mk/method-w32-gdi=yes.mk b/mk/method-w32-gdi=yes.mk index 3f62a2d..1f04c43 100644 --- a/mk/method-w32-gdi=yes.mk +++ b/mk/method-w32-gdi=yes.mk @@ -15,4 +15,5 @@ OBJ_W32_GDI =\ libgamma_w32_gdi_crtc_restore.o\ libgamma_w32_gdi_get_crtc_information.o\ libgamma_w32_gdi_crtc_get_gamma_ramps16.o\ - libgamma_w32_gdi_crtc_set_gamma_ramps16.o + libgamma_w32_gdi_crtc_set_gamma_ramps16.o\ + $(OBJ_FAKE_W32_GDI) |