added the initial version of the XOrg support. still lots of cleaning up that needs...
[openwrt/svn-archive/archive.git] / XOrg / lib / libXrandr-X11R7.2 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_BASE_NAME:=libXrandr
4 PKG_NAME:=libXrandr-X11R7.2
5 PKG_RELEASE:=1
6 PKG_VERSION:=1.1.2
7
8 _DEPEND:= +libXext-X11R7.2 +libXrender-X11R7.2 +randrproto-X11R7.0 +renderproto-X11R7.0 +xextproto-X11R7.0 +libX11-X11R7.2
9
10
11 include ../common.mk
12
13 ifeq ("$(PKG_NAME)","libX11-X11R7.2")
14 #CONFIGURE_ARGS_XTRA=--without-xcb --disable-udc --enable-xcms --disable-xlocale --disable-xkb
15 CONFIGURE_ARGS_XTRA=--without-xcb
16 define Build/Compile
17 $(MAKE_VARS) \
18 $(MAKE) -C $(PKG_BUILD_DIR)/src/util CFLAGS="" LDFLAGS="" CC="cc" makekeys
19 $(MAKE_VARS) \
20 $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
21 $(MAKE_FLAGS) \
22 all ;
23 endef
24 endif
25
26 ifeq ("$(PKG_NAME)","libXt-X11R7.2")
27 define Build/Compile
28 $(MAKE_VARS) \
29 $(MAKE) -C $(PKG_BUILD_DIR)/util CFLAGS="" LDFLAGS="" CC="cc"
30 make -C $(PKG_BUILD_DIR)
31 endef
32 endif
33
34 $(eval $(call BuildPackage,$(PKG_NAME)))