1 # $Id: makefile.wnt 14098 2005-10-03 18:54:13Z jpf@u.washington.edu $
3 # ========================================================================
4 # Copyright 2006-2007 University of Washington
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # ========================================================================
16 # Makefile for WIN NT version of the libpith.lib
24 #includes symbol info for debugging
26 LDEBUG= /DEBUG /DEBUGTYPE:CV
28 STDCFLAGS= -I..\include -I..\regex -nologo -MT -DWIN32 -DDOS -D_WINDOWS -DMSC_MALLOC
30 CFLAGS= $(CDEBUG) $(STDCFLAGS) $(NET) $(EXTRACFLAGS)
32 LFLAGS= $(LDEBUG) $(EXTRALDFLAGS)
37 LIBARGS=/nologo /verbose
39 HFILES= ../include/system.h ../include/general.h \
40 abdlc.h ablookup.h addrbook.h addrstring.h adjtime.h adrbklib.h atttype.h \
41 bitmap.h bldaddr.h busy.h charset.h color.h conf.h conftype.h context.h \
42 copyaddr.h debug.h detach.h detoken.h editorial.h escapes.h filter.h filttype.h \
43 flag.h folder.h foldertype.h handle.h headers.h help.h helptext.h hist.h icache.h imap.h indxtype.h \
44 init.h keyword.h ldap.h list.h mailcap.h mailcmd.h mailindx.h maillist.h \
45 mailpart.h mailview.h margin.h mimedesc.h mimetype.h msgno.h newmail.h news.h \
46 options.h pattern.h pineelt.h pipe.h readfile.h remote.h remtype.h repltype.h reply.h \
47 rfc2231.h rules.h save.h savetype.h search.h send.h sequence.h signal.h sort.h sorttype.h \
48 state.h status.h store.h stream.h string.h strlst.h takeaddr.h tempfile.h text.h \
49 thread.h url.h user.h util.h
51 OFILES= ablookup.obj abdlc.obj addrbook.obj addrstring.obj adrbklib.obj bldaddr.obj charset.obj \
52 color.obj conf.obj context.obj copyaddr.obj detoken.obj detach.obj editorial.obj escapes.obj \
53 filter.obj flag.obj folder.obj handle.obj help.obj helptext.obj hist.obj icache.obj imap.obj init.obj \
54 keyword.obj ldap.obj list.obj mailcap.obj mailcmd.obj mailindx.obj maillist.obj mailview.obj \
55 margin.obj mimedesc.obj mimetype.obj msgno.obj newmail.obj news.obj pattern.obj pipe.obj \
56 readfile.obj remote.obj reply.obj rfc2231.obj rules.obj save.obj search.obj sequence.obj send.obj sort.obj state.obj \
57 status.obj store.obj stream.obj string.obj strlst.obj takeaddr.obj tempfile.obj text.obj \
58 thread.obj adjtime.obj url.obj util.obj
62 helptext.h: help_h_gen.exe pine.hlp
63 help_h_gen.exe < pine.hlp > helptext.h
65 helptext.c: help_c_gen.exe pine.hlp
66 help_c_gen.exe < pine.hlp > helptext.c
69 $(CC) /c $(CFLAGS) help_h_gen.c
70 link /subsystem:console /out:help_h_gen.exe $(LFLAGS) help_h_gen.obj
73 $(CC) /c $(CFLAGS) help_c_gen.c
74 link /subsystem:console /out:help_c_gen.exe $(LFLAGS) help_c_gen.obj
77 $(CC) -c $(CFLAGS) "$(MAKEDIR)"\$*.c
81 libpith.lib: $(OFILES)
82 $(RM) libpith.lib || rem
83 $(LIBER) /out:libpith.lib $(OFILES)
88 $(RM) helptext.h helptext.c help_h_gen.exe help_c_gen.exe