📄 makefile
字号:
-12 $(ZIP) $(ZIPOPT2) < &&%
$(DOCS)\*.mdm
$(DOCS)\*.inf
$(DOCS)\*.txt
$(DOCS)\*.spb
%
zip -z $< < &&%
UUPC/extended $(VERS) documents and sample files
Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
Wonderworks. May be distributed freely if original source and documentation
files are included. Please direct all questions on UUPC/extended to
help@kew.com.
%
$(PSZIPV): $(LISTFILES:.prn=.ps) $(README)
- mkdir $:.
-12 $(ZIP) $(ZIPOPT2) < &&%
$?
%
zip -z $< < &&%
UUPC/extended $(VERS) documents in PostScript format
Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
Wonderworks. May be distributed freely if original source and documentation
files are included. Please direct all questions on UUPC/extended to
help@kew.com.
%
# *--------------------------------------------------------------------*
# * Common build *
# *--------------------------------------------------------------------*
common: $(.path.obj) $(COMMON) $(DEFFILE)
commonm:
@echo $(MAKER) -f$(MAKEFILE) -DMODEL=m common
$(MAKER) -f$(MAKEFILE) -DMODEL=m common
commonw:
$(MAKER) -f$(MAKEFILE) -DWINDOWS common
# *--------------------------------------------------------------------*
# * Link our various modules *
# *--------------------------------------------------------------------*
!if $d(__OS2__)
mail$(PSUFFIX).exe: common
$(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFS) $<
rmail$(PSUFFIX).exe: common
$(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFS) $<
uucp$(PSUFFIX).exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uuname$(PSUFFIX).exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uustat$(PSUFFIX).exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uusub$(PSUFFIX).exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uux$(PSUFFIX).exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uuxqt$(PSUFFIX).exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
fmt$(PSUFFIX).exe: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
gensig$(PSUFFIX).exe: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
novrstrk.exe: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
uupoll$(PSUFFIX).exe: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
uuport$(PSUFFIX).exe: common
$(MAKER) -f$(UUCICO)\uucico.mak -DUUPCDEFS=$(UUPCDEFS) $<
expire$(PSUFFIX).exe: common
$(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
rnews$(PSUFFIX).exe: common
$(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
uucico$(PSUFFIX).exe: common
$(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFS) $<
rn$(PSUFFIX).exe: common
$(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFS) $<
newsetup$(PSUFFIX).exe: common
$(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFM) $<
!else
mail.exe: commonm
$(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFM) $<
rmail.exe: common
$(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFS) $<
uucp.exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uuname.exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uustat.exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uusub.exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uux.exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uuxqt.exe: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uupoll.exe: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
expire.exe: common
$(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
rnews.exe: common
$(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
uucico.exe: commonm
$(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFM) $<
uuport.com: commonm
$(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFM) $<
rn.exe: commonm
$(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFM) $<
newsetup.exe: commonm
$(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFM) $<
uucp.com: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uuname.com: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uustat.com: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uusub.com: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
uux.com: common
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
comm34.com: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
fmt.com: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
gensig.com: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
novrstrk.com: common
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
# *--------------------------------------------------------------------*
# * Link our Windows modules *
# *--------------------------------------------------------------------*
mailw.exe: commonw
$(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFW) $<
rmailw.exe: commonw
$(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFW) $<
uucpw.exe: commonw
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
uunamew.exe: commonw
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
uunamew.com: commonw
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
uustatw.exe: commonw
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
uusubw.exe: commonw
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
uuxw.exe: commonw
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
uuxqtw.exe: commonw
$(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
uupollw.exe: commonw
$(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFW) $<
expirew.exe: commonw
$(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFW) $<
rnewsw.exe: commonw
$(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFW) $<
uucicow.exe: commonw
$(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFW) $<
# *--------------------------------------------------------------------*
# * WUUPCREQ.ZIP - Required Windows Executables *
# *--------------------------------------------------------------------*
$(WREQZIPV): $(WREQUIRED) $(README)
- mkdir $:.
-12 $(ZIP) $(ZIPOPT2) < &&%
$?
%
zip -z $< < &&%
UUPC/extended $(VERS) Windows 3.x executables (1 of 3)
Special thanks to Robert B. Denny for performing the Windows 3.x port.
Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
Wonderworks. May be distributed freely if original source and documentation
files are included. Please direct all questions on UUPC/extended to
help@kew.com.
%
# *--------------------------------------------------------------------*
# * WUUPCOPT.ZIP - Optional Windows Executables *
# *--------------------------------------------------------------------*
$(WOPTZIPV): $(WOPTIONAL) $(README)
- mkdir $:.
-12 $(ZIP) $(ZIPOPT2) < &&%
$?
%
zip -z $< < &&%
UUPC/extended $(VERS) Windows 3.x executables (2 of 3)
Special thanks to Robert B. Denny for performing the Windows 3.x port.
Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
Wonderworks. May be distributed freely if original source and documentation
files are included. Please direct all questions on UUPC/extended to
help@kew.com.
%
# *--------------------------------------------------------------------*
# * UUPC/extended - NEWS executables *
# *--------------------------------------------------------------------*
$(WNEWZIPV): $(WNEWS) $(README)
- mkdir $:.
-12 $(ZIP) $(ZIPOPT2) < &&%
$?
%
zip -z $< < &&%
UUPC/extended $(VERS) Windows 3.x executables (3 of 3)
Special thanks to Robert B. Denny for performing the Windows 3.x port.
Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
Wonderworks. May be distributed freely if original source and documentation
files are included. Please direct all questions on UUPC/extended to
help@kew.com.
%
!endif
$(.path.obj):
- mkdir $(.path.obj)
# *--------------------------------------------------------------------*
# * Force a regeneration of the time stamp/version module. *
# *--------------------------------------------------------------------*
regen: $(LIB)\timestmp.c
- erase $(TIMESTMP)
# *--------------------------------------------------------------------*
# * Common library build *
# *--------------------------------------------------------------------*
$(UUPCLIB): DUMMY
$(MAKER) -f $(LIB)\lib.mak -DUUPCDEFS=$(UUPCDEFS) $<
DUMMY:
@rem hello world
$(UUPCLIBW):
$(MAKER) -f $(LIB)\lib.mak -DUUPCDEFS=$(UUPCDEFW) $<
# *--------------------------------------------------------------------*
# * Live files from the Wonderworks we provide as additional *
# * examples *
# *--------------------------------------------------------------------*
$(DOCS)\active.kew: $(CONF)\active
copy $? $<
$(DOCS)\permissn.kew: $(CONF)\permissn
copy $? $<
$(DOCS)\kendra.rc: $(CONF)\uupc.rc
copy $? $<
$(DOCS)\ahd.rc: $(CONF)\ahd.rc
copy $? $<
$(DOCS)\hostpath.kew: $(CONF)\hostpath
copy $? $<
# *--------------------------------------------------------------------*
# * *Compiler Configuration File* *
# *--------------------------------------------------------------------*
!if $d(__OS2__)
OPTIMIZEOPT=-O2
!else
MODELOPT=-m$(MODEL)
OPTIMIZEOPT=-O
!if $d(WINDOWS)
GENERATEOPT=-W
CODEGENOPT=-3
!else
GENERATEOPT=-D_MSC
!endif
!endif
$(UUPCCFG): $(MAKEFILE) \
$(LIB)\lib.mak \
$(MAIL)\mail.mak \
$(UUCP)\uucp.mak \
$(UUCICO)\uucico.mak \
$(UTIL)\util.mak
copy &&|
$(GENERATEOPT)
$(WINDOWSOPT)
$(CODEGENOPT)
$(MODELOPT)
$(OPTMIZEOPT)
-c
-d
-DUUPCV="$(VERS)"
-DIOCTL
-f
-G
-I$(LIB)
-I$(BINC)
-L$(BLIB)
-n$(OBJ)
-N
-k-
-r
-v
-Z
-wpro
-wdcl
-weas
-will
-wpin
-wrvl
-wamb
-wamp
-wnod
-wstv
-wuse
-wsig
-wucp
-O2
-P-
| $<
!if $d(WINDOWS)
WINDOWSDEF = WINDOWS=1
!endif
$(UUPCDEFS): $(MAKEFILE)
copy &&|
.path.obj = $(.path.obj)
ARCHIVE = $(ARCHIVE)
BINC = $(BINC)
BLIB = $(BLIB)
BORLANDC = $(BORLANDC)
CC = $(CC)
COMMON = $(COMMON)
DOCS = $(DOCS)
DOCSLIST = $(DOCSLIST)
DOCW = $(DOCW)
DEFFILE = $(DEFFILE)
FMT = $(FMT)
INSTALL = $(INSTALL)
LIB = $(LIB)
LIBRARIES = $(LIBRARIES)
LIBRARY = $(LIBRARY)
LIBRARY2 = $(LIBRARY2)
LINKER = $(LINKER)
LINKOPTN = $(LINKOPTN)
LINKOPTD = $(LINKOPTD)
LINKOPTT = $(LINKOPTT)
MAIL = $(MAIL)
MAKEFILE = $(MAKEFILE)
MAP = $(MAP)
MODEL = $(MODEL)
NEWS = $(NEWS)
OBJ = $(OBJ)
OPTIONAL = $(OPTIONAL)
PSUFFIX = $(PSUFFIX)
REQUIRED = $(REQUIRED)
RN = $(RN)
RNEWS = $(RNEWS)
SAMPLES = $(SAMPLES)
SAMPLEX = $(SAMPLEX)
SRC = $(SRC)
STARTUP = $(STARTUP)
STARTUPT = $(STARTUPT)
SUFFIX = $(SUFFIX)
TASM = $(TASM)
TASMOPT = $(TASMOPT)
TEST = $(TEST)
TIMESTMP = $(TIMESTMP)
TMP = $(TMP)
UTIL = $(UTIL)
UUCICO = $(UUCICO)
UUCP = $(UUCP)
UUPCCFG = $(UUPCCFG)
UUPCLIB = $(UUPCLIB)
VERS = $(VERS)
WINWORD = $(WINWORD)
WORKFILE = $(WORKFILE)
$(WINDOWSDEF)
.autodepend
.silent
| $<
!if $d(WINDOWS)
$(DEFFILE): $(MAKEFILE)
copy &&|
EXETYPE WINDOWS
DATA MOVABLE MULTIPLE
STACKSIZE 8182
HEAPSIZE 12288
Description 'UUPC/extended $(VERS), Changes Copyright (c) 1989-1993 Kendra Electronic Wonderworks, All Rights Reserved'
| $<
!endif
!if $d(__OS2__)
$(DEFFILE): $(MAKEFILE)
copy &&|
DATA MULTIPLE
STACKSIZE 32760
EXETYPE OS2
Description 'UUPC/extended $(VERS), Changes Copyright (c) 1989-1993 Kendra Electronic Wonderworks, All Rights Reserved'
| $<
!endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -