mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-14 20:05:57 +00:00
Too much to list all, but includes (in no particular order): - Cleanup for 64-bit builds, MSVC warnings. - Structured help - Help file compiler. - Supports volsets, writes/create work. - Support for I18n in messages, help. - Makefiles. - Initialize volume/volset - Command line editing/history Builds and works on Linux and Windows (VS). Not recently built or tested on other platforms, but not intentinonally broken.
79 lines
1.3 KiB
Makefile
79 lines
1.3 KiB
Makefile
# -*- Makefile -*-
|
|
|
|
# Basic variable definitions for Unix & Unix-like OSs
|
|
#
|
|
# OS-specific file can redefine selectively
|
|
|
|
# Special defines, e.g.
|
|
# DEFS="-DDEBUG_RMS -DDEBUG_BUILD -D_FILE_OFFSET_BITS=32"
|
|
|
|
CCFLAGS = -O4 -g
|
|
#-O0 -g -DUSE_LIBEDIT -Wall -pedantic
|
|
# Extra warns about $ in identifiers...
|
|
# -Wextra
|
|
|
|
# Large file support
|
|
DEFS += "-D_FILE_OFFSET_BITS=64"
|
|
|
|
# Include editline support
|
|
|
|
DEFS += -DUSE_LIBEDIT
|
|
LDLIBS = -ledit -ltermcap
|
|
|
|
# Include VHD format image file support
|
|
|
|
VHDOPTS = makefile-vhd.unix
|
|
|
|
# Default language
|
|
|
|
ODS2LANG = en_us
|
|
|
|
# Object file extension
|
|
OBJ = .o
|
|
|
|
# Executable file extension
|
|
|
|
EXE =
|
|
|
|
# Delete file - must be one file spec, as VMS needs commas
|
|
|
|
DELETE = rm -f
|
|
|
|
# How to run a program
|
|
RUN = ./
|
|
|
|
# Copy a file
|
|
COPY = cp -p
|
|
|
|
# Softlink a file
|
|
LN = ln -sf
|
|
|
|
# Physical I/O module
|
|
PHYSIO = phyunix
|
|
|
|
# The top level makefile (used for recursive make)
|
|
#TOPMAKE = makefile.unix
|
|
|
|
# Files to clean
|
|
|
|
CLEANFILES = ods2$(EXE) genmsg$(EXE) makehelp$(EXE) $(OBJS) *.mt *.md *.mdf *.hlb vms_messages_*.msg ssdef.h ssdef.msg
|
|
|
|
# How to run Perl
|
|
PERL = LC_ALL="C" perl
|
|
|
|
# Name of dependencies file & how to build
|
|
DEPENDS = makefile.depends
|
|
MAKEDEPEND = makedepend
|
|
|
|
# How to run sed
|
|
SED = sed
|
|
|
|
# How to run message
|
|
|
|
MESSAGE = $(PERL) message
|
|
|
|
all:
|
|
|
|
clean:
|
|
rm -f $(CLEANFILES)
|