Remove autotools (configure/make) support

This commit is contained in:
Albrecht Schlosser
2025-03-06 17:12:52 +01:00
parent 880636eb12
commit e2ca1a39c8
32 changed files with 0 additions and 20417 deletions
-47
View File
@@ -1,47 +0,0 @@
#
# Header Makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2021 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include ../makeinclude
all:
clean:
depend:
install:
echo "Installing include files in $(DESTDIR)$(includedir)..."
$(RMDIR) "$(DESTDIR)$(includedir)/FL"
$(INSTALL_DIR) "$(DESTDIR)$(includedir)/FL"
for file in *.[hH]; do \
$(INSTALL_DATA) $$file "$(DESTDIR)$(includedir)/FL"; \
done
@HLINKS@ cd "$(DESTDIR)$(includedir)/FL";\
@HLINKS@ for file in *.H; do\
@HLINKS@ $(RM) "`basename $$file H`h";\
@HLINKS@ $(LN) $$file "`basename $$file H`h";\
@HLINKS@ done
@HLINKS@ $(RM) "$(DESTDIR)$(includedir)/FL/fl_file_chooser.H"
@HLINKS@ $(LN) Fl_File_Chooser.H "$(DESTDIR)$(includedir)/FL/fl_file_chooser.H"
@HLINKS@ $(RM) "$(DESTDIR)$(includedir)/FL/fl_file_chooser.h"
@HLINKS@ $(LN) Fl_File_Chooser.H "$(DESTDIR)$(includedir)/FL/fl_file_chooser.h"
@HLINKS@ $(RM) "$(DESTDIR)$(includedir)/Fl"
@HLINKS@ $(LN) FL "$(DESTDIR)$(includedir)/Fl"
uninstall:
echo "Uninstalling include files..."
$(RMDIR) "$(DESTDIR)$(includedir)/FL"
@HLINKS@ $(RM) "$(DESTDIR)$(includedir)/Fl"
-134
View File
@@ -1,134 +0,0 @@
#
# Top-level Makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include makeinclude
DIRS = $(IMAGEDIRS) $(LIBDECORDIR) src $(CAIRODIR) $(FLUIDDIR) fltk-options $(TESTDIR) \
documentation
all: makeinclude fltk-config
for dir in $(DIRS); do\
echo "=== making $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS)) || exit 1;\
done
# Build test programs (and 'all') if FLTK was configured with '--disable-test'
test: all
echo "=== making test ===";\
(cd test; $(MAKE) $(MFLAGS)) || exit 1
install: makeinclude
-mkdir -p "$(DESTDIR)$(bindir)"
$(RM) "$(DESTDIR)$(bindir)/fltk-config"
$(INSTALL_SCRIPT) fltk-config "$(DESTDIR)$(bindir)"
for dir in FL $(DIRS); do\
echo "=== installing $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) install) || exit 1;\
done
install-desktop: makeinclude
cd documentation; $(MAKE) $(MFLAGS) $(INSTALL_DESKTOP)
cd fluid; $(MAKE) $(MFLAGS) $(INSTALL_DESKTOP)
cd fltk-options; $(MAKE) $(MFLAGS) $(INSTALL_DESKTOP)
cd test; $(MAKE) $(MFLAGS) $(INSTALL_DESKTOP)
uninstall: makeinclude
$(RM) "$(DESTDIR)$(bindir)/fltk-config"
for dir in FL $(DIRS); do\
echo "=== uninstalling $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) uninstall) || exit 1;\
done
uninstall-desktop: makeinclude
cd documentation; $(MAKE) $(MFLAGS) $(UNINSTALL_DESKTOP)
cd fluid; $(MAKE) $(MFLAGS) $(UNINSTALL_DESKTOP)
cd fltk-options; $(MAKE) $(MFLAGS) $(UNINSTALL_DESKTOP)
cd test; $(MAKE) $(MFLAGS) $(UNINSTALL_DESKTOP)
depend: makeinclude
for dir in $(DIRS); do\
echo "=== making dependencies in $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) depend) || exit 1;\
done
clean:
-$(RM) core *.o
for dir in examples $(DIRS); do\
echo "=== cleaning $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) clean) || exit 1;\
done
distclean: clean
$(RM) config.h config.log config.status
$(RM) fltk-config fltk.list makeinclude
$(RM) fltk.spec
$(RM) FL/Makefile
$(RM) FL/fl_config.h
$(RM) documentation/*.$(CAT1EXT)
$(RM) documentation/*.$(CAT3EXT)
$(RM) documentation/*.$(CAT6EXT)
$(RM) documentation/fltk.ps
$(RM) -r documentation/fltk.d
for file in test/*.fl; do\
$(RM) test/`basename $$file .fl`.cxx; \
$(RM) test/`basename $$file .fl`.h; \
done
$(RM) -rf autom4te.cache/
$(RM) configure
fltk-config: configure configh.in fltk-config.in
if test -f config.status; then \
./config.status --recheck; \
./config.status; \
else \
./configure; \
fi
touch config.h
chmod +x fltk-config
makeinclude: configure configh.in makeinclude.in
if test -f config.status; then \
./config.status --recheck; \
./config.status; \
else \
./configure; \
fi
touch config.h
chmod +x fltk-config
configure: configure.ac
autoconf
portable-dist:
epm -v -s fltk.xpm fltk
native-dist:
epm -v -f native fltk
etags:
etags FL/*.H FL/*.h src/*.cxx src/*.c src/*.h src/xutf8/*.h src/xutf8/*.c cairo/*.c fluid/*.h fluid/*.cxx test/*.h test/*.cxx
#
# Run the clang.llvm.org static code analysis tool on the C sources.
# (at least checker-231 is required for scan-build to work this way)
#
.PHONY: clang clang-changes
clang:
$(RM) -r clang
scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) clean all
clang-changes:
scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) all
-20
View File
@@ -1,20 +0,0 @@
#! /bin/sh
#
# This file is no longer referred to in the documentation, it's kept
# for backwards compatibility only.
#
# Just run `autoconf` instead to generate `configure` and you're done.
#
# The old README.Unix.txt stated that it should be executed from within
# the "FLTK source-code directory", hence changing directories is not
# useful and would break if the user's home directory contained spaces.
# Changing directories has been removed in FLTK 1.4.0 and this file
# has been simplified substantially.
#
# Instead of executing it as documented in pre-1.4 README files the new docs
# instruct to just execute `autoconf` which is sufficient and equivalent to
# the old instructions.
autoconf --force || exit 1
test -n "$NOCONFIGURE" || ./configure "$@"
-182
View File
@@ -1,182 +0,0 @@
#
# Dummy Cairo Library Makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2009 by Easy Software Products.
# Copyright 2010-2023 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
########################################################################
# Note: since FLTK 1.4.0 Fl_Cairo_Window support [1] is included in
# libfltk and libfltk_cairo is no longer necessary. This directory is
# used to build an "empty" dummy library for backwards compatibility,
# just in case users expect it to exist.
# ----------------------------------------------------------------------
# The entire 'cairo' folder will be removed in a later FLTK release.
########################################################################
# Note: see ../configure.in and/or ../makeinclude for definition of
# FL_VERSION (x.y.z), FL_ABI_VERSION (x.y.0), and FL_DSO_VERSION (x.y)
FLTKFLAGS = -DFL_LIBRARY
include ../makeinclude
#
# Object files...
#
CAIROCFILES = cairo_dummy.c
CAIROOBJECTS = $(CAIROCFILES:.c=.o)
#
# Make all of the targets...
#
all: $(CAIROLIBNAME) $(CAIRODSONAME)
$(CAIROLIBNAME): $(CAIROOBJECTS)
echo $(LIBCOMMAND) $@ ...
$(RM) $@
$(LIBCOMMAND) $@ $(CAIROOBJECTS)
$(RANLIB) $@
libfltk_cairo.so.$(FL_DSO_VERSION): $(CAIROOBJECTS) ../src/libfltk.so.$(FL_DSO_VERSION)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(CAIROOBJECTS) -L../src -lfltk $(CAIROLIBS)
$(RM) libfltk_cairo.so
$(LN) $(CAIRODSONAME) libfltk_cairo.so
libfltk_cairo.sl.$(FL_DSO_VERSION): $(CAIROOBJECTS) ../src/libfltk.sl.$(FL_DSO_VERSION)
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ $(CAIROOBJECTS) -L../src -lfltk $(CAIROLIBS)
$(RM) libfltk_cairo.sl
$(LN) libfltk_cairo.sl.$(FL_DSO_VERSION) libfltk_cairo.sl
libfltk_cairo.$(FL_DSO_VERSION).dylib: $(CAIROOBJECTS) ../src/libfltk.$(FL_DSO_VERSION).dylib
echo $(DSOCOMMAND) $@ ...
$(DSOCOMMAND) $@ \
-install_name $(libdir)/$@ \
-current_version $(FL_VERSION) \
-compatibility_version $(FL_ABI_VERSION) \
$(CAIROOBJECTS) -L../src $(LDLIBS) $(CAIROLIBS) -lfltk
$(RM) libfltk_cairo.dylib
$(LN) libfltk_cairo.$(FL_DSO_VERSION).dylib libfltk_cairo.dylib
libfltk_cairo_s.a: $(CAIROOBJECTS)
echo $(DSOCOMMAND) libfltk_cairo_s.o ...
$(DSOCOMMAND) libfltk_cairo_s.o $(CAIROOBJECTS)
echo $(LIBCOMMAND) libfltk_cairo_s.a src/libfltk_cairo_s.o
$(RM) $@
$(LIBCOMMAND) src/libfltk_cairo_s.a src/libfltk_cairo_s.o
$(CHMOD) +x src/libfltk_cairo_s.a
cygfltknox_cairo-$(FL_DSO_VERSION).dll: $(CAIROLIBNAME) ../src/cygfltknox-$(FL_DSO_VERSION).dll
echo $(DSOCOMMAND) $(CAIROLIBNAME) ...
$(DSOCOMMAND) $(CAIROLIBNAME) -Wl,--no-whole-archive \
-Wl,--out-implib=libfltk_cairo.dll.a \
-L../src -lfltk $(CAIROLIBS) $(LDLIBS)
mgwfltknox_cairo-$(FL_DSO_VERSION).dll: $(CAIROLIBNAME) ../src/mgwfltknox-$(FL_DSO_VERSION).dll
echo $(DSOCOMMAND) $(CAIROLIBNAME) ...
$(DSOCOMMAND) $(CAIROLIBNAME) -Wl,--no-whole-archive \
-Wl,--out-implib=libfltk_cairo.dll.a \
-L../src -lfltk $(CAIROLIBS) $(LDLIBS)
#
# Clean all of the targets and object files...
#
clean:
-$(RM) *.o *.dll.a core.* *~ *.bak *.bck
-$(RM) $(CAIROOBJECTS) $(CAIROLIBNAME) $(CAIRODSONAME) \
libfltk_cairo.so src/libfltk_cairo.sl src/libfltk_cairo.dylib
#
# Install everything...
#
install: $(CAIROLIBNAME) $(CAIRODSONAME)
echo "Installing libfltk_cairo$(LIBEXT) in $(libdir)..."
-$(INSTALL_DIR) $(DESTDIR)$(libdir)
$(INSTALL_LIB) $(CAIROLIBNAME) $(DESTDIR)$(libdir)
if test x$(CAIRODSONAME) = xlibfltk_cairo.so.$(FL_DSO_VERSION); then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.so*;\
$(INSTALL_LIB) libfltk_cairo.so.$(FL_DSO_VERSION) $(DESTDIR)$(libdir); \
$(LN) libfltk_cairo.so.$(FL_DSO_VERSION) $(DESTDIR)$(libdir)/libfltk_cairo.so;\
fi
if test x$(CAIRODSONAME) = xsrc/libfltk_cairo.sl.$(FL_DSO_VERSION); then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.sl*;\
$(INSTALL_LIB) libfltk_cairo.sl.$(FL_DSO_VERSION) $(DESTDIR)$(libdir); \
$(LN) libfltk_cairo.sl.$(FL_DSO_VERSION) $(DESTDIR)$(libdir)/libfltk_cairo.sl;\
fi
if test x$(CAIRODSONAME) = xlibfltk_cairo.$(FL_DSO_VERSION).dylib; then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.*dylib;\
$(INSTALL_LIB) libfltk_cairo.$(FL_DSO_VERSION).dylib $(DESTDIR)$(libdir); \
$(LN) libfltk_cairo.$(FL_DSO_VERSION).dylib $(DESTDIR)$(libdir)/libfltk_cairo.dylib;\
fi
if test x$(CAIRODSONAME) = xlibfltk_cairo_s.a; then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo_s.a;\
$(INSTALL_LIB) libfltk_cairo_s.a $(DESTDIR)$(libdir); \
fi
if test x$(CAIRODSONAME) = xcygfltknox_cairo-$(FL_DSO_VERSION).dll; then\
$(RM) $(DESTDIR)$(bindir)/$(CAIRODSONAME); \
$(INSTALL_LIB) $(CAIRODSONAME) $(DESTDIR)$(bindir); \
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.dll.a;\
$(INSTALL_LIB) libfltk_cairo.dll.a $(DESTDIR)$(libdir); \
fi
if test x$(CAIRODSONAME) = xmgwfltknox_cairo-$(FL_DSO_VERSION).dll; then\
$(RM) $(DESTDIR)$(bindir)/$(CAIRODSONAME); \
$(INSTALL_LIB) $(CAIRODSONAME) $(DESTDIR)$(bindir); \
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.dll.a;\
$(INSTALL_LIB) libfltk_cairo.dll.a $(DESTDIR)$(libdir); \
fi
#
# Uninstall everything...
#
uninstall:
echo "Uninstalling libfltk_cairo$(LIBEXT) in $(libdir)..."
if test x$(CAIROLIBNAME) != x; then\
$(RM) $(DESTDIR)$(libdir)/$(CAIROLIBNAME);\
fi
if test x$(CAIRODSONAME) = xlibfltk_cairo.so.$(FL_DSO_VERSION); then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.so*;\
fi
if test x$(CAIRODSONAME) = xlibfltk_cairo.sl.$(FL_DSO_VERSION); then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.sl*;\
fi
if test x$(CAIRODSONAME) = xlibfltk_cairo.$(FL_DSO_VERSION).dylib; then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.*dylib;\
fi
if test x$(CAIRODSONAME) = xlibfltk_cairo_s.a; then\
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo_s.a;\
fi
if test x$(CAIRODSONAME) = xcygfltknox_cairo-$(FL_DSO_VERSION).dll; then\
$(RM) $(DESTDIR)$(bindir)/$(CAIRODSONAME); \
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.dll.a;\
fi
if test x$(CAIRODSONAME) = xmgwfltknox_cairo-$(FL_DSO_VERSION).dll; then\
$(RM) $(DESTDIR)$(bindir)/$(CAIRODSONAME); \
$(RM) $(DESTDIR)$(libdir)/libfltk_cairo.dll.a;\
fi
$(CAIROOBJECTS): ../makeinclude
depend: $(CAIROCFILES)
makedepend -Y -I.. -f makedepend -w 20 $(CAIROCFILES)
echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > makedepend.tmp
echo "" >> makedepend.tmp
grep '^[a-zA-Z]' makedepend | ( LC_ALL=C sort -u -f >> makedepend.tmp; )
mv makedepend.tmp makedepend
include makedepend
-2
View File
@@ -1,2 +0,0 @@
# DO NOT DELETE THIS LINE -- make depend depends on it.
-1568
View File
File diff suppressed because it is too large Load Diff
Vendored
-1793
View File
File diff suppressed because it is too large Load Diff
-342
View File
@@ -1,342 +0,0 @@
/*
* Configuration file for the Fast Light Tool Kit (FLTK).
*
* Copyright 1998-2024 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
* file is missing or damaged, see the license at:
*
* https://www.fltk.org/COPYING.php
*
* Please see the following page on how to report bugs and issues:
*
* https://www.fltk.org/bugs.php
*/
/*
* Note: configure syntax vs. CMake syntax in source files (examples):
*
* configh.in configh.cmake.in
* --------------------- ----------------------------
* [#]define HAVE_GL 0 [#]cmakedefine01 HAVE_GL
* [#]undef HAVE_SNPRINTF [#]cmakedefine HAVE_SNPRINTF 1
*
* The former defines the given macro either as 0 or 1,
* the latter either does not define the macro or defines it as 1.
*/
/*
* Always include the public build configuration header
*/
#include <FL/fl_config.h>
/*
* Where to find files...
*/
#define FLTK_DATADIR ""
#define FLTK_DOCDIR ""
/*
* BORDER_WIDTH:
*
* Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are
* supported.
*
* 3 is the historic FLTK look.
* 2 is the default and looks like Microsoft Windows, KDE, and Qt.
* 1 is a plausible future evolution...
*
* Note that this may be simulated at runtime by redefining the boxtypes
* using Fl::set_boxtype().
*/
#define BORDER_WIDTH 2
/*
* HAVE_GL:
*
* Do you have OpenGL? Set this to 0 if you don't have or plan to use
* OpenGL, and FLTK will be smaller.
*/
#define HAVE_GL 0
/*
* HAVE_GL_GLU_H:
*
* Do you have the OpenGL Utility Library header file?
* (many broken Mesa RPMs do not...)
*/
#define HAVE_GL_GLU_H 0
/*
* HAVE_GLXGETPROCADDRESSARB:
*
* Do you have the OpenGL glXGetProcAddressARB() function?
*/
#undef HAVE_GLXGETPROCADDRESSARB
/*
* USE_COLORMAP:
*
* Setting this to zero will save a good deal of code (especially for
* fl_draw_image), but FLTK will only work on TrueColor visuals.
*/
#define USE_COLORMAP 1
/*
* HAVE_XINERAMA
*
* Do we have the Xinerama library to support multi-head displays?
*/
#define HAVE_XINERAMA 0
/*
* USE_XFT
*
* Use the Xft library to draw anti-aliased text.
*/
#define USE_XFT 0
/*
* USE_PANGO
*
* Use the pango library to draw UTF-8 text.
*/
#define USE_PANGO 0
/*
* HAVE_XFIXES:
*
* Do we have the X fixes extension?
*/
#define HAVE_XFIXES 0
/*
* HAVE_XCURSOR:
*
* Do we have the X cursor library?
*/
#define HAVE_XCURSOR 0
/*
* HAVE_XRENDER:
*
* Do we have the X render library?
*/
#define HAVE_XRENDER 0
/*
* HAVE_X11_XREGION_H:
*
* Do we have the X11 Xregion.h header file ?
*/
#define HAVE_X11_XREGION_H 0
/*
* HAVE_GL_OVERLAY:
*
* It is possible your GL has an overlay even if X does not. If so,
* set this to 1.
*/
#define HAVE_GL_OVERLAY 0
/*
* WORDS_BIGENDIAN:
*
* Byte order of your machine: 1 = big-endian, 0 = little-endian.
*/
#ifdef __APPLE__
#include <mac_endianness.h>
#else
#define WORDS_BIGENDIAN 0
#endif
/*
* U16, U32, U64:
*
* Types used by fl_draw_image. One of U32 or U64 must be defined.
* U16 is optional but FLTK will work better with it!
*/
#undef U16
#undef U32
#undef U64
/*
* HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H,
* HAVE_SCANDIR, HAVE_SCANDIR_POSIX:
*
* Where is <dirent.h> (used only by fl_file_chooser and scandir).
*/
#undef HAVE_DIRENT_H
#undef HAVE_SYS_NDIR_H
#undef HAVE_SYS_DIR_H
#undef HAVE_NDIR_H
#undef HAVE_SCANDIR
#undef HAVE_SCANDIR_POSIX
/*
* Possibly missing sprintf-style functions:
*/
#undef HAVE_VSNPRINTF
#undef HAVE_SNPRINTF
/*
* String functions and headers...
*/
#undef HAVE_STRINGS_H
#undef HAVE_STRCASECMP
#undef HAVE_STRLCAT
#undef HAVE_STRLCPY
/*
* Do we have POSIX locale support?
*/
#undef HAVE_LOCALE_H
#undef HAVE_LOCALECONV
/*
* HAVE_SYS_SELECT_H:
*
* Whether or not select() call has its own header file.
*/
#define HAVE_SYS_SELECT_H 0
/*
* HAVE_SYS_STDTYPES_H:
*
* Whether or not we have the <sys/stdtypes.h> header file.
*/
#undef HAVE_SYS_STDTYPES_H
/*
* USE_POLL:
*
* Use the poll() call provided on Linux and Irix instead of select()
*/
#define USE_POLL 0
/*
* HAVE_SETENV:
*
* Whether or not POSIX setenv() is available from stdlib.h.
*/
#define HAVE_SETENV 0
/*
* HAVE_TRUNC:
*
* Whether or not POSIX trunc() is available from math.h.
*/
#define HAVE_TRUNC 0
/*
* Do we have various image libraries?
*/
#undef HAVE_LIBPNG
#undef HAVE_LIBZ
#undef HAVE_LIBJPEG
/*
* Which header file do we include for libpng?
* ifdef HAVE_PNG_H : <png.h>
* else : <libpng/png.h>
* There is no other choice.
*/
#undef HAVE_PNG_H
/*
* Do we have the png_xyz() functions?
*/
#undef HAVE_PNG_GET_VALID
#undef HAVE_PNG_SET_TRNS_TO_ALPHA
/*
* Do we have POSIX threading?
*/
#undef HAVE_PTHREAD
#undef HAVE_PTHREAD_H
/*
* Do we have PTHREAD_MUTEX_RECURSIVE?
*/
#undef HAVE_PTHREAD_MUTEX_RECURSIVE
/*
* Do we have the ALSA library?
*/
#undef HAVE_ALSA_ASOUNDLIB_H
/*
* Do we have the long long type?
*/
#undef HAVE_LONG_LONG
#ifdef HAVE_LONG_LONG
# define FLTK_LLFMT "%lld"
# define FLTK_LLCAST (long long)
#else
# define FLTK_LLFMT "%ld"
# define FLTK_LLCAST (long)
#endif /* HAVE_LONG_LONG */
/*
* Do we have the dlsym() function and header?
*/
#define HAVE_DLFCN_H 0
#define HAVE_DLSYM 0
/*
* Do we want print support?
*/
#undef FL_NO_PRINT_SUPPORT
/*
* Do we use GDI+ to get antialiased graphics?
*/
#ifdef _WIN32
#define USE_GDIPLUS 0
#endif
/*
* Do we want filename handling and a filechooser?
* *FIXME* FL_CFG_NO_FILESYSTEM_SUPPORT not yet implemented in configure !
*/
#undef FL_CFG_NO_FILESYSTEM_SUPPORT
-1969
View File
File diff suppressed because it is too large Load Diff
-251
View File
@@ -1,251 +0,0 @@
#
# Makefile for the Fast Light Tool Kit (FLTK) documentation.
#
# Copyright 1998-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
# Get configuration stuff...
include ../makeinclude
# make sure that all docs are (re-)created independent of missing deps
.PHONY: pdf html refman.pdf
SRC_DOCDIR = ./src
# These are the HTML "source" files...
HTMLFILES = \
$(SRC_DOCDIR)/index.dox \
$(SRC_DOCDIR)/preface.dox \
$(SRC_DOCDIR)/intro.dox \
$(SRC_DOCDIR)/basics.dox \
$(SRC_DOCDIR)/common.dox \
$(SRC_DOCDIR)/coordinates.dox \
$(SRC_DOCDIR)/resize.dox \
$(SRC_DOCDIR)/editor.dox \
$(SRC_DOCDIR)/drawing.dox \
$(SRC_DOCDIR)/events.dox \
$(SRC_DOCDIR)/subclassing.dox \
$(SRC_DOCDIR)/opengl.dox \
$(SRC_DOCDIR)/fltk-options.dox \
$(SRC_DOCDIR)/advanced.dox \
$(SRC_DOCDIR)/unicode.dox \
$(SRC_DOCDIR)/enumerations.dox \
$(SRC_DOCDIR)/glut.dox \
$(SRC_DOCDIR)/forms.dox \
$(SRC_DOCDIR)/osissues.dox \
$(SRC_DOCDIR)/migration_1_4.dox \
$(SRC_DOCDIR)/development.dox \
$(SRC_DOCDIR)/license.dox \
$(SRC_DOCDIR)/examples.dox \
$(SRC_DOCDIR)/faq.dox \
$(SRC_DOCDIR)/Fl_Terminal.dox
MANPAGES = $(SRC_DOCDIR)/fltk.$(CAT3EXT) $(SRC_DOCDIR)/fltk-config.$(CAT1EXT) \
$(SRC_DOCDIR)/fluid.$(CAT1EXT) $(SRC_DOCDIR)/blocks.$(CAT6EXT) \
$(SRC_DOCDIR)/checkers.$(CAT6EXT) $(SRC_DOCDIR)/sudoku.$(CAT6EXT) \
$(SRC_DOCDIR)/fltk-options.$(CAT1EXT)
# Get FLTK's Git Revision either from Git /or/ from fltk_git_rev.dat (Issue #499)
#
# Note: this may fail (return "unknown") if the sources were downloaded
# from GitHub as a "release" (zip) archive. This is not supported.
# Test/debug only: should be commented out unless used (see: debug_git_rev)
# GIT_REV_FROM_GIT := "$$(git rev-parse HEAD 2>/dev/null)"
# GIT_REV_FROM_FILE := "$$(cat ../fltk_git_rev.dat 2>/dev/null)"
FLTK_GIT_REVISION := "`( (git rev-parse HEAD || cat ../fltk_git_rev.dat;) || echo 'unknown'; ) 2>/dev/null`"
all: $(MANPAGES)
# Use `make docs' to create all docs for distribution files.
# You need installed versions of Doxygen and LaTeX for this.
docs: all html pdf
# Synonyms for docs:
alldocs: docs
dist: docs
debug_git_rev:
# echo "GIT_REV_FROM_GIT = $(GIT_REV_FROM_GIT)"
# echo "GIT_REV_FROM_FILE = $(GIT_REV_FROM_FILE)"
echo "FLTK_GIT_REVISION = $(FLTK_GIT_REVISION)"
clean:
$(RM) Doxyfile Doxybook
$(RM) copyright.dox generated.dox
$(RM) fltk.pdf refman.pdf src/fltk-title.tex src/fltk-book.tex.in src/fltk-book.tex
$(RMDIR) html latex
$(RM) *~ *.bck *.bak *.log
$(RM) $(MANPAGES) $(SRC_DOCDIR)/*.0
depend:
install: $(MANPAGES)
echo "Installing documentation files in $(DESTDIR)$(docdir) ..."
-$(INSTALL_DIR) "$(DESTDIR)$(docdir)"
if test -f html/index.html ; then \
for file in html/* ; do \
$(INSTALL_DATA) $$file "$(DESTDIR)$(docdir)"; \
done \
fi
if test -f fltk.pdf ; then \
echo "Installing fltk.pdf in $(DESTDIR)$(docdir) ..."; \
$(INSTALL_DATA) fltk.pdf "$(DESTDIR)$(docdir)"; \
fi
echo "Installing man pages in $(DESTDIR)$(mandir) ..."
-$(INSTALL_DIR) "$(DESTDIR)$(mandir)/cat1"
$(INSTALL_MAN) $(SRC_DOCDIR)/fluid.$(CAT1EXT) "$(DESTDIR)$(mandir)/cat1"
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk-config.$(CAT1EXT) "$(DESTDIR)$(mandir)/cat1"
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk-options.$(CAT1EXT) "$(DESTDIR)$(mandir)/cat1"
-$(INSTALL_DIR) "$(DESTDIR)$(mandir)/cat3"
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk.$(CAT3EXT) "$(DESTDIR)$(mandir)/cat3"
-$(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1"
$(INSTALL_MAN) $(SRC_DOCDIR)/fluid.man "$(DESTDIR)$(mandir)/man1/fluid.1"
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk-config.man "$(DESTDIR)$(mandir)/man1/fltk-config.1"
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk-options.man "$(DESTDIR)$(mandir)/man1/fltk-options.1"
-$(INSTALL_DIR) "$(DESTDIR)$(mandir)/man3"
$(INSTALL_MAN) $(SRC_DOCDIR)/fltk.man "$(DESTDIR)$(mandir)/man3/fltk.3"
install-linux install-osx:
-$(INSTALL_DIR) "$(DESTDIR)$(mandir)/cat6"
$(INSTALL_MAN) $(SRC_DOCDIR)/blocks.$(CAT6EXT) "$(DESTDIR)$(mandir)/cat6"
$(INSTALL_MAN) $(SRC_DOCDIR)/checkers.$(CAT6EXT) "$(DESTDIR)$(mandir)/cat6"
$(INSTALL_MAN) $(SRC_DOCDIR)/sudoku.$(CAT6EXT) "$(DESTDIR)$(mandir)/cat6"
-$(INSTALL_DIR) "$(DESTDIR)$(mandir)/man6"
$(INSTALL_MAN) $(SRC_DOCDIR)/blocks.man "$(DESTDIR)$(mandir)/man6/blocks.6"
$(INSTALL_MAN) $(SRC_DOCDIR)/checkers.man "$(DESTDIR)$(mandir)/man6/checkers.6"
$(INSTALL_MAN) $(SRC_DOCDIR)/sudoku.man "$(DESTDIR)$(mandir)/man6/sudoku.6"
uninstall:
$(RMDIR) "$(DESTDIR)$(docdir)"
$(RM) "$(DESTDIR)$(mandir)/cat1/fluid.$(CAT1EXT)"
$(RM) "$(DESTDIR)$(mandir)/man1/fluid.1"
$(RM) "$(DESTDIR)$(mandir)/cat1/fltk-config.$(CAT1EXT)"
$(RM) "$(DESTDIR)$(mandir)/man1/fltk-config.1"
$(RM) "$(DESTDIR)$(mandir)/cat1/fltk-options.$(CAT1EXT)"
$(RM) "$(DESTDIR)$(mandir)/man1/fltk-options.1"
$(RM) "$(DESTDIR)$(mandir)/cat3/fltk.$(CAT3EXT)"
$(RM) "$(DESTDIR)$(mandir)/man3/fltk.3"
uninstall-linux uninstall-osx:
$(RM) "$(DESTDIR)$(mandir)/cat6/blocks.$(CAT6EXT)"
$(RM) "$(DESTDIR)$(mandir)/cat6/checkers.$(CAT6EXT)"
$(RM) "$(DESTDIR)$(mandir)/cat6/sudoku.$(CAT6EXT)"
$(RM) "$(DESTDIR)$(mandir)/man6/blocks.6"
$(RM) "$(DESTDIR)$(mandir)/man6/checkers.6"
$(RM) "$(DESTDIR)$(mandir)/man6/sudoku.6"
# The documentation is generated using doxygen. There are two control files
# for doxygen: Doxyfile for html documentation and Doxybook for pdf docs.
# Both files are generated from the common source file Doxyfile.in.
# Note that Doxyfile.in is shared with CMake to configure these files.
# Note: There's no way to enable the "Driver Documentation" via configure+make,
# please use CMake 'FLTK_INCLUDE_DRIVER_DOCS' instead.
# Alternatively (if you really need it) edit this Makefile and
# replace the two lines below containing "@DRIVER_DOCS@" to read:
# -e's, @DRIVER_DOCS@, DriverDev,' \
# (w/o leading '#') to enable the "Driver Documentation" section.
# Please take care of copying tabs and spaces literally.
# Note: There's no intention to enable this via configure option (use CMake).
Doxyfile: Doxyfile.in generated.dox copyright.dox
echo "Generating Doxyfile ..."
./convert_doxyfile "$(DOXYDOC)" $< $@ Doxyfile_error.log
sed -e's,@FLTK_VERSION@,$(FLTK_VERSION),' \
-e's,@GENERATE_HTML@,YES,' \
-e's,@GENERATE_LATEX@,NO,' \
-e's, @LATEX_HEADER@,,' \
-e's, @DRIVER_DOCS@,,' \
-e's,@CMAKE_CURRENT_SOURCE_DIR@,.,' \
-e's,@CMAKE_CURRENT_BINARY_DIR@,,' \
-e's,@FLTK_SOURCE_DIR@,..,' \
-i $@
Doxybook: Doxyfile.in generated.dox copyright.dox
echo "Generating Doxybook ..."
./convert_doxyfile "$(DOXYDOC)" $< $@ Doxybook_error.log
sed -e's,@FLTK_VERSION@,$(FLTK_VERSION),' \
-e's,@GENERATE_HTML@,NO,' \
-e's,@GENERATE_LATEX@,YES,' \
-e's,@LATEX_HEADER@,src/fltk-book.tex,' \
-e's, @DRIVER_DOCS@,,' \
-e's,@CMAKE_CURRENT_SOURCE_DIR@,.,' \
-e's,@CMAKE_CURRENT_BINARY_DIR@,,' \
-e's,@FLTK_SOURCE_DIR@,..,' \
-i $@
# The HTML files are generated using doxygen, and this needs
# an installed doxygen version and may take some time, so this target
# is not made by default.
# Use `make html' or `make docs' to create the html docs.
html: $(HTMLFILES) Doxyfile
echo "Generating HTML documentation..."
-$(RMDIR) html
-$(INSTALL_DIR) html
-"$(DOXYDOC)"
if test "x$(DOXYDOC)" = "x" ; then \
echo "Sorry - doxygen not found. Please install doxygen and run configure."; \
fi
# The PDF documentation (fltk.pdf) is generated using doxygen and LaTeX, and
# this needs installed Doxygen and LaTeX programs and may take some time, so
# this target is not made by default.
# Use `make pdf' or `make docs' to create the PDF docs.
pdf: refman.pdf
cp -f latex/refman.pdf fltk.pdf
refman.pdf: $(HTMLFILES) Doxybook src/fltk-book.tex
-$(RMDIR) latex
echo "Generating PDF documentation ..."
"$(DOXYDOC)" Doxybook
./make_pdf
src/fltk-title.tex: src/fltk-title.tex.in
echo "Generating $@ ..."
sed -e"s/@FLTK_GIT_REVISION@/$(FLTK_GIT_REVISION)/g" \
< $< > $@
src/fltk-book.tex.in: src/fltk-title.tex
echo "Generating $@ ..."
./make_header "$(DOXYDOC)" $< $@
src/fltk-book.tex: src/fltk-book.tex.in
echo "Generating $@ ..."
DOXY_VERSION=`"$(DOXYDOC)" --version|cut -f1 -d' '`; \
YEAR=`date +%Y`; \
sed -e"s/@YEAR@/$$YEAR/g" \
-e"s/@FLTK_VERSION@/$(FLTK_VERSION)/g" \
-e"s/@DOXY_VERSION@/$$DOXY_VERSION/g" \
< $< > $@
generated.dox: generated.dox.in
echo "Generating $@ ..."
CURRENT_DATE=`date "+%b %d, %Y"`; \
DOXYGEN_VERSION_SHORT=`"$(DOXYDOC)" --version|cut -f1 -d' '`; \
sed -e"s/@CURRENT_DATE@/$$CURRENT_DATE/g" \
-e"s/@FLTK_GIT_REVISION@/$(FLTK_GIT_REVISION)/g" \
-e"s/@DOXYGEN_VERSION_SHORT@/$$DOXYGEN_VERSION_SHORT/g" \
< $< > $@
copyright.dox: copyright.dox.in
echo "Generating $@ ..."
YEAR=`date +%Y`; \
sed -e"s/@YEAR@/$$YEAR/g" \
< $< > $@
-85
View File
@@ -1,85 +0,0 @@
#
# Makefile used to build example apps by 'make'
#
# Copyright 2020-2022 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
################################################################################
include Makefile.FLTK
RM = rm -f
SHELL = /bin/sh
.SILENT:
# Executables
ALL = animgifimage$(EXEEXT) \
animgifimage-play$(EXEEXT) \
animgifimage-simple$(EXEEXT) \
animgifimage-resize$(EXEEXT) \
browser-simple$(EXEEXT) \
cairo-draw-x$(EXEEXT) \
callbacks$(EXEEXT) \
chart-simple$(EXEEXT) \
draggable-group$(EXEEXT) \
grid-simple$(EXEEXT) \
howto-add_fd-and-popen$(EXEEXT) \
howto-browser-with-icons$(EXEEXT) \
howto-drag-and-drop$(EXEEXT) \
howto-draw-an-x$(EXEEXT) \
howto-flex-simple$(EXEEXT) \
howto-menu-with-images$(EXEEXT) \
howto-parse-args$(EXEEXT) \
howto-remap-numpad-keyboard-keys$(EXEEXT) \
howto-simple-svg$(EXEEXT) \
howto-text-over-image-button$(EXEEXT) \
menubar-add$(EXEEXT) \
nativefilechooser-simple-app$(EXEEXT) \
nativefilechooser-simple$(EXEEXT) \
progress-simple$(EXEEXT) \
shapedwindow$(EXEEXT) \
simple-terminal$(EXEEXT) \
table-as-container$(EXEEXT) \
table-simple$(EXEEXT) \
table-sort$(EXEEXT) \
table-spreadsheet$(EXEEXT) \
table-spreadsheet-with-keyboard-nav$(EXEEXT) \
table-with-keynav$(EXEEXT) \
table-with-right-column-stretch-fit$(EXEEXT) \
table-with-right-click-menu$(EXEEXT) \
tabs-simple$(EXEEXT) \
textdisplay-with-colors$(EXEEXT) \
texteditor-simple$(EXEEXT) \
texteditor-with-dynamic-colors$(EXEEXT) \
tree-as-container$(EXEEXT) \
tree-custom-draw-items$(EXEEXT) \
tree-custom-sort$(EXEEXT) \
tree-of-tables$(EXEEXT) \
tree-simple$(EXEEXT) \
wizard-simple$(EXEEXT)
# default target -- build everything
default all: $(ALL)
# Special rules for building cairo app
cairo-draw-x.o: cairo-draw-x.cxx
@echo "*** Compile $<..."
$(CXX) -I.. $(CXXFLAGS_CAIRO) -c $< -o $@
cairo-draw-x$(EXEEXT): cairo-draw-x.o
@echo "*** Link $<..."
$(CXX) $< $(LINKFLTK) $(LINKFLTK_CAIRO) -o $@
# clean everything
clean:
$(RM) $(ALL)
$(RM) *.o
$(RM) core
-55
View File
@@ -1,55 +0,0 @@
#
# Included Makefile used to build example apps by 'make'
#
# Copyright 2020-2022 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
################################################################################
#
# Stuff every FLTK application might need
#
# If you take this for use in your own project, be sure to change
# the 'FLTKCONFIG' setting to point to where it's installed
# on your system. Common examples:
#
# FLTKCONFIG = /usr/local/bin/fltk-config
# FLTKCONFIG = /usr/local/src/fltk-1.4.x/fltk-config
# FLTKCONFIG = ../build/fltk-config # if ../build == CMake build directory
#
# Set .SILENT in your Makefile if you want 'quieter' builds.
#
ifeq '$(OS)' "Windows_NT"
EXEEXT = .exe
endif
FLTKCONFIG = ../fltk-config
CXX = $(shell $(FLTKCONFIG) --cxx)
CXXFLAGS = $(shell $(FLTKCONFIG) --cxxflags) -Wall -I.
LINKFLTK = $(shell $(FLTKCONFIG) --ldstaticflags)
LINKFLTK_GL = $(shell $(FLTKCONFIG) --use-gl --ldstaticflags)
LINKFLTK_IMG = $(shell $(FLTKCONFIG) --use-images --ldstaticflags)
LINKFLTK_ALL = $(shell $(FLTKCONFIG) --use-images --use-gl --ldstaticflags)
CXXFLAGS_CAIRO = $(shell $(FLTKCONFIG) --use-cairo --cxxflags)
LINKFLTK_CAIRO = $(shell $(FLTKCONFIG) --use-cairo --ldstaticflags)
.SUFFIXES: .cxx .h .fl .o $(EXEEXT)
# HOW TO COMPILE
.cxx.o:
@echo "*** Compile $<..."
$(CXX) -I.. $(CXXFLAGS) -c $< -o $@
# HOW TO LINK
.o$(EXEEXT):
@echo "*** Linking $@..."
$(CXX) $< $(LINKFLTK) $(LINKFLTK_IMG) -o $@
-110
View File
@@ -1,110 +0,0 @@
/*
* Build configuration file for the Fast Light Tool Kit (FLTK).
*
* Copyright 1998-2024 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
* file is missing or damaged, see the license at:
*
* https://www.fltk.org/COPYING.php
*
* Please see the following page on how to report bugs and issues:
*
* https://www.fltk.org/bugs.php
*/
#ifndef _FL_fl_config_h_
#define _FL_fl_config_h_
/*
* FL_ABI_VERSION (ABI version)
*
* define FL_ABI_VERSION: 1xxyy for 1.x.y (xx,yy with leading zero)
*/
#undef FL_ABI_VERSION
/*
* FLTK_HAVE_CAIRO
*
* Do we have the Cairo library available?
*/
#undef FLTK_HAVE_CAIRO
/*
* FLTK_HAVE_CAIROEXT
*
* Do we have the Cairo library available and want extended Cairo use in FLTK ?
* This implies to link cairo.lib in all FLTK based apps.
*/
#undef FLTK_HAVE_CAIROEXT
/*
* FLTK_HAVE_FORMS
*
* Do we have the Forms compatibility library available?
*/
#undef FLTK_HAVE_FORMS
/*
* FLTK_USE_X11
*
* Do we use X11 for the current platform?
*
*/
#undef FLTK_USE_X11
/*
* FLTK_USE_CAIRO
*
* Do we use Cairo to draw to the display?
*
*/
#undef FLTK_USE_CAIRO
/*
* FLTK_USE_WAYLAND
*
* Do we use Wayland for the current platform?
*
*/
#undef FLTK_USE_WAYLAND
/*
* FLTK_USE_STD
*
* May we use std::string and std::vector for the current build?
*
* This is a build configuration option which allows FLTK to add some
* features based on std::string and std::vector in FLTK 1.4.x
*
*/
#define FLTK_USE_STD 0
/*
* FLTK_USE_SVG
*
* Do we want FLTK to read and write SVG-formatted files ?
*
*/
#undef FLTK_USE_SVG
#endif /* _FL_fl_config_h_ */
-93
View File
@@ -1,93 +0,0 @@
#
# fltk-options Makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 2023-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include ../makeinclude
CPPFILES = \
fltk-options.cxx
################################################################
OBJECTS = $(CPPFILES:.cxx=.o)
all: $(FLTK_OPTIONS) fltk-options$(EXEEXT)
fltk-options$(EXEEXT): $(OBJECTS) $(LIBNAME)
echo Linking $@...
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS) $(LINKFLTKIMG) $(LDFLAGS) $(LDLIBS)
$(OSX_ONLY) $(RM) -r -f fltk-options.app
$(OSX_ONLY) mkdir -p fltk-options.app/Contents/MacOS fltk-options.app/Contents/Resources
$(OSX_ONLY) $(INSTALL_BIN) fltk-options fltk-options.app/Contents/MacOS
$(OSX_ONLY) $(INSTALL) icons/fltk-options.icns fltk-options.app/Contents/Resources
$(OSX_ONLY) $(INSTALL) fltk-options.plist fltk-options.app/Contents/Info.plist
fltk-options-shared$(EXEEXT): $(OBJECTS) ../src/$(DSONAME)
echo Linking $@...
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS) $(LINKSHARED) $(LDFLAGS) $(LDLIBS)
clean:
-$(RM) *.o core.* *~ *.bck *.bak
-$(RM) core fltk-options$(EXEEXT) fltk-options-shared$(EXEEXT)
$(OSX_ONLY) -$(RMDIR) fltk-options.app
depend: $(CPPFILES)
makedepend -Y -I.. -f makedepend -w 20 $(CPPFILES)
echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > makedepend.tmp
echo "" >> makedepend.tmp
grep '^[a-zA-Z]' makedepend | ( LC_ALL=C sort -u -f >> makedepend.tmp; )
mv makedepend.tmp makedepend
# Automatically generated dependencies...
include makedepend
install: all
echo "Installing fltk-options in $(DESTDIR)$(bindir)..."
-$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
$(INSTALL_BIN) $(FLTK_OPTIONS) "$(DESTDIR)$(bindir)/fltk-options$(EXEEXT)"
install-linux:
-$(INSTALL_DIR) "$(DESTDIR)/usr/share/applications"
$(INSTALL_DATA) fltk-options.desktop "$(DESTDIR)/usr/share/applications"
for size in 16 32 48 64 128; do \
if test ! -d "$(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps"; then \
$(INSTALL_DIR) "$(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps"; \
fi; \
$(INSTALL_DATA) icons/fltk-options-$$size.png "$(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/fltk-options.png"; \
done
-$(INSTALL_DIR) "$(DESTDIR)/usr/share/mimelnk/application"
$(INSTALL_DATA) x-fltk-options.desktop "$(DESTDIR)/usr/share/mimelnk/application"
install-osx:
echo Installing fltk-options in $(DESTDIR)/Applications...
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fltk-options.app"
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fltk-options.app/Contents"
$(INSTALL_DATA) fltk-options.app/Contents/Info.plist "$(DESTDIR)/Applications/fltk-options.app/Contents/Info.plist"
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fltk-options.app/Contents/MacOS"
$(RM) "$(DESTDIR)/Applications/fltk-options.app/Contents/MacOS/fltk-options"
$(LN) $(bindir)/fltk-options "$(DESTDIR)/Applications/fltk-options.app/Contents/MacOS/fltk-options"
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fltk-options.app/Contents/Resources"
$(INSTALL_DATA) fltk-options.app/Contents/Resources/fltk-options.icns "$(DESTDIR)/Applications/fltk-options.app/Contents/Resources"
uninstall:
$(RM) "$(DESTDIR)$(bindir)/fltk-options$(EXEEXT)"
uninstall-linux:
$(RM) "$(DESTDIR)/usr/share/applications/fltk-options.desktop"
$(RM) "$(DESTDIR)/usr/share/icons/hicolor/*/fltk-options.png"
$(RM) "$(DESTDIR)/usr/share/mimelnk/application/x-fltk-options.desktop"
uninstall-osx:
$(RM) -r "$(DESTDIR)/Applications/fltk-options.app"
-45
View File
@@ -1,45 +0,0 @@
# DO NOT DELETE THIS LINE -- make depend depends on it.
fltk-options.o: ../config.h
fltk-options.o: ../FL/Enumerations.H
fltk-options.o: ../FL/filename.H
fltk-options.o: ../FL/Fl.H
fltk-options.o: ../FL/fl_attr.h
fltk-options.o: ../FL/Fl_Bitmap.H
fltk-options.o: ../FL/Fl_Box.H
fltk-options.o: ../FL/Fl_Browser.H
fltk-options.o: ../FL/Fl_Browser_.H
fltk-options.o: ../FL/Fl_Button.H
fltk-options.o: ../FL/Fl_Cairo.H
fltk-options.o: ../FL/fl_casts.H
fltk-options.o: ../FL/Fl_Choice.H
fltk-options.o: ../FL/fl_config.h
fltk-options.o: ../FL/Fl_Device.H
fltk-options.o: ../FL/Fl_Double_Window.H
fltk-options.o: ../FL/fl_draw.H
fltk-options.o: ../FL/Fl_Export.H
fltk-options.o: ../FL/Fl_Graphics_Driver.H
fltk-options.o: ../FL/Fl_Group.H
fltk-options.o: ../FL/Fl_Hold_Browser.H
fltk-options.o: ../FL/Fl_Image.H
fltk-options.o: ../FL/Fl_Menu_.H
fltk-options.o: ../FL/Fl_Menu_Item.H
fltk-options.o: ../FL/Fl_Multi_Label.H
fltk-options.o: ../FL/Fl_Pack.H
fltk-options.o: ../FL/Fl_Pixmap.H
fltk-options.o: ../FL/Fl_Plugin.H
fltk-options.o: ../FL/Fl_Preferences.H
fltk-options.o: ../FL/Fl_Rect.H
fltk-options.o: ../FL/Fl_RGB_Image.H
fltk-options.o: ../FL/Fl_Scroll.H
fltk-options.o: ../FL/Fl_Scrollbar.H
fltk-options.o: ../FL/Fl_Slider.H
fltk-options.o: ../FL/fl_string_functions.h
fltk-options.o: ../FL/Fl_Tooltip.H
fltk-options.o: ../FL/fl_types.h
fltk-options.o: ../FL/fl_utf8.h
fltk-options.o: ../FL/Fl_Valuator.H
fltk-options.o: ../FL/Fl_Widget.H
fltk-options.o: ../FL/Fl_Window.H
fltk-options.o: ../FL/platform_types.h
fltk-options.o: ../src/flstring.h
-150
View File
@@ -1,150 +0,0 @@
#
# FLUID Makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include ../makeinclude
CPPFILES = \
CodeEditor.cxx \
StyleParse.cxx \
Fd_Snap_Action.cxx \
Fl_Button_Type.cxx \
Fl_Function_Type.cxx \
Fl_Grid_Type.cxx \
Fl_Group_Type.cxx \
Fl_Menu_Type.cxx \
Fl_Type.cxx \
Fl_Widget_Type.cxx \
Fl_Window_Type.cxx \
Fluid_Image.cxx \
about_panel.cxx \
align_widget.cxx \
settings_panel.cxx \
autodoc.cxx \
code.cxx \
custom_widgets.cxx \
factory.cxx \
file.cxx \
fluid.cxx \
fluid_filename.cxx \
function_panel.cxx \
mergeback.cxx \
pixmaps.cxx \
shell_command.cxx \
codeview_panel.cxx \
template_panel.cxx \
undo.cxx \
widget_browser.cxx \
widget_panel.cxx
# ExternalCodeEditor: platform specific files
CPPFILES_WIN = ExternalCodeEditor_WIN32.cxx
CPPFILES_OSX = ExternalCodeEditor_UNIX.cxx
CPPFILES_X11 = ExternalCodeEditor_UNIX.cxx
CPPFILES_XFT = ExternalCodeEditor_UNIX.cxx
CPPFILES_CAIRO = ExternalCodeEditor_UNIX.cxx
CPPFILES_WAYLAND = ExternalCodeEditor_UNIX.cxx
CPPFILES_WAYLANDX11 = ExternalCodeEditor_UNIX.cxx
CPPFILES += $(CPPFILES_$(BUILD))
################################################################
OBJECTS = $(CPPFILES:.cxx=.o)
all: $(FLUID) fluid$(EXEEXT)
fluid$(EXEEXT): $(OBJECTS) $(LIBNAME) $(IMGLIBNAME)
echo Linking $@...
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS) $(LINKFLTKIMG) $(LDFLAGS) $(LDLIBS)
$(OSX_ONLY) $(RM) -r -f fluid.app
$(OSX_ONLY) mkdir -p fluid.app/Contents/MacOS fluid.app/Contents/Resources
$(OSX_ONLY) $(INSTALL_BIN) fluid fluid.app/Contents/MacOS
$(OSX_ONLY) $(INSTALL) icons/fluid.icns fluid.app/Contents/Resources
$(OSX_ONLY) $(INSTALL) fluid.plist fluid.app/Contents/Info.plist
fluid-shared$(EXEEXT): $(OBJECTS) ../src/$(DSONAME) ../src/$(IMGDSONAME)
echo Linking $@...
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS) $(LINKSHARED) $(LDFLAGS) $(LDLIBS)
clean:
-$(RM) *.o core.* *~ *.bck *.bak
-$(RM) core fluid$(EXEEXT) fluid-shared$(EXEEXT)
$(OSX_ONLY) -$(RMDIR) fluid.app
depend: $(CPPFILES)
makedepend -Y -I.. -f makedepend -w 20 $(CPPFILES)
echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > makedepend.tmp
echo "" >> makedepend.tmp
grep '^[a-zA-Z]' makedepend | ( LC_ALL=C sort -u -f >> makedepend.tmp; )
mv makedepend.tmp makedepend
# Automatically generated dependencies...
include makedepend
install: all
echo "Installing FLUID in $(DESTDIR)$(bindir)..."
-$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
$(INSTALL_BIN) $(FLUID) "$(DESTDIR)$(bindir)/fluid$(EXEEXT)"
install-linux:
-$(INSTALL_DIR) "$(DESTDIR)$(datadir)/applications"
$(INSTALL_DATA) fluid.desktop "$(DESTDIR)$(datadir)/applications"
for size in 16 32 48 64 128; do \
if test ! -d "$(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps"; then \
$(INSTALL_DIR) "$(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps"; \
fi; \
$(INSTALL_DATA) icons/fluid-$$size.png "$(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/fluid.png"; \
done
-$(INSTALL_DIR) "$(DESTDIR)$(datadir)/mimelnk/application"
$(INSTALL_DATA) x-fluid.desktop "$(DESTDIR)$(datadir)/mimelnk/application"
install-osx:
echo Installing Fluid in $(DESTDIR)/Applications...
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fluid.app"
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fluid.app/Contents"
$(INSTALL_DATA) fluid.app/Contents/Info.plist "$(DESTDIR)/Applications/fluid.app/Contents/Info.plist"
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fluid.app/Contents/MacOS"
$(RM) "$(DESTDIR)/Applications/fluid.app/Contents/MacOS/fluid"
$(LN) "$(bindir)/fluid" "$(DESTDIR)/Applications/fluid.app/Contents/MacOS/fluid"
-$(INSTALL_DIR) "$(DESTDIR)/Applications/fluid.app/Contents/Resources"
$(INSTALL_DATA) fluid.app/Contents/Resources/fluid.icns "$(DESTDIR)/Applications/fluid.app/Contents/Resources"
uninstall:
$(RM) "$(DESTDIR)$(bindir)/fluid$(EXEEXT)"
uninstall-linux:
$(RM) "$(DESTDIR)$(datadir)/applications/fluid.desktop"
$(RM) "$(DESTDIR)$(datadir)/icons/hicolor"/*/fluid.png
$(RM) "$(DESTDIR)$(datadir)/mimelnk/application/x-fluid.desktop"
uninstall-osx:
$(RM) -r "$(DESTDIR)/Applications/fluid.app"
# Note: The rebuild target can only be used if you have the original .fl
# files. This is normally only used by FLTK maintainers...
# It *must* be executed *after* fluid has been built and
# fluid must be rebuilt if any {.fl|.cxx|.h} files were changed.
rebuild: fluid$(EXEEXT)
echo 'Rebuilding fluid (.fl) and .cxx/.h files from .fl files ...'
./fluid$(EXEEXT) -u -c about_panel.fl
./fluid$(EXEEXT) -u -c settings_panel.fl
./fluid$(EXEEXT) -u -c function_panel.fl
./fluid$(EXEEXT) -u -c print_panel.fl
./fluid$(EXEEXT) -u -c codeview_panel.fl
./fluid$(EXEEXT) -u -c template_panel.fl
./fluid$(EXEEXT) -u -c widget_panel.fl
-1867
View File
File diff suppressed because it is too large Load Diff
-238
View File
@@ -1,238 +0,0 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
tranformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
else
instcmd=mkdir
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
then
true
else
echo "install: $src does not exist"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
else
true
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
else
true
fi
fi
## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp="${pathcomp}${1}"
shift
if [ ! -d "${pathcomp}" ] ;
then
$mkdirprog "${pathcomp}"
else
true
fi
pathcomp="${pathcomp}/"
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
true
fi
# Make a temp file name in the proper directory.
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
trap "rm -f ${dsttmp}" 0 &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
$doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
exit 0
-144
View File
@@ -1,144 +0,0 @@
# *************************************************************************
# FLTK - DO NOT CHANGE when upgrading the JPEG library, unless required. *
# *************************************************************************
#
# JPEG library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include ../makeinclude
#
# Object files...
#
OBJS = \
jaricom.o \
jcapimin.o \
jcapistd.o \
jcarith.o \
jccoefct.o \
jccolor.o \
jcdctmgr.o \
jchuff.o \
jcinit.o \
jcmainct.o \
jcmarker.o \
jcmaster.o \
jcomapi.o \
jcparam.o \
jcprepct.o \
jcsample.o \
jctrans.o \
jdapimin.o \
jdapistd.o \
jdarith.o \
jdatadst.o \
jdatasrc.o \
jdcoefct.o \
jdcolor.o \
jddctmgr.o \
jdhuff.o \
jdinput.o \
jdmainct.o \
jdmarker.o \
jdmaster.o \
jdmerge.o \
jdpostct.o \
jdsample.o \
jdtrans.o \
jerror.o \
jfdctflt.o \
jfdctfst.o \
jfdctint.o \
jidctflt.o \
jidctfst.o \
jidctint.o \
jmemmgr.o \
jmemnobs.o \
jquant1.o \
jquant2.o \
jutils.o
LIBJPEG = ../lib/libfltk_jpeg$(LIBEXT)
#
# Make all targets...
#
all: $(LIBJPEG)
#
# Clean all targets and object files...
#
clean:
$(RM) $(OBJS)
$(RM) $(LIBJPEG)
#
# Install everything...
#
install: $(LIBJPEG)
echo "Installing $(LIBJPEG) in $(libdir)..."
-$(INSTALL_DIR) "$(DESTDIR)$(libdir)"
$(INSTALL_LIB) $(LIBJPEG) "$(DESTDIR)$(libdir)"
$(RANLIB) "$(DESTDIR)$(libdir)/libfltk_jpeg$(LIBEXT)"
echo "Installing jpeg headers in $(includedir)/FL/images..."
-$(INSTALL_DIR) "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) jconfig.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) jerror.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) jmorecfg.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) jpeglib.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) fltk_jpeg_prefix.h "$(DESTDIR)$(includedir)/FL/images"
#
# Uninstall everything...
#
uninstall:
echo "Uninstalling libfltk_jpeg$(LIBEXT) in $(libdir)..."
$(RM) "$(libdir)/libfltk_jpeg$(LIBEXT)"
echo "Uninstalling jpeg headers in $(includedir)/FL/images..."
$(RM) "$(includedir)/FL/images/jconfig.h"
$(RM) "$(includedir)/FL/images/jerror.h"
$(RM) "$(includedir)/FL/images/jmorecfg.h"
$(RM) "$(includedir)/FL/images/jpeglib.h"
$(RM) "$(includedir)/FL/images/fltk_jpeg_prefix.h"
#
# libfltk_jpeg.a
#
$(LIBJPEG): $(OBJS)
echo Archiving $@...
$(RM) $@
$(LIBCOMMAND) $@ $(OBJS)
$(RANLIB) $@
#
# Make dependencies...
#
depend: $(OBJS:.o=.c)
makedepend -Y -I.. -f makedepend -w 20 $(OBJS:.o=.c)
echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > makedepend.tmp
echo "" >> makedepend.tmp
grep '^[a-zA-Z]' makedepend | ( LC_ALL=C sort -u -f >> makedepend.tmp; )
mv makedepend.tmp makedepend
include makedepend
$(OBJS): ../makeinclude
-335
View File
@@ -1,335 +0,0 @@
# DO NOT DELETE THIS LINE -- make depend depends on it.
jaricom.o: fltk_jpeg_prefix.h
jaricom.o: jconfig.h
jaricom.o: jerror.h
jaricom.o: jinclude.h
jaricom.o: jmorecfg.h
jaricom.o: jpegint.h
jaricom.o: jpeglib.h
jcapimin.o: fltk_jpeg_prefix.h
jcapimin.o: jconfig.h
jcapimin.o: jerror.h
jcapimin.o: jinclude.h
jcapimin.o: jmorecfg.h
jcapimin.o: jpegint.h
jcapimin.o: jpeglib.h
jcapistd.o: fltk_jpeg_prefix.h
jcapistd.o: jconfig.h
jcapistd.o: jerror.h
jcapistd.o: jinclude.h
jcapistd.o: jmorecfg.h
jcapistd.o: jpegint.h
jcapistd.o: jpeglib.h
jcarith.o: fltk_jpeg_prefix.h
jcarith.o: jconfig.h
jcarith.o: jerror.h
jcarith.o: jinclude.h
jcarith.o: jmorecfg.h
jcarith.o: jpegint.h
jcarith.o: jpeglib.h
jccoefct.o: fltk_jpeg_prefix.h
jccoefct.o: jconfig.h
jccoefct.o: jerror.h
jccoefct.o: jinclude.h
jccoefct.o: jmorecfg.h
jccoefct.o: jpegint.h
jccoefct.o: jpeglib.h
jccolor.o: fltk_jpeg_prefix.h
jccolor.o: jconfig.h
jccolor.o: jerror.h
jccolor.o: jinclude.h
jccolor.o: jmorecfg.h
jccolor.o: jpegint.h
jccolor.o: jpeglib.h
jcdctmgr.o: fltk_jpeg_prefix.h
jcdctmgr.o: jconfig.h
jcdctmgr.o: jdct.h
jcdctmgr.o: jerror.h
jcdctmgr.o: jinclude.h
jcdctmgr.o: jmorecfg.h
jcdctmgr.o: jpegint.h
jcdctmgr.o: jpeglib.h
jchuff.o: fltk_jpeg_prefix.h
jchuff.o: jconfig.h
jchuff.o: jerror.h
jchuff.o: jinclude.h
jchuff.o: jmorecfg.h
jchuff.o: jpegint.h
jchuff.o: jpeglib.h
jcinit.o: fltk_jpeg_prefix.h
jcinit.o: jconfig.h
jcinit.o: jerror.h
jcinit.o: jinclude.h
jcinit.o: jmorecfg.h
jcinit.o: jpegint.h
jcinit.o: jpeglib.h
jcmainct.o: fltk_jpeg_prefix.h
jcmainct.o: jconfig.h
jcmainct.o: jerror.h
jcmainct.o: jinclude.h
jcmainct.o: jmorecfg.h
jcmainct.o: jpegint.h
jcmainct.o: jpeglib.h
jcmarker.o: fltk_jpeg_prefix.h
jcmarker.o: jconfig.h
jcmarker.o: jerror.h
jcmarker.o: jinclude.h
jcmarker.o: jmorecfg.h
jcmarker.o: jpegint.h
jcmarker.o: jpeglib.h
jcmaster.o: fltk_jpeg_prefix.h
jcmaster.o: jconfig.h
jcmaster.o: jerror.h
jcmaster.o: jinclude.h
jcmaster.o: jmorecfg.h
jcmaster.o: jpegint.h
jcmaster.o: jpeglib.h
jcomapi.o: fltk_jpeg_prefix.h
jcomapi.o: jconfig.h
jcomapi.o: jerror.h
jcomapi.o: jinclude.h
jcomapi.o: jmorecfg.h
jcomapi.o: jpegint.h
jcomapi.o: jpeglib.h
jcparam.o: fltk_jpeg_prefix.h
jcparam.o: jconfig.h
jcparam.o: jerror.h
jcparam.o: jinclude.h
jcparam.o: jmorecfg.h
jcparam.o: jpegint.h
jcparam.o: jpeglib.h
jcprepct.o: fltk_jpeg_prefix.h
jcprepct.o: jconfig.h
jcprepct.o: jerror.h
jcprepct.o: jinclude.h
jcprepct.o: jmorecfg.h
jcprepct.o: jpegint.h
jcprepct.o: jpeglib.h
jcsample.o: fltk_jpeg_prefix.h
jcsample.o: jconfig.h
jcsample.o: jerror.h
jcsample.o: jinclude.h
jcsample.o: jmorecfg.h
jcsample.o: jpegint.h
jcsample.o: jpeglib.h
jctrans.o: fltk_jpeg_prefix.h
jctrans.o: jconfig.h
jctrans.o: jerror.h
jctrans.o: jinclude.h
jctrans.o: jmorecfg.h
jctrans.o: jpegint.h
jctrans.o: jpeglib.h
jdapimin.o: fltk_jpeg_prefix.h
jdapimin.o: jconfig.h
jdapimin.o: jerror.h
jdapimin.o: jinclude.h
jdapimin.o: jmorecfg.h
jdapimin.o: jpegint.h
jdapimin.o: jpeglib.h
jdapistd.o: fltk_jpeg_prefix.h
jdapistd.o: jconfig.h
jdapistd.o: jerror.h
jdapistd.o: jinclude.h
jdapistd.o: jmorecfg.h
jdapistd.o: jpegint.h
jdapistd.o: jpeglib.h
jdarith.o: fltk_jpeg_prefix.h
jdarith.o: jconfig.h
jdarith.o: jerror.h
jdarith.o: jinclude.h
jdarith.o: jmorecfg.h
jdarith.o: jpegint.h
jdarith.o: jpeglib.h
jdatadst.o: fltk_jpeg_prefix.h
jdatadst.o: jconfig.h
jdatadst.o: jerror.h
jdatadst.o: jinclude.h
jdatadst.o: jmorecfg.h
jdatadst.o: jpegint.h
jdatadst.o: jpeglib.h
jdatasrc.o: fltk_jpeg_prefix.h
jdatasrc.o: jconfig.h
jdatasrc.o: jerror.h
jdatasrc.o: jinclude.h
jdatasrc.o: jmorecfg.h
jdatasrc.o: jpegint.h
jdatasrc.o: jpeglib.h
jdcoefct.o: fltk_jpeg_prefix.h
jdcoefct.o: jconfig.h
jdcoefct.o: jerror.h
jdcoefct.o: jinclude.h
jdcoefct.o: jmorecfg.h
jdcoefct.o: jpegint.h
jdcoefct.o: jpeglib.h
jdcolor.o: fltk_jpeg_prefix.h
jdcolor.o: jconfig.h
jdcolor.o: jerror.h
jdcolor.o: jinclude.h
jdcolor.o: jmorecfg.h
jdcolor.o: jpegint.h
jdcolor.o: jpeglib.h
jddctmgr.o: fltk_jpeg_prefix.h
jddctmgr.o: jconfig.h
jddctmgr.o: jdct.h
jddctmgr.o: jerror.h
jddctmgr.o: jinclude.h
jddctmgr.o: jmorecfg.h
jddctmgr.o: jpegint.h
jddctmgr.o: jpeglib.h
jdhuff.o: fltk_jpeg_prefix.h
jdhuff.o: jconfig.h
jdhuff.o: jerror.h
jdhuff.o: jinclude.h
jdhuff.o: jmorecfg.h
jdhuff.o: jpegint.h
jdhuff.o: jpeglib.h
jdinput.o: fltk_jpeg_prefix.h
jdinput.o: jconfig.h
jdinput.o: jerror.h
jdinput.o: jinclude.h
jdinput.o: jmorecfg.h
jdinput.o: jpegint.h
jdinput.o: jpeglib.h
jdmainct.o: fltk_jpeg_prefix.h
jdmainct.o: jconfig.h
jdmainct.o: jerror.h
jdmainct.o: jinclude.h
jdmainct.o: jmorecfg.h
jdmainct.o: jpegint.h
jdmainct.o: jpeglib.h
jdmarker.o: fltk_jpeg_prefix.h
jdmarker.o: jconfig.h
jdmarker.o: jerror.h
jdmarker.o: jinclude.h
jdmarker.o: jmorecfg.h
jdmarker.o: jpegint.h
jdmarker.o: jpeglib.h
jdmaster.o: fltk_jpeg_prefix.h
jdmaster.o: jconfig.h
jdmaster.o: jerror.h
jdmaster.o: jinclude.h
jdmaster.o: jmorecfg.h
jdmaster.o: jpegint.h
jdmaster.o: jpeglib.h
jdmerge.o: fltk_jpeg_prefix.h
jdmerge.o: jconfig.h
jdmerge.o: jerror.h
jdmerge.o: jinclude.h
jdmerge.o: jmorecfg.h
jdmerge.o: jpegint.h
jdmerge.o: jpeglib.h
jdpostct.o: fltk_jpeg_prefix.h
jdpostct.o: jconfig.h
jdpostct.o: jerror.h
jdpostct.o: jinclude.h
jdpostct.o: jmorecfg.h
jdpostct.o: jpegint.h
jdpostct.o: jpeglib.h
jdsample.o: fltk_jpeg_prefix.h
jdsample.o: jconfig.h
jdsample.o: jerror.h
jdsample.o: jinclude.h
jdsample.o: jmorecfg.h
jdsample.o: jpegint.h
jdsample.o: jpeglib.h
jdtrans.o: fltk_jpeg_prefix.h
jdtrans.o: jconfig.h
jdtrans.o: jerror.h
jdtrans.o: jinclude.h
jdtrans.o: jmorecfg.h
jdtrans.o: jpegint.h
jdtrans.o: jpeglib.h
jerror.o: fltk_jpeg_prefix.h
jerror.o: jconfig.h
jerror.o: jerror.h
jerror.o: jinclude.h
jerror.o: jmorecfg.h
jerror.o: jpegint.h
jerror.o: jpeglib.h
jerror.o: jversion.h
jfdctflt.o: fltk_jpeg_prefix.h
jfdctflt.o: jconfig.h
jfdctflt.o: jdct.h
jfdctflt.o: jerror.h
jfdctflt.o: jinclude.h
jfdctflt.o: jmorecfg.h
jfdctflt.o: jpegint.h
jfdctflt.o: jpeglib.h
jfdctfst.o: fltk_jpeg_prefix.h
jfdctfst.o: jconfig.h
jfdctfst.o: jdct.h
jfdctfst.o: jerror.h
jfdctfst.o: jinclude.h
jfdctfst.o: jmorecfg.h
jfdctfst.o: jpegint.h
jfdctfst.o: jpeglib.h
jfdctint.o: fltk_jpeg_prefix.h
jfdctint.o: jconfig.h
jfdctint.o: jdct.h
jfdctint.o: jerror.h
jfdctint.o: jinclude.h
jfdctint.o: jmorecfg.h
jfdctint.o: jpegint.h
jfdctint.o: jpeglib.h
jidctflt.o: fltk_jpeg_prefix.h
jidctflt.o: jconfig.h
jidctflt.o: jdct.h
jidctflt.o: jerror.h
jidctflt.o: jinclude.h
jidctflt.o: jmorecfg.h
jidctflt.o: jpegint.h
jidctflt.o: jpeglib.h
jidctfst.o: fltk_jpeg_prefix.h
jidctfst.o: jconfig.h
jidctfst.o: jdct.h
jidctfst.o: jerror.h
jidctfst.o: jinclude.h
jidctfst.o: jmorecfg.h
jidctfst.o: jpegint.h
jidctfst.o: jpeglib.h
jidctint.o: fltk_jpeg_prefix.h
jidctint.o: jconfig.h
jidctint.o: jdct.h
jidctint.o: jerror.h
jidctint.o: jinclude.h
jidctint.o: jmorecfg.h
jidctint.o: jpegint.h
jidctint.o: jpeglib.h
jmemmgr.o: fltk_jpeg_prefix.h
jmemmgr.o: jconfig.h
jmemmgr.o: jerror.h
jmemmgr.o: jinclude.h
jmemmgr.o: jmemsys.h
jmemmgr.o: jmorecfg.h
jmemmgr.o: jpegint.h
jmemmgr.o: jpeglib.h
jmemnobs.o: fltk_jpeg_prefix.h
jmemnobs.o: jconfig.h
jmemnobs.o: jerror.h
jmemnobs.o: jinclude.h
jmemnobs.o: jmemsys.h
jmemnobs.o: jmorecfg.h
jmemnobs.o: jpegint.h
jmemnobs.o: jpeglib.h
jquant1.o: fltk_jpeg_prefix.h
jquant1.o: jconfig.h
jquant1.o: jerror.h
jquant1.o: jinclude.h
jquant1.o: jmorecfg.h
jquant1.o: jpegint.h
jquant1.o: jpeglib.h
jquant2.o: fltk_jpeg_prefix.h
jquant2.o: jconfig.h
jquant2.o: jerror.h
jquant2.o: jinclude.h
jquant2.o: jmorecfg.h
jquant2.o: jpegint.h
jquant2.o: jpeglib.h
jutils.o: fltk_jpeg_prefix.h
jutils.o: jconfig.h
jutils.o: jerror.h
jutils.o: jinclude.h
jutils.o: jmorecfg.h
jutils.o: jpegint.h
jutils.o: jpeglib.h
-86
View File
@@ -1,86 +0,0 @@
#
# Library Makefile for the Fast Light Tool Kit (FLTK).
#
# Copyright 2022-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include ../../makeinclude
OBJECTS = fl_libdecor.o libdecor-cairo-blur.o fl_libdecor-plugins.o \
../../src/xdg-decoration-protocol.o ../../src/xdg-shell-protocol.o \
../../src/text-input-protocol.o ../../src/gtk-shell-protocol.o desktop-settings.o os-compatibility.o
PROTOCOLS = `pkg-config --variable=pkgdatadir wayland-protocols`
Linux_CFLAGS =
FreeBSD_CFLAGS = -I/usr/local/include
EXTRA_DECOR = ${${UNAME}_CFLAGS}
CFLAGS_DECOR = -I. -I../.. -I../../src -I../src -I../src/plugins $(EXTRA_DECOR) -fPIC -D_GNU_SOURCE \
-DHAVE_MEMFD_CREATE -DHAVE_MKOSTEMP -DHAVE_POSIX_FALLOCATE
all : $(OBJECTS)
depend:
: echo "libdecor/build: make depend..."
fl_libdecor.o : fl_libdecor.c ../src/libdecor.c ../../src/xdg-shell-protocol.c ../../src/xdg-decoration-protocol.c ../../src/text-input-protocol.c ../../src/gtk-shell-protocol.c
$(CC) $(CFLAGS) $(CFLAGS_DECOR) -c fl_libdecor.c -DLIBDECOR_PLUGIN_API_VERSION=1
fl_libdecor-plugins.o : fl_libdecor-plugins.c ../src/plugins/cairo/libdecor-cairo.c
$(CC) $(CFLAGS) $(CFLAGS_DECOR) -c fl_libdecor-plugins.c -DLIBDECOR_PLUGIN_API_VERSION=1
libdecor-cairo-blur.o : ../src/plugins/common/libdecor-cairo-blur.c
$(CC) $(CFLAGS_DECOR) -c ../src/plugins/common/libdecor-cairo-blur.c
os-compatibility.o : ../src/os-compatibility.c
$(CC) $(CFLAGS_DECOR) -c ../src/os-compatibility.c
desktop-settings.o : ../src/desktop-settings.c
$(CC) $(CFLAGS_DECOR) -c ../src/desktop-settings.c $(LIBDECORDBUS)
../../src/xdg-shell-protocol.c :
wayland-scanner private-code $(PROTOCOLS)/stable/xdg-shell/xdg-shell.xml \
../../src/xdg-shell-protocol.c
wayland-scanner client-header $(PROTOCOLS)/stable/xdg-shell/xdg-shell.xml \
../../src/xdg-shell-client-protocol.h
../../src/xdg-decoration-protocol.c :
wayland-scanner private-code \
$(PROTOCOLS)/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml \
../../src/xdg-decoration-protocol.c
wayland-scanner client-header \
$(PROTOCOLS)/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml \
../../src/xdg-decoration-client-protocol.h
../../src/text-input-protocol.c :
wayland-scanner private-code \
$(PROTOCOLS)/unstable/text-input/text-input-unstable-v3.xml \
../../src/text-input-protocol.c
wayland-scanner client-header \
$(PROTOCOLS)/unstable/text-input/text-input-unstable-v3.xml \
../../src/text-input-client-protocol.h
../../src/gtk-shell-protocol.c :
wayland-scanner private-code \
gtk-shell.xml ../../src/gtk-shell-protocol.c
wayland-scanner client-header \
gtk-shell.xml ../../src/gtk-shell-client-protocol.h
install:
echo "Nothing to install"
uninstall:
clean:
$(RM) *.o ../../src/xdg-*.c ../../src/xdg-*.h ../../src/xdg-*.o ../../src/text-input-* ../../src/gtk-shell-*
-198
View File
@@ -1,198 +0,0 @@
#
# Make include file for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
# FLTK version numbers
FL_VERSION = @FLTK_VERSION@
FL_DSO_VERSION = @FL_DSO_VERSION@
FL_ABI_VERSION = @FL_ABI_VERSION@
# FLTK version for documentation generation with doxygen
FLTK_VERSION = @FLTK_VERSION@
# FLTK configuration options: BUILD = { WIN | OSX | X11 | XFT | CAIROXLIB | WAYLANDX11 | WAYLAND }
BUILD = @BUILD@
UNAME = @UNAME@
# Standard configure variables
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datadir = @datadir@
datarootdir = @datarootdir@
includedir = @includedir@
libdir = @libdir@
mandir = @mandir@
srcdir = @srcdir@
docdir = $(datadir)/doc/fltk
VPATH = @srcdir@
# programs we use...
DOXYDOC = @DOXYDOC@
INSTALL = @INSTALL@
LN = ln -s
NROFF = @NROFF@
RM = rm -f
RMDIR = rm -rf
SHELL = /bin/sh
STRIP = strip
# compiler names:
CXX = @CXX@
CC = @CC@
MAKEDEPEND = @MAKEDEPEND@
# (Windows) resource compiler
RC = @RC@
# flags for C++ compiler:
ARCHFLAGS = @ARCHFLAGS@
OPTIM = @OPTIM@
CFLAGS = $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @CPPFLAGS@ @CFLAGS@
CXXFLAGS = $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @CPPFLAGS@ @CXXFLAGS@ $(FLTKFLAGS)
# program to make the archive:
LIBNAME = @LIBNAME@
FLLIBNAME = @FLLIBNAME@
GLLIBNAME = @GLLIBNAME@
IMGLIBNAME = @IMGLIBNAME@
CAIROLIBNAME = @CAIROLIBNAME@
LIBCOMMAND = @LIBCOMMAND@
LIBEXT = @LIBEXT@
RANLIB = @RANLIB@
DSONAME = @DSONAME@
FLDSONAME = @FLDSONAME@
GLDSONAME = @GLDSONAME@
IMGDSONAME = @IMGDSONAME@
CAIRODSONAME = @CAIRODSONAME@
DSOCOMMAND = @DSOCOMMAND@
LIBBASENAME = @LIBBASENAME@
FLLIBBASENAME = @FLLIBBASENAME@
GLLIBBASENAME = @GLLIBBASENAME@
IMGLIBBASENAME = @IMGLIBBASENAME@
CAIROLIBBASENAME= @CAIROLIBBASENAME@
# Test programs (optional, --disable-test):
TESTDIR = @TESTDIR@
# libraries to link with:
AUDIOLIBS = @AUDIOLIBS@
CAIROLIBS = @CAIROLIBS@
CAIROFLAGS = @CAIROFLAGS@
DSOFLAGS = -L. @DSOFLAGS@
LDFLAGS = $(OPTIM) @LDFLAGS@
LDLIBS = @LIBS@
GLDLIBS = @GLLIBS@ @LIBS@
LINKFLTK = @LINKFLTK@
LINKFLTKGL = @LINKFLTKGL@
LINKFLTKFORMS = @LINKFLTKFORMS@ @LINKFLTK@
LINKFLTKIMG = @LINKFLTKIMG@ @LINKFLTK@ $(IMAGELIBS)
LINKFLTKCAIRO = @LINKFLTKCAIRO@ $(CAIROLIBS)
FLTKCAIROOPTION = @FLTKCAIROOPTION@
LINKSHARED = @DSOLINK@ @LINKSHARED@ $(IMAGELIBS) $(CAIROLIBS)
IMAGELIBS = -L../lib @IMAGELIBS@
# optional extra build step for fluid:
FLUIDDIR = @FLUIDDIR@
# optional extra build step for libdecor:
LIBDECORDIR = @LIBDECORDIR@
LIBDECORDBUS = @LIBDECORDBUS@
# image libraries to build...
IMAGEDIRS = @JPEG@ @ZLIB@ @PNG@
CAIRODIR = @CAIRODIR@
# The extension to use for executables...
EXEEXT = @EXEEXT@
# Do we build the OpenGL demos?
GLDEMOS = @GLDEMOS@
# Do we build the threads demo?
THREADS = @THREADS@
# Name of FLUID executable we install
FLUID = @FLUID@$(EXEEXT)
# Name and/or path of FLUID executable we use for building:
# depends on the build type (native or cross-compiler)
FLUID_BUILD = @FLUID_BUILD@
# Name of fltk-options executable we install
FLTK_OPTIONS = @FLTK_OPTIONS@$(EXEEXT)
# Possible steps for OS X build only
OSX_ONLY = @OSX_ONLY@
# Man page extensions...
CAT1EXT = @CAT1EXT@
CAT3EXT = @CAT3EXT@
CAT6EXT = @CAT6EXT@
#
# Installation programs...
#
INSTALL_BIN = $(INSTALL) -m 755
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(INSTALL) -d
INSTALL_LIB = $(INSTALL) -m 755
INSTALL_MAN = $(INSTALL) -m 644
INSTALL_SCRIPT = $(INSTALL) -m 755
# Additional GUI install/uninstall targets...
INSTALL_DESKTOP = @INSTALL_DESKTOP@
UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@
# Be quiet when building...
.SILENT:
# Build commands and filename extensions...
.SUFFIXES: .0 .1 .3 .6 .c .cxx .mm .h .fl .man .o .z $(EXEEXT)
.o$(EXEEXT):
echo Linking $@...
$(CXX) $(ARCHFLAGS) $(LDFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@
$(OSX_ONLY) ../fltk-config --post $@
.c.o:
echo Compiling $<...
$(CC) -I.. $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CFLAGS) -c $< -o $@
.cxx.o:
echo Compiling $<...
$(CXX) -I.. $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CXXFLAGS) -c $< -o $@
.mm.o:
echo Compiling $<...
$(CXX) -I.. $(ARCHFLAGS) $(CXXFLAGS) -x objective-c++ -c $< -o $@
.man.0 .man.1 .man.3 .man.6:
echo Formatting $<...
rm -f $@
$(NROFF) -man $< >$@
.man.z:
echo Formatting $<...
rm -f $@ t.z
$(NROFF) -man $< >t
pack -f t
mv t.z $@
-51
View File
@@ -1,51 +0,0 @@
#!/bin/sh
#
# Update the bundled scripts config.guess and config.sub
# for the Fast Light Tool Kit (FLTK).
#
# Copyright 1998-2023 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
#
# Notes to developers:
#
# This script uses wget to download the scripts to the current working
# directory, and it overwrites existing files. You may also use your
# browser to view and download the files if wget is not installed on
# your system.
#
# After downloading the scripts, copy config.guess and config.sub to
# the FLTK root directory, test, and eventually commit the changes:
#
# # cd to FLTK root directory
#
# $ make distclean
# $ autoconf -f
# $ ./configure [options ...]
# $ make
# # test
# $ git add config.guess config.sub
# $ git commit
#
for FILE in config.guess config.sub; do
echo ""
echo "Downloading $FILE..."
echo ""
wget -O $FILE \
"https://git.savannah.gnu.org/cgit/config.git/plain/$FILE"
done
echo ""
echo "Download complete, please check for errors, test, and commit changes."
echo ""
-104
View File
@@ -1,104 +0,0 @@
#
# PNG library Makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1997-2011 by Easy Software Products.
# Copyright 2012-2024 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include ../makeinclude
#
# Object files...
#
OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
pngwtran.o pngmem.o pngerror.o pngpread.o \
arm/arm_init.o arm/filter_neon_intrinsics.o arm/palette_neon_intrinsics.o \
powerpc/powerpc_init.o powerpc/filter_vsx_intrinsics.o
LIBPNG = ../lib/libfltk_png$(LIBEXT)
#
# Make all of the targets...
#
all: $(LIBPNG)
#
# Clean all of the targets and object files...
#
clean:
$(RM) $(OBJS)
$(RM) $(LIBPNG)
#
# Install everything...
#
install: $(LIBPNG)
echo "Installing libfltk_png$(LIBEXT) in $(libdir)..."
-$(INSTALL_DIR) "$(DESTDIR)$(libdir)"
$(INSTALL_LIB) $(LIBPNG) "$(DESTDIR)$(libdir)"
$(RANLIB) "$(DESTDIR)$(libdir)/libfltk_png$(LIBEXT)"
echo "Installing png headers in $(includedir)/FL/images..."
-$(INSTALL_DIR) "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) png.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) pngconf.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) pnglibconf.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) pngprefix.h "$(DESTDIR)$(includedir)/FL/images"
#
# Uninstall everything...
#
uninstall:
echo "Uninstalling libfltk_png$(LIBEXT) in $(libdir)..."
$(RM) "$(DESTDIR)$(libdir)/libfltk_png$(LIBEXT)"
echo "Uninstalling png headers in $(includedir)/FL/images..."
$(RM) "$(DESTDIR)$(includedir)/FL/images/png.h"
$(RM) "$(DESTDIR)$(includedir)/FL/images/pngconf.h"
$(RM) "$(DESTDIR)$(includedir)/FL/images/pnglibconf.h"
$(RM) "$(DESTDIR)$(includedir)/FL/images/pngprefix.h"
#
# libfltk_png.a
#
$(LIBPNG): $(OBJS)
echo Archiving $@...
$(RM) $@
$(LIBCOMMAND) $@ $(OBJS)
$(RANLIB) $@
#
# Make dependencies...
#
depend: $(OBJS:.o=.c)
makedepend -Y -I.. -f makedepend -w 20 $(OBJS:.o=.c)
echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > makedepend.tmp
echo "" >> makedepend.tmp
grep '^[a-zA-Z]' makedepend | ( LC_ALL=C sort -u -f >> makedepend.tmp; )
mv makedepend.tmp makedepend
include makedepend
$(OBJS): ../makeinclude
-162
View File
@@ -1,162 +0,0 @@
# DO NOT DELETE THIS LINE -- make depend depends on it.
arm/arm_init.o: png.h
arm/arm_init.o: pngconf.h
arm/arm_init.o: pngdebug.h
arm/arm_init.o: pnginfo.h
arm/arm_init.o: pnglibconf.h
arm/arm_init.o: pngprefix.h
arm/arm_init.o: pngpriv.h
arm/arm_init.o: pngstruct.h
arm/filter_neon_intrinsics.o: png.h
arm/filter_neon_intrinsics.o: pngconf.h
arm/filter_neon_intrinsics.o: pngdebug.h
arm/filter_neon_intrinsics.o: pnginfo.h
arm/filter_neon_intrinsics.o: pnglibconf.h
arm/filter_neon_intrinsics.o: pngprefix.h
arm/filter_neon_intrinsics.o: pngpriv.h
arm/filter_neon_intrinsics.o: pngstruct.h
arm/palette_neon_intrinsics.o: png.h
arm/palette_neon_intrinsics.o: pngconf.h
arm/palette_neon_intrinsics.o: pngdebug.h
arm/palette_neon_intrinsics.o: pnginfo.h
arm/palette_neon_intrinsics.o: pnglibconf.h
arm/palette_neon_intrinsics.o: pngprefix.h
arm/palette_neon_intrinsics.o: pngpriv.h
arm/palette_neon_intrinsics.o: pngstruct.h
png.o: png.h
png.o: pngconf.h
png.o: pngdebug.h
png.o: pnginfo.h
png.o: pnglibconf.h
png.o: pngprefix.h
png.o: pngpriv.h
png.o: pngstruct.h
pngerror.o: png.h
pngerror.o: pngconf.h
pngerror.o: pngdebug.h
pngerror.o: pnginfo.h
pngerror.o: pnglibconf.h
pngerror.o: pngprefix.h
pngerror.o: pngpriv.h
pngerror.o: pngstruct.h
pngget.o: png.h
pngget.o: pngconf.h
pngget.o: pngdebug.h
pngget.o: pnginfo.h
pngget.o: pnglibconf.h
pngget.o: pngprefix.h
pngget.o: pngpriv.h
pngget.o: pngstruct.h
pngmem.o: png.h
pngmem.o: pngconf.h
pngmem.o: pngdebug.h
pngmem.o: pnginfo.h
pngmem.o: pnglibconf.h
pngmem.o: pngprefix.h
pngmem.o: pngpriv.h
pngmem.o: pngstruct.h
pngpread.o: png.h
pngpread.o: pngconf.h
pngpread.o: pngdebug.h
pngpread.o: pnginfo.h
pngpread.o: pnglibconf.h
pngpread.o: pngprefix.h
pngpread.o: pngpriv.h
pngpread.o: pngstruct.h
pngread.o: png.h
pngread.o: pngconf.h
pngread.o: pngdebug.h
pngread.o: pnginfo.h
pngread.o: pnglibconf.h
pngread.o: pngprefix.h
pngread.o: pngpriv.h
pngread.o: pngstruct.h
pngrio.o: png.h
pngrio.o: pngconf.h
pngrio.o: pngdebug.h
pngrio.o: pnginfo.h
pngrio.o: pnglibconf.h
pngrio.o: pngprefix.h
pngrio.o: pngpriv.h
pngrio.o: pngstruct.h
pngrtran.o: png.h
pngrtran.o: pngconf.h
pngrtran.o: pngdebug.h
pngrtran.o: pnginfo.h
pngrtran.o: pnglibconf.h
pngrtran.o: pngprefix.h
pngrtran.o: pngpriv.h
pngrtran.o: pngstruct.h
pngrutil.o: png.h
pngrutil.o: pngconf.h
pngrutil.o: pngdebug.h
pngrutil.o: pnginfo.h
pngrutil.o: pnglibconf.h
pngrutil.o: pngprefix.h
pngrutil.o: pngpriv.h
pngrutil.o: pngstruct.h
pngset.o: png.h
pngset.o: pngconf.h
pngset.o: pngdebug.h
pngset.o: pnginfo.h
pngset.o: pnglibconf.h
pngset.o: pngprefix.h
pngset.o: pngpriv.h
pngset.o: pngstruct.h
pngtrans.o: png.h
pngtrans.o: pngconf.h
pngtrans.o: pngdebug.h
pngtrans.o: pnginfo.h
pngtrans.o: pnglibconf.h
pngtrans.o: pngprefix.h
pngtrans.o: pngpriv.h
pngtrans.o: pngstruct.h
pngwio.o: png.h
pngwio.o: pngconf.h
pngwio.o: pngdebug.h
pngwio.o: pnginfo.h
pngwio.o: pnglibconf.h
pngwio.o: pngprefix.h
pngwio.o: pngpriv.h
pngwio.o: pngstruct.h
pngwrite.o: png.h
pngwrite.o: pngconf.h
pngwrite.o: pngdebug.h
pngwrite.o: pnginfo.h
pngwrite.o: pnglibconf.h
pngwrite.o: pngprefix.h
pngwrite.o: pngpriv.h
pngwrite.o: pngstruct.h
pngwtran.o: png.h
pngwtran.o: pngconf.h
pngwtran.o: pngdebug.h
pngwtran.o: pnginfo.h
pngwtran.o: pnglibconf.h
pngwtran.o: pngprefix.h
pngwtran.o: pngpriv.h
pngwtran.o: pngstruct.h
pngwutil.o: png.h
pngwutil.o: pngconf.h
pngwutil.o: pngdebug.h
pngwutil.o: pnginfo.h
pngwutil.o: pnglibconf.h
pngwutil.o: pngprefix.h
pngwutil.o: pngpriv.h
pngwutil.o: pngstruct.h
powerpc/filter_vsx_intrinsics.o: png.h
powerpc/filter_vsx_intrinsics.o: pngconf.h
powerpc/filter_vsx_intrinsics.o: pngdebug.h
powerpc/filter_vsx_intrinsics.o: pnginfo.h
powerpc/filter_vsx_intrinsics.o: pnglibconf.h
powerpc/filter_vsx_intrinsics.o: pngprefix.h
powerpc/filter_vsx_intrinsics.o: pngpriv.h
powerpc/filter_vsx_intrinsics.o: pngstruct.h
powerpc/powerpc_init.o: png.h
powerpc/powerpc_init.o: pngconf.h
powerpc/powerpc_init.o: pngdebug.h
powerpc/powerpc_init.o: pnginfo.h
powerpc/powerpc_init.o: pnglibconf.h
powerpc/powerpc_init.o: pngprefix.h
powerpc/powerpc_init.o: pngpriv.h
powerpc/powerpc_init.o: pngstruct.h
-1100
View File
File diff suppressed because it is too large Load Diff
-5153
View File
File diff suppressed because it is too large Load Diff
-19
View File
@@ -1,19 +0,0 @@
euc_tw: euc_tw.c
gcc euc_tw.c -o euc_tw
all: convert_map create_table conv_gen
./tbl_gen.sh
./non_spacing.sh
./case.sh
conv_gen: conv_gen.c
gcc conv_gen.c -o conv_gen
convert_map: convert_map.c
gcc convert_map.c -o convert_map
create_table: create_table.c
gcc create_table.c -o create_table
clean:
rm -f *.o convert_map create_table conv_gen euc_tw
-712
View File
File diff suppressed because it is too large Load Diff
-3247
View File
File diff suppressed because it is too large Load Diff
-93
View File
@@ -1,93 +0,0 @@
#
# ZIP library makefile for the Fast Light Toolkit (FLTK).
#
# Copyright 1998-2023 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
# file is missing or damaged, see the license at:
#
# https://www.fltk.org/COPYING.php
#
# Please see the following page on how to report bugs and issues:
#
# https://www.fltk.org/bugs.php
#
include ../makeinclude
#
# Object files...
#
OBJS = adler32.o compress.o crc32.o uncompr.o deflate.o \
trees.o zutil.o inflate.o inftrees.o inffast.o \
gzclose.o gzlib.o gzread.o gzwrite.o infback.o
LIBZ = ../lib/libfltk_z$(LIBEXT)
#
# Make all targets...
#
all: $(LIBZ)
#
# Clean all targets and object files...
#
clean:
$(RM) $(OBJS)
$(RM) $(LIBZ)
#
# Install everything...
#
install: $(LIBZ)
echo "Installing libfltk_z$(LIBEXT) in $(libdir)..."
-$(INSTALL_DIR) "$(DESTDIR)$(libdir)"
$(INSTALL_LIB) $(LIBZ) "$(DESTDIR)$(libdir)"
$(RANLIB) "$(DESTDIR)$(libdir)/libfltk_z$(LIBEXT)"
echo "Installing zlib headers in $(includedir)/FL/images..."
-$(INSTALL_DIR) "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) zconf.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) zlib.h "$(DESTDIR)$(includedir)/FL/images"
$(INSTALL_DATA) zutil.h "$(DESTDIR)$(includedir)/FL/images"
#
# Uninstall everything...
#
uninstall:
echo "Uninstalling libfltk_z$(LIBEXT) in $(libdir)..."
$(RM) "$(libdir)/libfltk_z$(LIBEXT)"
echo "Uninstalling zlib headers in $(includedir)/FL/images..."
$(RM) "$(includedir)/FL/images/zconf.h"
$(RM) "$(includedir)/FL/images/zlib.h"
$(RM) "$(includedir)/FL/images/zutil.h"
#
# libfltk_z.a
#
$(LIBZ): $(OBJS)
echo Archiving $@...
$(RM) $@
$(LIBCOMMAND) $@ $(OBJS)
$(RANLIB) $@
#
# Make dependencies...
#
depend: $(OBJS:.o=.c)
makedepend -Y -I.. -f makedepend -w 20 $(OBJS:.o=.c)
echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > makedepend.tmp
echo "" >> makedepend.tmp
grep '^[a-zA-Z]' makedepend | ( LC_ALL=C sort -u -f >> makedepend.tmp; )
mv makedepend.tmp makedepend
include makedepend
$(OBJS): ../makeinclude
-62
View File
@@ -1,62 +0,0 @@
# DO NOT DELETE THIS LINE -- make depend depends on it.
adler32.o: zconf.h
adler32.o: zlib.h
adler32.o: zutil.h
compress.o: zconf.h
compress.o: zlib.h
crc32.o: crc32.h
crc32.o: zconf.h
crc32.o: zlib.h
crc32.o: zutil.h
deflate.o: deflate.h
deflate.o: zconf.h
deflate.o: zlib.h
deflate.o: zutil.h
gzclose.o: gzguts.h
gzclose.o: zconf.h
gzclose.o: zlib.h
gzlib.o: gzguts.h
gzlib.o: zconf.h
gzlib.o: zlib.h
gzread.o: gzguts.h
gzread.o: zconf.h
gzread.o: zlib.h
gzwrite.o: gzguts.h
gzwrite.o: zconf.h
gzwrite.o: zlib.h
infback.o: inffast.h
infback.o: inffixed.h
infback.o: inflate.h
infback.o: inftrees.h
infback.o: zconf.h
infback.o: zlib.h
infback.o: zutil.h
inffast.o: inffast.h
inffast.o: inflate.h
inffast.o: inftrees.h
inffast.o: zconf.h
inffast.o: zlib.h
inffast.o: zutil.h
inflate.o: inffast.h
inflate.o: inffixed.h
inflate.o: inflate.h
inflate.o: inftrees.h
inflate.o: zconf.h
inflate.o: zlib.h
inflate.o: zutil.h
inftrees.o: inftrees.h
inftrees.o: zconf.h
inftrees.o: zlib.h
inftrees.o: zutil.h
trees.o: deflate.h
trees.o: trees.h
trees.o: zconf.h
trees.o: zlib.h
trees.o: zutil.h
uncompr.o: zconf.h
uncompr.o: zlib.h
zutil.o: gzguts.h
zutil.o: zconf.h
zutil.o: zlib.h
zutil.o: zutil.h