/[pkg-mixmaster]/trunk/Mix/Src/Makefile.in
ViewVC logotype

Contents of /trunk/Mix/Src/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 77 - (hide annotations) (download)
Mon Jul 8 17:41:36 2002 UTC (10 years, 10 months ago) by rabbi
File size: 2107 byte(s)
Replaced zlib 1.1.3 with zlib 1.1.4 because of a security problem.
See http://www.gzip.org/zlib/advisory-2002-03-11.txt for details.
1 rabbi 1 # Mixmaster version 3 -- (C) 1999 Anonymizer Inc.
2    
3     # Mixmaster may be redistributed and modified under certain conditions.
4     # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
5     # ANY KIND, either express or implied. See the file COPYRIGHT for
6     # details.
7    
8 rabbi 77 # $Id: Makefile.in,v 1.2 2002/07/08 17:29:10 rabbi Exp $
9 rabbi 1
10     # Edit according to the libraries you want to use:
11     INC = %INC
12     DEF = %DEF -DUSE_SOCK %MIXDIR -DPASSPHRASE='"$(PASS)"'
13     LIBS = %LIBS
14     LDFLAGS = %LDFLAGS
15    
16     OPT = -g -Wall
17     # OPT = -g -pg -Wall -DDEBUG
18     # OPT = -O2 -Wall
19    
20     CFLAGS = $(INC) $(DEF) $(OPT)
21     CC = gcc
22     AR = ar rc
23     RANLIB = ranlib
24     #MAKE = make
25    
26     OBJ = mix.o rem.o rem1.o rem2.o rem3.o chain.o chain1.o chain2.o chain3.o nym.o pgp.o pgpdb.o pgpdata.o pgpget.o pgpcreat.o pool.o mail.o rfc822.o mime.o keymgt.o compress.o stats.o crypto.o random.o util.o buffers.o
27    
28     MIXOBJ = rndseed.o menu.o menusend.o menunym.o menuutil.o
29     NOMENUOBJ = rndseed.o dummy.o
30     WINOBJ = winmain.o winutil.o
31    
32     all: mix
33    
34     mix: $(OBJ) $(MIXOBJ) main.o $(LIBS)
35     $(CC) $(OBJ) $(MIXOBJ) main.o $(LIBS) $(LDFLAGS) -o mix
36    
37     libmix.a: $(OBJ) $(MIXOBJ) dllmain.o
38     $(AR) libmix.a $(OBJ) $(MIXOBJ) dllmain.o
39    
40     libmix32.a: libmix.a mixlib.def
41 rabbi 77 dllwrap --dllname mixlib.dll --def mixlib.def --output-lib libmix32.a libmix.a zlib-1.1.4/libz.a pcre-2.08/libpcre.a openssl/libeay32.a -lwsock32
42 rabbi 1
43     dllmix: main.o libmix32.a
44     $(CC) main.o libmix32.a -o dllmix
45    
46     winmix.exe: $(WINOBJ) libmix32.a
47     $(CC) $(WINOBJ) libmix32.a -lgdi32 -luser32 $(LDFLAGS) -o mix.exe
48    
49     winmix: winmenu.res #winmix.exe
50     rsrc winmenu.res mix.exe
51    
52     winmenu.o: winmenu.rc winmenu.h
53     windres winmenu.rc winmenu.o
54    
55     remailer: $(OBJ) $(NOMENUOBJ) remailer.o $(LIBS)
56     $(CC) $(OBJ) $(NOMENUOBJ) remailer.o $(LIBS) $(LDFLAGS) -o remailer
57    
58     mpgp: $(OBJ) $(NOMENUOBJ) pgptest.o $(LIBS)
59     $(CC) $(OBJ) $(NOMENUOBJ) pgptest.o $(LIBS) $(LDFLAGS) -o mpgp
60    
61     test: $(OBJ) test.o $(NOMENUOBJ) $(LIBS)
62     $(CC) $(OBJ) test.o $(NOMENUOBJ) $(LIBS) $(LDFLAGS) -o test
63    
64     clean:
65     -rm -f *.o *.a *.res *~ mix *.exe remailer test mpgp core gmon.out
66    
67     allclean: clean
68     -rm -f Makefile
69    
70     ci: clean
71     cd ~/mix3; ci -l * Mix/* Mix/Src/*; echo
72    

  ViewVC Help
Powered by ViewVC 1.1.5