* NTLM authentication support with the ntlm library, in Unix systems.
[alpine.git] / pith / makefile.wnt
blob4e5b33f48cbfd2dde4f4ff972ead0e9f959b2a72
1 # $Id: makefile.wnt 14098 2005-10-03 18:54:13Z jpf@u.washington.edu $
3 # ========================================================================
4 # Copyright 2013-2017 Eduardo Chappa
5 # Copyright 2006-2007 University of Washington
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 #     http://www.apache.org/licenses/LICENSE-2.0
13 # ========================================================================
17 # Makefile for WIN NT version of the libpith.lib
20 CC=cl
21 RM=del
22 CP=copy 
23 RC=rc
25 #includes symbol info for debugging 
26 CDEBUG= #-Zi -Od
27 LDEBUG= /DEBUG /DEBUGTYPE:CV
29 STDCFLAGS= -I..\include -I..\regex -nologo -MT -DWIN32 -DDOS -D_WINDOWS -DMSC_MALLOC
31 CFLAGS= $(CDEBUG) $(STDCFLAGS) $(NET) $(EXTRACFLAGS)
33 LFLAGS= $(LDEBUG) $(EXTRALDFLAGS)
35 RCFLAGS =
37 LIBER=lib
38 LIBARGS=/nologo /verbose
40 HFILES= ../include/system.h ../include/general.h \
41         abdlc.h ablookup.h addrbook.h addrstring.h adjtime.h adrbklib.h atttype.h \
42         bitmap.h bldaddr.h busy.h charset.h color.h conf.h conftype.h context.h \
43         copyaddr.h debug.h detach.h detoken.h editorial.h escapes.h filter.h filttype.h \
44         flag.h folder.h foldertype.h handle.h headers.h help.h helptext.h hist.h icache.h imap.h indxtype.h \
45         init.h keyword.h ldap.h list.h mailcap.h mailcmd.h mailindx.h maillist.h \
46         mailpart.h mailview.h margin.h mimedesc.h mimetype.h msgno.h newmail.h news.h \
47         options.h pattern.h pineelt.h pipe.h readfile.h remote.h remtype.h repltype.h reply.h \
48         rfc2231.h save.h savetype.h search.h send.h sequence.h signal.h sort.h sorttype.h \
49         state.h status.h store.h stream.h string.h strlst.h takeaddr.h tempfile.h text.h \
50         thread.h url.h user.h util.h
52 OFILES= ablookup.obj abdlc.obj addrbook.obj addrstring.obj adrbklib.obj bldaddr.obj charset.obj \
53         color.obj conf.obj context.obj copyaddr.obj detoken.obj detach.obj editorial.obj escapes.obj \
54         filter.obj flag.obj folder.obj handle.obj help.obj helptext.obj hist.obj icache.obj imap.obj init.obj \
55         keyword.obj ldap.obj list.obj mailcap.obj mailcmd.obj mailindx.obj maillist.obj mailview.obj \
56         margin.obj mimedesc.obj mimetype.obj msgno.obj newmail.obj news.obj pattern.obj pipe.obj \
57         readfile.obj remote.obj reply.obj rfc2231.obj save.obj search.obj sequence.obj send.obj sort.obj state.obj \
58         status.obj store.obj stream.obj string.obj strlst.obj takeaddr.obj tempfile.obj text.obj \
59         thread.obj adjtime.obj url.obj util.obj
61 all:            libpith.lib
63 helptext.h:     help_h_gen.exe pine.hlp
64                 help_h_gen.exe < pine.hlp > helptext.h
66 helptext.c:     help_c_gen.exe pine.hlp
67                 help_c_gen.exe < pine.hlp > helptext.c
69 help_h_gen.exe:
70         $(CC) /c $(CFLAGS) help_h_gen.c
71         link /subsystem:console /out:help_h_gen.exe $(LFLAGS) help_h_gen.obj
73 help_c_gen.exe:
74         $(CC) /c $(CFLAGS) help_c_gen.c
75         link /subsystem:console /out:help_c_gen.exe $(LFLAGS) help_c_gen.obj
77 .c.obj:
78         $(CC) -c $(CFLAGS) "$(MAKEDIR)"\$*.c
80 $(OFILES):      $(HFILES)
82 libpith.lib:    $(OFILES)
83                 $(RM) libpith.lib || rem
84                 $(LIBER) /out:libpith.lib $(OFILES)
86 clean:
87         $(RM) *.lib
88         $(RM) *.obj
89         $(RM) helptext.h helptext.c help_h_gen.exe help_c_gen.exe