/[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 689 - (hide annotations) (download)
Sun Dec 21 05:33:28 2003 UTC (9 years, 5 months ago) by rabbi
File size: 2315 byte(s)
Now supports AES if OpenSSL 0.9.7 through 0.9.7c are detected. (Prompts for support decision if unknown version is used.)

The Mixmaster binary is now called "mixmaster" instead of "mix".

1 rabbi 685 # 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     # $Id: Makefile-sh.in 647 2003-10-25 23:34:13Z weasel $
9    
10     # Edit according to the libraries you want to use:
11     INC = %INC
12     DEF = %DEF -DUSE_SOCK %MIXDIR
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 chain.o chain1.o chain2.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 maildir.o parsedate.tab.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 rabbi 689 mixmaster: mix
35    
36 rabbi 685 mix: $(OBJ) $(MIXOBJ) main.o $(LIBS)
37 rabbi 689 $(CC) $(OBJ) $(MIXOBJ) main.o $(LIBS) $(LDFLAGS) -o mixmaster
38 rabbi 685
39     libmix.a: $(OBJ) $(MIXOBJ) dllmain.o
40     $(AR) libmix.a $(OBJ) $(MIXOBJ) dllmain.o
41    
42     libmix32.a: libmix.a mixlib.def
43     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
44    
45     dllmix: main.o libmix32.a
46     $(CC) main.o libmix32.a -o dllmix
47    
48     winmix.exe: $(WINOBJ) libmix32.a
49 rabbi 689 $(CC) $(WINOBJ) libmix32.a -lgdi32 -luser32 $(LDFLAGS) -o mixmaster.exe
50 rabbi 685
51     winmix: winmenu.res #winmix.exe
52 rabbi 689 rsrc winmenu.res mixmaster.exe
53 rabbi 685
54     winmenu.o: winmenu.rc winmenu.h
55     windres winmenu.rc winmenu.o
56    
57     remailer: $(OBJ) $(NOMENUOBJ) remailer.o $(LIBS)
58     $(CC) $(OBJ) $(NOMENUOBJ) remailer.o $(LIBS) $(LDFLAGS) -o remailer
59    
60     mpgp: $(OBJ) $(NOMENUOBJ) pgptest.o $(LIBS)
61     $(CC) $(OBJ) $(NOMENUOBJ) pgptest.o $(LIBS) $(LDFLAGS) -o mpgp
62    
63     test: $(OBJ) test.o $(NOMENUOBJ) $(LIBS)
64     $(CC) $(OBJ) test.o $(NOMENUOBJ) $(LIBS) $(LDFLAGS) -o test
65    
66     clean:
67 rabbi 689 -rm -f *.o *.a *.res *~ mixmaster mix *.exe remailer test mpgp core gmon.out
68 rabbi 685
69     allclean: clean
70     -rm -f Makefile
71    
72     ci: clean
73     cd ~/mix3; ci -l * Mix/* Mix/Src/*; echo
74    
75     parsedate.tab.c: parsedate.y
76     @echo Expect 6 shift/reduce conflicts
77     bison parsedate.y
78    
79     parsedate: parsedate.tab.c
80     gcc -DTEST parsedate.tab.c -o parsedate
81    
82    
83     include Makefile.deps

  ViewVC Help
Powered by ViewVC 1.1.5