aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-01-06 11:21:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-01-06 11:21:23 +0000
commit44eacabbffe8127f528a9f09593910233d55cd86 (patch)
treeecd833f408b02b5f22b950d2d08655426fe252af /Makefile
parent53c3590bd16fd8a0392974b8c08961ea18c91b9b (diff)
downloadmonitor-edid-44eacabbffe8127f528a9f09593910233d55cd86.tar
monitor-edid-44eacabbffe8127f528a9f09593910233d55cd86.tar.gz
monitor-edid-44eacabbffe8127f528a9f09593910233d55cd86.tar.bz2
monitor-edid-44eacabbffe8127f528a9f09593910233d55cd86.tar.xz
monitor-edid-44eacabbffe8127f528a9f09593910233d55cd86.zip
- monitor-get-edid is now a perl script able to probe /proc/acpi/video
(or /proc/device-tree on PPC) - binary monitor-get-edid is now monitor-get-edid-using-vbe - monitor-edid is able to get more than one head
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 3 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 571e61d..ac91239 100644
--- a/Makefile
+++ b/Makefile
@@ -15,37 +15,21 @@ endif
ifeq (ia64,$(ARCH))
HAS_VBE = y
endif
-ifeq (ppc,$(ARCH))
-HAS_OPEN_FIRMWARE = y
-endif
-ifeq (ppc64,$(ARCH))
-HAS_OPEN_FIRMWARE = y
-endif
-TARGETS = monitor-get-edid cvt
+TARGETS = monitor-get-edid-using-vbe cvt
CFLAGS = -O -Wall -g
-OBJS = monitor-get-edid.c
+OBJS = monitor-get-edid-using-vbe.c vbe.o libint10.a libx86emu.a
ifeq (i386,$(ARCH))
OBJS += lrmi.o
endif
-ifeq (y,$(HAS_VBE))
-OBJS += vbe.o libint10.a libx86emu.a
-else
-ifeq (y,$(HAS_OPEN_FIRMWARE))
-OBJS += open_firmware.o minifind.o
-else
-$(error "can't access EDID since neither VBE nor open firmware supported")
-endif
-endif
-
all: $(TARGETS)
cvt: LDFLAGS += -lm
-monitor-get-edid: $(OBJS)
+monitor-get-edid-using-vbe: $(OBJS)
libx86emu.a: x86emu/*.c
$(MAKE) -C x86emu