Annotation of freem/src/Makefile.am, revision 1.8
1.1 snw 1: #
1.8 ! snw 2: # $Id: Makefile.am,v 1.7 2025/03/31 16:33:56 snw Exp $
1.1 snw 3: # automake rules for main body of FreeM source code
4: #
5: #
1.4 snw 6: # Author: Serena Willis <jpw@coherent-logic.com>
1.1 snw 7: # Copyright (C) 1998 MUG Deutschland
1.5 snw 8: # Copyright (C) 2020, 2025 Coherent Logic Development LLC
1.1 snw 9: #
10: #
11: # This file is part of FreeM.
12: #
13: # FreeM is free software: you can redistribute it and/or modify
14: # it under the terms of the GNU Affero Public License as published by
15: # the Free Software Foundation, either version 3 of the License, or
16: # (at your option) any later version.
17: #
18: # FreeM is distributed in the hope that it will be useful,
19: # but WITHOUT ANY WARRANTY; without even the implied warranty of
20: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21: # GNU Affero Public License for more details.
22: #
23: # You should have received a copy of the GNU Affero Public License
24: # along with FreeM. If not, see <https://www.gnu.org/licenses/>.
25: #
1.6 snw 26: # $Log: Makefile.am,v $
1.8 ! snw 27: # Revision 1.7 2025/03/31 16:33:56 snw
! 28: # Work on fmadm edit global
! 29: #
1.7 snw 30: # Revision 1.6 2025/03/30 01:36:58 snw
31: # Make it easier to bring back fma_gedit, fix double-free in global handler, limit $CHAR to 7-bit ASCII
32: #
1.6 snw 33: # Revision 1.5 2025/03/09 19:14:24 snw
34: # First phase of REUSE compliance and header reformat
35: #
1.5 snw 36: #
37: # SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC
38: # SPDX-License-Identifier: AGPL-3.0-or-later
1.1 snw 39: #
40:
1.8 ! snw 41: AM_CFLAGS = -fsigned-char
1.1 snw 42: AM_CPPFLAGS = -DHACK_NOXLATE -DSYSCONFDIR=\"${sysconfdir}\" -DPREFIX=\"${prefix}\" -DDATADIR=\"${datadir}\" -DLOCALSTATEDIR=\"${localstatedir}\" -DHOST=\"${host_triplet}\"
43:
44: freem_headers = config.h errmsg.h events.h fmadm.h fma_globals.h fma_jobs.h \
45: fma_journals.h fma_locks.h fma_routines.h freem.h iftab.h iniconf.h \
46: init.h io_socket.h jnldefs.h journal.h libfill.h log.h mdebug.h \
47: merge.h merr.h mpsdef0.h mpsdef.h mref.h mtok.h namespace.h sighnd.h ssvn_zrpi.h \
48: transact.h version.h consttbl.h mwapi_window.h mwapi_event.h shmmgr.h locktab.h \
49: jobtab.h tp_check.h datatypes.h objects.h mcommand.h routine.h fs.h
50:
51: freem_commands = cmd_map.c cmd_unmap.c cmd_then.c cmd_throw.c cmd_const.c cmd_kvalue.c \
52: cmd_ksubscripts.c cmd_tstart.c cmd_tcommit.c cmd_trollback.c cmd_if.c \
53: cmd_using.c cmd_with.c cmd_write.c cmd_else.c cmd_read.c
54:
55: freem_common = iniconf.c sighnd.c init.c expr.c global_dispatch.c global_bltin.c mlib.c namespace.c operator.c \
56: service.c ssvn.c ssvn_character.c ssvn_device.c ssvn_display.c \
57: ssvn_event.c ssvn_global.c ssvn_job.c ssvn_library.c ssvn_lock.c ssvn_routine.c \
58: ssvn_system.c ssvn_window.c ssvn_z.c ssvn_zos.c ssvn_zprocess.c \
59: ssvn_zfile.c ssvn_zfreem.c strings.c symtab_dispatch.c symtab_bltin.c views.c xecline.c \
60: transact.c iftab.c journal.c mref.c events.c \
61: mdebug.c log.c io_socket.c merr.c mtok.c \
62: ssvn_zrpi.c consttbl.c mwapi_window.c mwapi_event.c shmmgr.c \
63: locktab.c jobtab.c tp_check.c datatypes.c objects.c ssvn_object.c \
64: mcommand.c routine.c fs.c $(freem_commands) $(freem_headers)
65:
1.7 snw 66: fmadm_common = fmadm.c fma_locks.c fma_journals.c fma_routines.c fma_globals.c fma_jobs.c fma_gedit.c
67: #fmadm_common = fmadm.c fma_locks.c fma_journals.c fma_routines.c fma_globals.c fma_jobs.c
1.1 snw 68:
69: bin_PROGRAMS = freem fmadm
70: lib_LTLIBRARIES = libfreem.la
71:
72: include_HEADERS = freem.h merr.h
73:
74: libfreem_la_SOURCES = $(freem_common) frmgbl.c
75:
76: libfreem_la_CFLAGS = $(AM_CFLAGS) $(FREEM_CFLAGS) -DLIBFREEM
77:
78: freem_SOURCES = mumps.c $(freem_common) frmgbl.c
79:
80: freem_CFLAGS = $(AM_CFLAGS) $(FREEM_CFLAGS) # @X_CFLAGS@
81:
82: fmadm_SOURCES = $(fmadm_common) $(freem_common) frmgbl.c
83:
84: fmadm_CFLAGS = $(AM_CFLAGS) $(FREEM_CFLAGS)
85:
86: # freem_LDFLAGS = @X_LIBS@
87:
1.3 snw 88: freem_LDADD = $(FREEM_LIBS)
1.1 snw 89:
1.6 snw 90: #fmadm_LDADD = $(FREEM_LIBS) @CURSES_LIB@
1.3 snw 91: fmadm_LDADD = $(FREEM_LIBS)
1.1 snw 92:
93:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>