Makefile.am 533 B

1234567891011121314151617181920
  1. AM_CPPFLAGS = -I$(top_builddir)
  2. lib_LTLIBRARIES = libglplatform.la
  3. libglplatform_la_SOURCES = glplatform.c glplatform-glcore.c glplatform-glx.c
  4. noinst_PROGRAMS = example
  5. example_SOURCES = example.c
  6. example_LDADD = libglplatform.la
  7. BUILT_SOURCES = glplatform-glcore.c glplatform-glx.c
  8. CLEANFILES = $(BUILT_SOURCES) glplatform-glx.h glplatform-glcore.h
  9. glplatform-glcore.c:
  10. $(GLBINDIFY) -a gl -n glplatform
  11. glplatform-glx.c:
  12. $(GLBINDIFY) -a glx -n glplatform
  13. include_HEADERS = glplatform-glcore.h glplatform-glx.h glplatform.h