Makefile 1.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Copyright 1998 Acorn Computers Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile for LanManFS
#

18 19 20
COMPONENT    = LanManFS
OBJS         = Xlate Transact Stats SMB RPC Printers Omni NetBIOS NBIP \
               NameCache Logon LLC LanMan CoreFn buflib Attr \
21
               Interface Auth md5c md4c MyResObj
22 23 24 25 26
CINCLUDES    = -ITCPIPLibs:,C:
HDRS         =
CMHGFILE     = Lanman_MH
CMHGDEPENDS  = LanMan LLC Logon NBIP Omni
LIBS         = ${NET4LIBS} ${ASMUTILS}
Robert Sprowson's avatar
Robert Sprowson committed
27
RES_PATH     = ThirdParty.OmniClient
28 29 30 31 32 33
CUSTOMRES    = custom
CDEFINES     = -DCOMPAT_INET4 -DLONGNAMES ${OPTIONS}
CFLAGS       = -Wp
CDFLAGS      = -DDEBUG -DDEBUGLIB -DTRACE -Dprintf=module_printf
ROMCDEFINES  = -DROM
CMHGDEFINES  = ${OPTIONS}
Robert Sprowson's avatar
Robert Sprowson committed
34 35 36
ifeq ("${CMDHELP}","None")
CMHGDEFINES += -DNO_INTERNATIONAL_HELP
endif
37 38

include CModule
39

Robert Sprowson's avatar
Robert Sprowson committed
40
#
Robert Sprowson's avatar
Robert Sprowson committed
41
# Static dependencies
Robert Sprowson's avatar
Robert Sprowson committed
42
#
43
o.MyResObj od.MyResObj: LocalRes:ROM.Sprites ${MERGEDMSGS}PP ${DIRS}
Robert Sprowson's avatar
Robert Sprowson committed
44
	${RESGEN} ${RES_AREA} $@ ${MERGEDMSGS}PP ${RES_PATH}.${TARGET}.Messages LocalRes:ROM.Sprites ${RES_PATH}.${TARGET}.Sprites 
45

Robert Sprowson's avatar
Robert Sprowson committed
46 47 48
${MERGEDMSGS}PP: LocalRes:Messages LocalRes:CmdHelp
	${MKDIR} ${MERGEDRDIR}${SEP}${TARGET}
	${FAPPEND} ${MERGEDMSGS} LocalRes:Messages LocalRes:CmdHelp
49
	${INSERTVERSION} ${MERGEDMSGS} > $@
Robert Sprowson's avatar
Robert Sprowson committed
50

51
# Dynamic dependencies: