/[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 698 - (hide annotations) (download)
Sat Jan 17 01:13:05 2004 UTC (9 years, 4 months ago) by weasel
File size: 2348 byte(s)
The binary is called mixmaster, so let the mixmaster target build mixmaster
1 rabbi 690 # Mixmaster version 3.0 -- (C) 1999 - 2004 Anonymizer Inc. and others.
2 rabbi 685
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 690 # $Id: Makefile.in 647 2003-10-25 23:34:13Z weasel $
9 rabbi 685
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 weasel 698 all: mixmaster
33 rabbi 685
34 weasel 698 mixmaster: $(OBJ) $(MIXOBJ) main.o $(LIBS)
35 rabbi 689 $(CC) $(OBJ) $(MIXOBJ) main.o $(LIBS) $(LDFLAGS) -o mixmaster
36 rabbi 685
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 rabbi 689 $(CC) $(WINOBJ) libmix32.a -lgdi32 -luser32 $(LDFLAGS) -o mixmaster.exe
48 rabbi 685
49     winmix: winmenu.res #winmix.exe
50 rabbi 689 rsrc winmenu.res mixmaster.exe
51 rabbi 685
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 rabbi 690 mpgp: $(OBJ) $(NOMENUOBJ) mpgp.o $(LIBS)
59     $(CC) $(OBJ) $(NOMENUOBJ) mpgp.o $(LIBS) $(LDFLAGS) -o mpgp
60 rabbi 685
61     test: $(OBJ) test.o $(NOMENUOBJ) $(LIBS)
62     $(CC) $(OBJ) test.o $(NOMENUOBJ) $(LIBS) $(LDFLAGS) -o test
63    
64     clean:
65 rabbi 689 -rm -f *.o *.a *.res *~ mixmaster mix *.exe remailer test mpgp core gmon.out
66 rabbi 685
67     allclean: clean
68     -rm -f Makefile
69    
70 rabbi 690 distclean: allclean
71    
72 rabbi 685 ci: clean
73 rabbi 690 cd ~/src/mix3; ci -l * Mix/* Mix/Src/*; echo
74 rabbi 685
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