1# Copyright © 2011 Intel Corporation 2# 3# Permission is hereby granted, free of charge, to any person obtaining a 4# copy of this software and associated documentation files (the "Software"), 5# to deal in the Software without restriction, including without limitation 6# the rights to use, copy, modify, merge, publish, distribute, sublicense, 7# and/or sell copies of the Software, and to permit persons to whom the 8# Software is furnished to do so, subject to the following conditions: 9# 10# The above copyright notice and this permission notice (including the next 11# paragraph) shall be included in all copies or substantial portions of the 12# Software. 13# 14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 20# IN THE SOFTWARE. 21 22AUTOMAKE_OPTIONS = foreign 23 24pkgconfigdir = $(libdir)/pkgconfig 25pkgconfig_DATA = glw.pc 26 27GLW_LIBRARY_VERSION=1:0:0 28lib_LTLIBRARIES = libGLw.la 29libGLw_la_SOURCES = GLwDrawA.c 30libGLw_la_CFLAGS = $(GLW_CLFAGS) 31libGLw_la_LIBADD = $(GLW_LIBS) 32libGLw_la_LDFLAGS = -version-info $(GLW_LIBRARY_VERSION) -no-undefined 33if ENABLE_MOTIF 34libGLw_la_SOURCES += GLwMDrawA.c 35libGLw_la_CFLAGS += $(MOTIF_CFLAGS) 36libGLw_la_LIBADD += $(MOTIF_LIBS) 37endif 38library_includedir=$(includedir)/GL/ 39library_include_HEADERS=GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h 40 41clean: 42 -rm -f *.o *.lo *.la *~ 43 -rm -rf .libs 44