source: trunk/packages/xen-common/xen-common/tools/xenfb/Makefile @ 95

Last change on this file since 95 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 842 bytes
Line 
1XEN_ROOT=../..
2include $(XEN_ROOT)/tools/Rules.mk
3
4CFLAGS  += -I$(XEN_LIBXC) -I$(XEN_XENSTORE)
5CFLAGS  += -I$(XEN_ROOT)/linux-2.6-xen-sparse/include -I$(XEN_ROOT)/tools/ioemu
6LDFLAGS += -L$(XEN_LIBXC) -L$(XEN_XENSTORE)
7
8.PHONY: all
9all: build
10
11.PHONY: build
12build:
13        $(MAKE) vncfb sdlfb
14
15install: all
16        $(INSTALL_DIR) $(DESTDIR)/usr/$(LIBDIR)/xen/bin
17        $(INSTALL_PROG) vncfb $(DESTDIR)/usr/$(LIBDIR)/xen/bin/xen-vncfb
18        $(INSTALL_PROG) sdlfb $(DESTDIR)/usr/$(LIBDIR)/xen/bin/xen-sdlfb
19
20sdlfb: sdlfb.o xenfb.o
21
22sdlfb.o: CFLAGS += $(shell sdl-config --cflags)
23sdlfb: LDLIBS += $(shell sdl-config --libs) -lxenctrl -lxenstore
24
25clean:
26        $(RM) *.o *~ vncfb sdlfb
27
28vncfb: vncfb.o xenfb.o
29vncfb.o: CFLAGS += $(shell libvncserver-config --cflags)
30vncfb: LDLIBS += $(shell libvncserver-config --libs) -lxenctrl -lxenstore
31
32sdlfb.o xenfb.o vncfb.o: xenfb.h
Note: See TracBrowser for help on using the repository browser.