Fix dependencies (STR 3506)

test/fracviewer.cxx wouldn't be compiled if the ABI version was
changed with configure and `make' was executed w/o `make clean'.
Add 'fracviewer.cxx' to list of source files to fix this.

Also add missing unittest_scrollbarsize.cxx to dependencies of
unittests.o.

Finally run `makedepend' to update dependencies.

Note: cherry-picked from branch-1.3 and adjusted to fit master (1.4)
This commit is contained in:
Albrecht Schlosser 2019-01-17 18:12:41 +01:00
parent 6bc3fa3768
commit 9177c6e4cc
2 changed files with 9 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2017 by Bill Spitzak and others.
# Copyright 1998-2019 by Bill Spitzak and others.
#
# This library is free software. Distribution and use rights are outlined in
# the file "COPYING" which should have been included with this file. If this
@ -49,6 +49,7 @@ CPPFILES =\
fonts.cxx \
forms.cxx \
fractals.cxx \
fracviewer.cxx \
fullscreen.cxx \
gl_overlay.cxx \
glpuzzle.cxx \
@ -286,7 +287,7 @@ unittests$(EXEEXT): unittests.o
unittests.o: unittests.cxx unittest_about.cxx unittest_points.cxx unittest_lines.cxx unittest_circles.cxx \
unittest_rects.cxx unittest_text.cxx unittest_symbol.cxx unittest_viewport.cxx unittest_images.cxx \
unittest_schemes.cxx unittest_simple_terminal.cxx
unittest_schemes.cxx unittest_scrollbarsize.cxx unittest_simple_terminal.cxx
adjuster$(EXEEXT): adjuster.o

View File

@ -318,6 +318,12 @@ fractals.o: ../FL/Fl_Window.H ../FL/Fl.H ../FL/Fl_Export.H ../FL/fl_utf8.h
fractals.o: ../FL/Fl_Group.H ../FL/Fl_Widget.H ../FL/Fl_Bitmap.H
fractals.o: ../FL/Fl_Image.H ../FL/glu.h fracviewer.h ../FL/Fl_Button.H
fractals.o: ../FL/Fl_Window.H
fracviewer.o: ../config.h ../FL/glut.H ../FL/gl.h ../FL/Enumerations.H
fracviewer.o: ../FL/abi-version.h ../FL/Fl_Export.H ../FL/fl_types.h
fracviewer.o: ../FL/platform_types.h ../FL/Fl.H ../FL/Fl_Gl_Window.H
fracviewer.o: ../FL/Fl_Window.H ../FL/Fl.H ../FL/Fl_Export.H ../FL/fl_utf8.h
fracviewer.o: ../FL/Fl_Group.H ../FL/Fl_Widget.H ../FL/Fl_Bitmap.H
fracviewer.o: ../FL/Fl_Image.H ../FL/glu.h fracviewer.h
fullscreen.o: ../config.h ../FL/Fl.H ../FL/Fl_Export.H ../FL/platform_types.h
fullscreen.o: ../FL/fl_utf8.h ../FL/Fl_Export.H ../FL/fl_types.h
fullscreen.o: ../FL/Enumerations.H ../FL/abi-version.h