1 # $Id: makefile.wnt 14098 2005-10-03 18:54:13Z jpf@u.washington.edu $
3 # ========================================================================
4 # Copyright 2013-2021 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
25 #includes symbol info for debugging
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)
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 body.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 \
45 ical.h icaltype.h icache.h imap.h indxtype.h \
46 init.h keyword.h ldap.h list.h mailcap.h mailcmd.h mailindx.h maillist.h \
47 mailpart.h mailview.h margin.h mimedesc.h mimetype.h msgno.h newmail.h news.h \
48 options.h pattern.h pineelt.h pipe.h readfile.h remote.h remtype.h repltype.h reply.h \
49 rfc2231.h save.h savetype.h search.h send.h sequence.h signal.h smime.h smkeys.h sort.h sorttype.h \
50 state.h status.h store.h stream.h string.h strlst.h takeaddr.h tempfile.h text.h \
51 thread.h url.h user.h util.h
53 OFILES= ablookup.obj abdlc.obj addrbook.obj addrstring.obj adrbklib.obj bldaddr.obj body.obj charset.obj \
54 color.obj conf.obj context.obj copyaddr.obj detoken.obj detach.obj editorial.obj escapes.obj \
55 filter.obj flag.obj folder.obj handle.obj help.obj helptext.obj hist.obj icache.obj \
56 ical.obj imap.obj init.obj \
57 keyword.obj ldap.obj list.obj mailcap.obj mailcmd.obj mailindx.obj maillist.obj mailview.obj \
58 margin.obj mimedesc.obj mimetype.obj msgno.obj newmail.obj news.obj pattern.obj pipe.obj \
59 readfile.obj remote.obj reply.obj rfc2231.obj save.obj search.obj sequence.obj send.obj \
60 smime.obj smkeys.obj sort.obj state.obj status.obj store.obj stream.obj string.obj strlst.obj \
61 takeaddr.obj tempfile.obj text.obj thread.obj adjtime.obj url.obj util.obj
65 helptext.h: help_h_gen.exe pine.hlp
66 help_h_gen.exe < pine.hlp > helptext.h
68 helptext.c: help_c_gen.exe pine.hlp
69 help_c_gen.exe < pine.hlp > helptext.c
72 $(CC) /c $(CFLAGS) help_h_gen.c
73 link /subsystem:console /out:help_h_gen.exe $(LFLAGS) help_h_gen.obj
76 $(CC) /c $(CFLAGS) help_c_gen.c
77 link /subsystem:console /out:help_c_gen.exe $(LFLAGS) help_c_gen.obj
80 $(CC) -c $(CFLAGS) "$(MAKEDIR)"\$*.c
84 libpith.lib: $(OFILES)
85 $(RM) libpith.lib || rem
86 $(LIBER) /out:libpith.lib $(OFILES)
91 $(RM) helptext.h helptext.c help_h_gen.exe help_c_gen.exe