1# 2# Header Makefile for the Fast Light Tool Kit (FLTK). 3# 4# Copyright 1998-2021 by Bill Spitzak and others. 5# 6# This library is free software. Distribution and use rights are outlined in 7# the file "COPYING" which should have been included with this file. If this 8# file is missing or damaged, see the license at: 9# 10# https://www.fltk.org/COPYING.php 11# 12# Please see the following page on how to report bugs and issues: 13# 14# https://www.fltk.org/bugs.php 15# 16 17include ../makeinclude 18 19all: 20 21clean: 22 23depend: 24 25install: 26 echo "Installing include files in $(DESTDIR)$(includedir)..." 27 $(RMDIR) $(DESTDIR)$(includedir)/FL 28 $(INSTALL_DIR) $(DESTDIR)$(includedir)/FL 29 for file in *.[hH]; do \ 30 $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/FL; \ 31 done 32@HLINKS@ cd $(DESTDIR)$(includedir)/FL;\ 33@HLINKS@ for file in *.H; do\ 34@HLINKS@ $(RM) "`basename $$file H`h";\ 35@HLINKS@ $(LN) $$file "`basename $$file H`h";\ 36@HLINKS@ done 37@HLINKS@ $(RM) $(DESTDIR)$(includedir)/FL/fl_file_chooser.H 38@HLINKS@ $(LN) Fl_File_Chooser.H $(DESTDIR)$(includedir)/FL/fl_file_chooser.H 39@HLINKS@ $(RM) $(DESTDIR)$(includedir)/FL/fl_file_chooser.h 40@HLINKS@ $(LN) Fl_File_Chooser.H $(DESTDIR)$(includedir)/FL/fl_file_chooser.h 41@HLINKS@ $(RM) $(DESTDIR)$(includedir)/Fl 42@HLINKS@ $(LN) FL $(DESTDIR)$(includedir)/Fl 43 44uninstall: 45 echo "Uninstalling include files..." 46 $(RMDIR) $(DESTDIR)$(includedir)/FL 47@HLINKS@ $(RM) $(DESTDIR)$(includedir)/Fl 48