mirror of
https://git.code.sf.net/p/fuse-emulator/fuse
synced 2026-01-27 01:41:34 +03:00
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
## Copyright (c) 2001-2017 Philip Kendall, Sergio Baldoví
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; either version 2 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License along
|
|
## with this program; if not, write to the Free Software Foundation, Inc.,
|
|
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
##
|
|
## Author contact information:
|
|
##
|
|
## E-mail: philip-fuse@shadowmagic.org.uk
|
|
|
|
if UI_NULL
|
|
|
|
fuse_SOURCES += $(ui_null_files)
|
|
|
|
BUILT_SOURCES += $(ui_null_built)
|
|
|
|
endif
|
|
|
|
CLEANFILES += $(ui_null_built)
|
|
|
|
ui_null_files = \
|
|
ui/null/null_ui.c \
|
|
ui/null/options.c
|
|
|
|
ui_null_built = \
|
|
ui/null/options.c
|
|
|
|
EXTRA_DIST += \
|
|
ui/null/options.pl \
|
|
ui/null/options-header.pl
|
|
|
|
ui/null/options.c: $(srcdir)/perl/cpp-perl.pl config.h $(srcdir)/ui/null/options.pl $(srcdir)/ui/options.dat $(srcdir)/perl/Fuse.pm $(srcdir)/perl/Fuse/Dialog.pm
|
|
@$(MKDIR_P) ui/null
|
|
$(AM_V_GEN)$(PERL) $(srcdir)/perl/cpp-perl.pl config.h $(srcdir)/ui/options.dat | $(PERL) -I$(srcdir)/perl $(srcdir)/ui/null/options.pl - > $@.tmp && mv $@.tmp $@
|