summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-05-20 08:52:24 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-05-20 08:52:24 +0000
commitbdf046e1d2b0a252cbaea00af9ae54b43bb73003 (patch)
tree05b4ea6d4a381498c6a6c3c8d788f8048eda7a46 /driver
parentd322f28a5ff7d2027fc679af85e56be675e62fe5 (diff)
Automake magic incantation that permits setting CFLAGS on make cmd line.
Diffstat (limited to 'driver')
-rw-r--r--driver/xf86-input-hyperpen/src/Makefile.am6
1 files changed, 1 insertions, 5 deletions
diff --git a/driver/xf86-input-hyperpen/src/Makefile.am b/driver/xf86-input-hyperpen/src/Makefile.am
index dbb7ae09a..5becd50d1 100644
--- a/driver/xf86-input-hyperpen/src/Makefile.am
+++ b/driver/xf86-input-hyperpen/src/Makefile.am
@@ -18,12 +18,8 @@
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+AM_CFLAGS = $(XORG_CFLAGS)
-# this is obnoxious:
-# -module lets us name the module exactly how we want
-# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
-# _ladir passes a dummy rpath to libtool so the thing will actually link
-# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
@DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
@DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
@DRIVER_NAME@_drv_ladir = @inputdir@