open-src/driver/xf86-input-synaptics/Makefile
changeset 1088 1c99106ccbe0
parent 1054 1c1ff42df15b
child 1097 243d7ed7a10c
equal deleted inserted replaced
1087:a8aa060182e1 1088:1c99106ccbe0
     1 ###############################################################################
     1 ###############################################################################
     2 #
     2 #
     3 # xf86-input-synaptics Makefile
     3 # xf86-input-synaptics Makefile
     4 #
     4 #
     5 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
     5 # Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
     6 #
     6 #
     7 # Permission is hereby granted, free of charge, to any person obtaining a
     7 # Permission is hereby granted, free of charge, to any person obtaining a
     8 # copy of this software and associated documentation files (the "Software"),
     8 # copy of this software and associated documentation files (the "Software"),
     9 # to deal in the Software without restriction, including without limitation
     9 # to deal in the Software without restriction, including without limitation
    10 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    10 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    44 	--bindir=$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
    44 	--bindir=$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
    45 
    45 
    46 # Libraries/modules to link with
    46 # Libraries/modules to link with
    47 MODULE_LD_OPTIONS= -lm
    47 MODULE_LD_OPTIONS= -lm
    48 
    48 
    49 # Fix path for installing headers & HAL fdi file in proto area
    49 # Extra install rules
    50 MODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)' \
    50 MODULE_ADD_INSTALL_TARGETS = install_fdi
    51 	fdidir=/etc/hal/fdi/policy/10osvendor
    51 
       
    52 # Fix path for installing headers in proto area
       
    53 MODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
    52 
    54 
    53 include ../Makefile.inc
    55 include ../Makefile.inc
    54 
    56 
       
    57 FDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor
       
    58 
       
    59 $(FDI_DIR):
       
    60 	mkdir -p $(FDI_DIR)
       
    61 
       
    62 install_fdi: $(SOURCE_TARGETS) $(FDI_DIR)
       
    63 	$(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/conf/11-x11-synaptics.fdi \
       
    64 		$(FDI_DIR)/