Makefile 1.47 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 \
Robert Sprowson's avatar
Robert Sprowson committed
21
               Interface Auth md5c md4c
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
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
33 34 35
ifeq ("${CMDHELP}","None")
CMHGDEFINES += -DNO_INTERNATIONAL_HELP
endif
Robert Sprowson's avatar
Robert Sprowson committed
36 37 38 39
# Carry our own ThirdParty resources, don't put them in the Messages module
CUSTOMRES    = custom
RESDIR       = ${MERGEDRDIR}
OBJS        += ${RES_OBJ}
Robert Sprowson's avatar
Robert Sprowson committed
40 41
INSTRES_FILES = ROM.Sprites
INSTRES_VERSION = Messages
42 43

include CModule
44 45

# Dynamic dependencies: