head	1.2;
access;
symbols
	knoppix-051:1.1.1.1 knoppix:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.03.10.12.36.48;	author tcheun1;	state Exp;
branches;
next	1.1;

1.1
date	2005.03.10.11.22.25;	author tcheun1;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2005.03.10.11.22.25;	author tcheun1;	state Exp;
branches;
next	;


desc
@@


1.2
log
@change only names
@
text
@CFLAGS=-Wall -O2 -g# -DDEBUG

TARGETS=ddcprobe svgamodes ddcxinfo ddcxinfo-booyo modetest libvbe.a

ifeq (.depend,$(wildcard .depend))
TARGET=all
else
TARGET=depend all
endif

everything: $(TARGET)

all: $(TARGETS)

install: $(TARGETS)
	cp -a ddcxinfo-booyo $(DESTDIR)/opt/booyo/ddcxinfo-booyo
#	cp -a ddcprobe $(DESTDIR)/usr/sbin/ddcprobe

ddcprobe: lrmi.o vesamode.o vbe.o ddcprobe.o

svgamodes: lrmi.o vesamode.o vbe.o svgamodes.o

ddcxinfo: lrmi.o vesamode.o vbe.o ddcxinfo.o

ddcxinfo-booyo: lrmi.o vesamode.o vbe.o ddcxinfo-booyo.o

modetest: lrmi.o vesamode.o vbe.o modetest.o

libvbe.a: lrmi.o vesamode.o vbe.o
	$(AR) cru $@@ $^

install-lib: $(prefix)/include/vbe.h $(prefix)/lib/libvbe.a

$(prefix)/include/vbe.h:
	install -m 644 vbe.h $(prefix)/include/vbe.h

$(prefix)/lib/libvbe.a:
	install -m 644 libvbe.a $(prefix)/lib/libvbe.a

clean:
	$(RM) $(TARGETS) *.o .depend core

depend:
	$(CPP) -M $(CFLAGS) *.c > .depend

ifeq (.depend,$(wildcard .depend))
include .depend
endif
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
TARGETS=ddcprobe svgamodes ddcxinfo ddcxinfo-knoppix modetest libvbe.a
d16 2
a17 1
	cp -a ddcprobe $(DESTDIR)/usr/sbin/ddcprobe
d25 1
a25 1
ddcxinfo-knoppix: lrmi.o vesamode.o vbe.o ddcxinfo-knoppix.o
@


1.1.1.1
log
@import ddcxinfo-knoppix-0.5.1
@
text
@@
