/[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 102 - (show annotations) (download)
Wed Jul 24 07:48:50 2002 UTC (10 years, 10 months ago) by rabbi
File size: 2131 byte(s)
We have changed the compile-time option PASSPHRASE to be named
COMPILEDPASS. We have changed the configuration file option PASS_PHRASE to
be named PASSPHRASE. We have added documentation for the new configuration
file option and made changes in the man page to reflect the name change.

This was done to avoid confusion due to the similarity in names of the
options.
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 # $Id: Makefile.in,v 1.4 2002/07/24 07:48:50 rabbi Exp $
9
10 # Edit according to the libraries you want to use:
11 INC = %INC
12 DEF = %DEF -DUSE_SOCK %MIXDIR -DCOMPILEDPASS='"$(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 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
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
73 include Makefile.deps

  ViewVC Help
Powered by ViewVC 1.1.5