Skip to content
Permalink
758f42268a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (18 sloc) 588 Bytes
CC=gcc
CFLAGS=-Wall -g -O2
all: raritan_uncompressed.h kvm-connect
kvm-connect: kvm-connect.c
$(CC) $(CFLAGS) $< -o $@
raritan_uncompressed.h: rc.jar
unzip -q rc.jar
rm META-INF/RARITAN.* META-INF/rccore_api_MANIFEST.MF
head -15 META-INF/MANIFEST.MF > META-INF/MANIFEST.MF.temp
sed 's/true/false/' META-INF/MANIFEST.MF.temp > META-INF/MANIFEST.MF
rm META-INF/MANIFEST.MF.temp
zip -0 -r -q raritan_uncompressed.jar DrvRedirNative2* META-INF com nn
rm DrvRedirNative2*
rm -r META-INF com nn
xxd -i raritan_uncompressed.jar $@
clean:
rm kvm-connect
rm raritan_uncompressed.*