Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 816B

1234567891011121314151617181920212223242526272829303132333435
  1. # src/glu/Makefile
  2. TOP = ../..
  3. include $(TOP)/configs/current
  4. SUBDIRS = $(GLU_DIRS)
  5. default: $(TOP)/configs/current
  6. @for dir in $(SUBDIRS) ; do \
  7. (cd $$dir && $(MAKE)) || exit 1 ; \
  8. done
  9. # GLU pkg-config file
  10. pcedit = sed \
  11. -e 's,@INSTALL_DIR@,$(INSTALL_DIR),' \
  12. -e 's,@INSTALL_LIB_DIR@,$(INSTALL_LIB_DIR),' \
  13. -e 's,@INSTALL_INC_DIR@,$(INSTALL_INC_DIR),' \
  14. -e 's,@VERSION@,$(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY),'
  15. glu.pc: glu.pc.in
  16. $(pcedit) $< > $@
  17. install: glu.pc
  18. $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
  19. $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
  20. $(INSTALL) $(TOP)/$(LIB_DIR)/$(GLU_LIB_GLOB) $(DESTDIR)$(INSTALL_LIB_DIR)
  21. $(INSTALL) -m 644 glu.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
  22. clean:
  23. -@for dir in $(SUBDIRS) ; do \
  24. (cd $$dir && $(MAKE) clean) ; \
  25. done
  26. -rm -f *.pc