version 1.2, 2025/01/19 04:27:45
|
version 1.14, 2025/04/13 04:22:43
|
Line 1
|
Line 1
|
# |
# |
# * |
# $Id$ |
# * * |
|
# * * |
|
# *************** |
|
# * * * * |
|
# * MUMPS * |
|
# * * * * |
|
# *************** |
|
# * * |
|
# * * |
|
# * |
|
# |
|
# Makefile.am (src) |
|
# automake rules for main body of FreeM source code |
# automake rules for main body of FreeM source code |
# |
# |
# |
# |
# Author: John P. Willis <jpw@coherent-logic.com> |
# Author: Serena Willis <jpw@coherent-logic.com> |
# Copyright (C) 1998 MUG Deutschland |
# Copyright (C) 1998 MUG Deutschland |
# Copyright (C) 2020 Coherent Logic Development LLC |
# Copyright (C) 2020, 2025 Coherent Logic Development LLC |
# |
# |
# |
# |
# This file is part of FreeM. |
# This file is part of FreeM. |
Line 35
|
Line 23
|
# You should have received a copy of the GNU Affero Public License |
# You should have received a copy of the GNU Affero Public License |
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
# |
# |
|
# $Log$ |
|
# Revision 1.14 2025/04/13 04:22:43 snw |
|
# Fix snprintf calls |
|
# |
|
# Revision 1.13 2025/04/12 00:54:17 snw |
|
# Set -fno-stack-protector and -fno-mudflap where available, and set _FORTIFY_SOURCE to 0 everywhere |
|
# |
|
# Revision 1.12 2025/04/12 00:42:07 snw |
|
# Remove -Wall and all supporting directives |
|
# |
|
# Revision 1.11 2025/04/09 19:52:02 snw |
|
# Eliminate as many warnings as possible while building with -Wall |
|
# |
|
# Revision 1.10 2025/04/09 15:30:03 snw |
|
# Check which platform builds fail with -Wall -pedantic |
|
# |
|
# Revision 1.9 2025/04/08 14:45:33 snw |
|
# Add global_bltin.h to src/Makefile.am |
|
# |
|
# Revision 1.8 2025/04/02 02:22:49 snw |
|
# Remove -Wformat-truncation |
|
# |
|
# Revision 1.7 2025/03/31 16:33:56 snw |
|
# Work on fmadm edit global |
|
# |
|
# Revision 1.6 2025/03/30 01:36:58 snw |
|
# Make it easier to bring back fma_gedit, fix double-free in global handler, limit $CHAR to 7-bit ASCII |
|
# |
|
# Revision 1.5 2025/03/09 19:14:24 snw |
|
# First phase of REUSE compliance and header reformat |
|
# |
|
# |
|
# SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC |
|
# SPDX-License-Identifier: AGPL-3.0-or-later |
# |
# |
|
|
AM_CFLAGS = -fsigned-char |
AM_CFLAGS = -fsigned-char -Wall -Wextra -pedantic |
AM_CPPFLAGS = -DHACK_NOXLATE -DSYSCONFDIR=\"${sysconfdir}\" -DPREFIX=\"${prefix}\" -DDATADIR=\"${datadir}\" -DLOCALSTATEDIR=\"${localstatedir}\" -DHOST=\"${host_triplet}\" |
AM_CPPFLAGS = -DHACK_NOXLATE -D_FORTIFY_SOURCE=1 -DSYSCONFDIR=\"${sysconfdir}\" -DPREFIX=\"${prefix}\" -DDATADIR=\"${datadir}\" -DLOCALSTATEDIR=\"${localstatedir}\" -DHOST=\"${host_triplet}\" |
|
|
freem_headers = config.h errmsg.h events.h fmadm.h fma_globals.h fma_jobs.h \ |
freem_headers = config.h errmsg.h events.h fmadm.h fma_globals.h fma_jobs.h \ |
fma_journals.h fma_locks.h fma_routines.h freem.h iftab.h iniconf.h \ |
fma_journals.h fma_locks.h fma_routines.h freem.h iftab.h iniconf.h \ |
init.h io_socket.h jnldefs.h journal.h libfill.h log.h mdebug.h \ |
init.h io_socket.h jnldefs.h journal.h libfill.h log.h mdebug.h \ |
merge.h merr.h mpsdef0.h mpsdef.h mref.h mtok.h namespace.h sighnd.h ssvn_zrpi.h \ |
merge.h merr.h mpsdef0.h mpsdef.h mref.h mtok.h namespace.h sighnd.h ssvn_zrpi.h \ |
transact.h version.h consttbl.h mwapi_window.h mwapi_event.h shmmgr.h locktab.h \ |
transact.h version.h consttbl.h mwapi_window.h mwapi_event.h shmmgr.h locktab.h \ |
jobtab.h tp_check.h datatypes.h objects.h mcommand.h routine.h fs.h |
jobtab.h tp_check.h datatypes.h objects.h mcommand.h routine.h fs.h global_bltin.h |
|
|
freem_commands = cmd_map.c cmd_unmap.c cmd_then.c cmd_throw.c cmd_const.c cmd_kvalue.c \ |
freem_commands = cmd_map.c cmd_unmap.c cmd_then.c cmd_throw.c cmd_const.c cmd_kvalue.c \ |
cmd_ksubscripts.c cmd_tstart.c cmd_tcommit.c cmd_trollback.c cmd_if.c \ |
cmd_ksubscripts.c cmd_tstart.c cmd_tcommit.c cmd_trollback.c cmd_if.c \ |
Line 63 freem_common = iniconf.c sighnd.c init.c
|
Line 85 freem_common = iniconf.c sighnd.c init.c
|
mcommand.c routine.c fs.c $(freem_commands) $(freem_headers) |
mcommand.c routine.c fs.c $(freem_commands) $(freem_headers) |
|
|
fmadm_common = fmadm.c fma_locks.c fma_journals.c fma_routines.c fma_globals.c fma_jobs.c fma_gedit.c |
fmadm_common = fmadm.c fma_locks.c fma_journals.c fma_routines.c fma_globals.c fma_jobs.c fma_gedit.c |
|
#fmadm_common = fmadm.c fma_locks.c fma_journals.c fma_routines.c fma_globals.c fma_jobs.c |
|
|
bin_PROGRAMS = freem fmadm |
bin_PROGRAMS = freem fmadm |
lib_LTLIBRARIES = libfreem.la |
lib_LTLIBRARIES = libfreem.la |
Line 83 fmadm_CFLAGS = $(AM_CFLAGS) $(FREEM_CFLA
|
Line 106 fmadm_CFLAGS = $(AM_CFLAGS) $(FREEM_CFLA
|
|
|
# freem_LDFLAGS = @X_LIBS@ |
# freem_LDFLAGS = @X_LIBS@ |
|
|
freem_LDADD = $(FREEM_LIBS) @CURSES_LIB@ |
freem_LDADD = $(FREEM_LIBS) |
|
|
fmadm_LDADD = $(FREEM_LIBS) @CURSES_LIB@ |
|
|
|
|
#fmadm_LDADD = $(FREEM_LIBS) @CURSES_LIB@ |
|
fmadm_LDADD = $(FREEM_LIBS) |
|
|
|
|