added the initial version of the XOrg support. still lots of cleaning up that needs...
[openwrt/svn-archive/archive.git] / XOrg / lib / libXxf86misc-X11R7.1 / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_BASE_NAME:=libXxf86misc
4 PKG_NAME:=libXxf86misc-X11R7.1
5 PKG_RELEASE:=1
6 PKG_VERSION:=1.0.1
7
8 _DEPEND:=
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)))