Makefile.in (2360B)
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 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 menustats.o 29 NOMENUOBJ = rndseed.o dummy.o 30 WINOBJ = winmain.o winutil.o 31 32 all: mixmaster 33 34 mixmaster: $(OBJ) $(MIXOBJ) main.o $(LIBS) 35 $(CC) $(OBJ) $(MIXOBJ) main.o $(LIBS) $(LDFLAGS) -o mixmaster 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 mixmaster.exe 48 49 winmix: winmenu.res #winmix.exe 50 rsrc winmenu.res mixmaster.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) mpgp.o $(LIBS) 59 $(CC) $(OBJ) $(NOMENUOBJ) mpgp.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 *~ mixmaster mix *.exe remailer test mpgp core gmon.out 66 67 allclean: clean 68 -rm -f Makefile 69 70 distclean: allclean 71 72 ci: clean 73 cd ~/src/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