diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-08-26 02:59:57 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-08-26 02:59:57 +0000 |
commit | 56e961c6baa12b59aa9c1a6b885e7b26d3d043d3 (patch) | |
tree | 6db288a5863897a291f3dc1a220a353bcc2d8b65 /tools/ddcprobe/Makefile | |
parent | bca044d23e02fbe89a93aa8df9cf4916cd9e2eaf (diff) | |
download | drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar.gz drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar.bz2 drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.tar.xz drakx-56e961c6baa12b59aa9c1a6b885e7b26d3d043d3.zip |
Some arrangements for IA-64
Diffstat (limited to 'tools/ddcprobe/Makefile')
-rw-r--r-- | tools/ddcprobe/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/ddcprobe/Makefile b/tools/ddcprobe/Makefile index 73f601c7e..2026916f7 100644 --- a/tools/ddcprobe/Makefile +++ b/tools/ddcprobe/Makefile @@ -8,6 +8,9 @@ endif ifeq (x86_64,$(ARCH)) HAS_VBE = y endif +ifeq (ia64,$(ARCH)) +HAS_VBE = y +endif CC = gcc CFLAGS = -O -Wall # -g -DDEBUG @@ -17,6 +20,7 @@ ifeq (y,$(HAS_VBE)) LDFLAGS += -L. -lint10 -lx86emu OBJS = ddcxinfos.o vesamode.o vbe.o LIBS = libint10.a libx86emu.a +DEFS += -DHAVE_VBE endif ifeq (ppc,$(ARCH)) OBJS = ddcxinfos.o of.o minifind.o vbe.o vesamode.o @@ -24,6 +28,7 @@ endif ifeq (,$(OBJS)) OBJS = not_handled.o endif +CPPFLAGS= $(DEFS) TARGETS = ddcxinfos all: $(TARGETS) @@ -38,7 +43,7 @@ libint10.a: libx86emu.a $(MAKE) -C int10 %.o: %.c - $(CC) $(CFLAGS) $(INCS) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -c $< -o $@ clean: $(MAKE) -C int10 clean |