1# Win32 Makefile for regutil 2# this makefile works with the microsoft visual c compiler 3# you are meant to copy Makefile.nt to the name Makefile, and 4# then type `make dist' to get an optimised version of the library 5 6# The contents of this file are subject to the Mozilla Public License 7# Version 1.0 (the "License"); you may not use this file except in 8# compliance with the License. You may obtain a copy of the License at 9# http://www.mozilla.org/MPL/ 10 11# Software distributed under the License is distributed on an "AS IS" 12# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 13# License for the specific language governing rights and limitations 14# under the License. 15 16# The Original Code is regutil. 17 18# The Initial Developer of the Original Code is Patrick TJ McPhee. 19# Portions created by Patrick McPhee are Copyright � 1998, 2001 20# Patrick TJ McPhee. All Rights Reserved. 21 22# Contributors: 23 24# $Header: C:/ptjm/rexx/regutil/RCS/Makefile.nt 1.13 2003/03/13 18:21:17 ptjm Rel $ 25 26DEBUG=-Zi 27DOPT=-Ox -G5 28INCDIR=../regina 29LIBDIR=..\regina 30CDEFS=-DNOT_LIKE_IBM -DMAPVIEWOFFILE 31CFLAGS=$(OPT) $(DEBUG) $(CDEFS) -nologo -GF -I$(INCDIR) -MD 32LDFLAGS=-LD $(OPT) $(DEBUG) -MD 33CC=cl 34 35OBJS=regfilesys.obj regini.obj regmacrospace.obj regscreen.obj\ 36 regsem.obj regutil.obj rxsupport.obj random.obj regstem.obj regwin.obj\ 37 regunicode.obj regcrypt.obj 38 39 40rexxutil.dll : $(OBJS) regutil.def 41 $(CC) $(CFLAGS) $(LDFLAGS) -Ferexxutil.dll $(OBJS) -link /def:regutil.def kernel32.lib advapi32.lib $(LIBDIR)\regina.lib ole32.lib oleaut32.lib uuid.lib user32.lib 42 43regfilesys.obj : regfilesys.c regutil.h rxproto.h 44regini.obj : regini.c regutil.h rxproto.h 45regmacrospace.obj : regmacrospace.c regutil.h rxproto.h 46regscreen.obj : regscreen.c regutil.h rxproto.h 47regsem.obj : regsem.c regutil.h rxproto.h 48regsysparm.obj : regsysparm.c regutil.h rxproto.h 49regutil.obj : regutil.c regutil.h rxproto.h 50rxsupport.obj : rxsupport.c rxproto.h 51 52dist: 53 $(MAKE) $(MAKEFLAGS) OPT="$(DOPT)" DEBUG="" 54 55 56clean: 57 del /f *.obj *.pdb *.lib *.dll *.exp *.ilk 58