/[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 987 - (show annotations) (download)
Fri Mar 7 16:36:17 2008 UTC (5 years, 2 months ago) by colin
File size: 2465 byte(s)
Fix use of NDEBUG and DEBUG
1 # Mixmaster version 3.0 -- (C) 1999 - 2006 Anonymizer Inc. and others.
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 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 # Set compiler options
17 # Note: Define NDEBUG to disable "assert" when not using DEBUG
18
19 OPT = -g -Wall -DNDEBUG
20 # OPT = -g -pg -Wall -DDEBUG
21 # OPT = -O2 -Wall -DNDEBUG
22
23 CFLAGS = $(INC) $(DEF) $(OPT)
24 CC = gcc
25 AR = ar rc
26 RANLIB = ranlib
27 #MAKE = make
28
29 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
30
31 MIXOBJ = rndseed.o menu.o menusend.o menunym.o menuutil.o menustats.o
32 NOMENUOBJ = rndseed.o dummy.o
33 WINOBJ = winmain.o winutil.o
34
35 all: mixmaster
36
37 mixmaster: $(OBJ) $(MIXOBJ) main.o $(LIBS)
38 $(CC) $(OBJ) $(MIXOBJ) main.o $(LIBS) $(LDFLAGS) -o mixmaster
39
40 libmix.a: $(OBJ) $(MIXOBJ) dllmain.o
41 $(AR) libmix.a $(OBJ) $(MIXOBJ) dllmain.o
42
43 libmix32.a: libmix.a mixlib.def
44 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
45
46 dllmix: main.o libmix32.a
47 $(CC) main.o libmix32.a -o dllmix
48
49 winmix.exe: $(WINOBJ) libmix32.a
50 $(CC) $(WINOBJ) libmix32.a -lgdi32 -luser32 $(LDFLAGS) -o mixmaster.exe
51
52 winmix: winmenu.res #winmix.exe
53 rsrc winmenu.res mixmaster.exe
54
55 winmenu.o: winmenu.rc winmenu.h
56 windres winmenu.rc winmenu.o
57
58 remailer: $(OBJ) $(NOMENUOBJ) remailer.o $(LIBS)
59 $(CC) $(OBJ) $(NOMENUOBJ) remailer.o $(LIBS) $(LDFLAGS) -o remailer
60
61 mpgp: $(OBJ) $(NOMENUOBJ) mpgp.o $(LIBS)
62 $(CC) $(OBJ) $(NOMENUOBJ) mpgp.o $(LIBS) $(LDFLAGS) -o mpgp
63
64 test: $(OBJ) test.o $(NOMENUOBJ) $(LIBS)
65 $(CC) $(OBJ) test.o $(NOMENUOBJ) $(LIBS) $(LDFLAGS) -o test
66
67 clean:
68 -rm -f *.o *.a *.res *~ mixmaster mix *.exe remailer test mpgp core gmon.out
69
70 allclean: clean
71 -rm -f Makefile
72
73 distclean: allclean
74
75 ci: clean
76 cd ~/src/mix3; ci -l * Mix/* Mix/Src/*; echo
77
78 parsedate.tab.c: parsedate.y
79 @echo Expect 6 shift/reduce conflicts
80 bison parsedate.y
81
82 parsedate: parsedate.tab.c
83 gcc -DTEST parsedate.tab.c -o parsedate
84
85
86 include Makefile.deps

  ViewVC Help
Powered by ViewVC 1.1.5