~ubuntu-branches/ubuntu/precise/p7zip/precise-security

1 by Mohammed Adnène Trojette
Import upstream version 4.20
1
MY_HOME=../../../myWindows
2
3
RM=rm -f
4
CFLAGS=-c \
5
-I../../../myWindows \
6
-I../../../ \
7
-I../../../include_windows
8
9
DFLAGS=-MM \
1.1.1 by Mohammed Adnène Trojette
Import upstream version 4.30.dfsg
10
-I../../../myWindows \
11
-I../../../ \
12
-I../../../include_windows
13
1.1.5 by Mohammed Adnène Trojette
Import upstream version 4.45~dfsg.1
14
all:$(PROG)
1 by Mohammed Adnène Trojette
Import upstream version 4.20
15
16
$(PROG): $(OBJS) $(MY_WINDOWS)
17
	$(CXX) $(LOCAL_SHARED) -o $(PROG) $(LDFLAGS) $(OBJS) $(MY_WINDOWS) $(LIBS)
18
19
include makefile.list
20
include makefile.depend
1.1.1 by Mohammed Adnène Trojette
Import upstream version 4.30.dfsg
21
22
depend:
23
	rm -f makefile.depend
24
	$(CXX) $(DFLAGS) $(SRCS) > makefile.depend
25
1 by Mohammed Adnène Trojette
Import upstream version 4.20
26
clean:
27
	-@$(RM) $(PROG) $(PROG).exe *.o *~ .*.swp *.orig $(PROGS)
1.1.1 by Mohammed Adnène Trojette
Import upstream version 4.30.dfsg
28
	-@$(RM) -r SunWS_cache/ 
29
	-@$(RM) -r .inslog2 pchdir/ tca.map
30
	-@$(RM) make.log tags
1.1.5 by Mohammed Adnène Trojette
Import upstream version 4.45~dfsg.1
31
1 by Mohammed Adnène Trojette
Import upstream version 4.20
32
# CRC32, C version
1.1.6 by Mohammed Adnène Trojette
Import upstream version 4.47~dfsg.1
33
7zCrc.o : ../../../../C/7zCrc.c
34
	$(CC) $(CFLAGS) ../../../../C/7zCrc.c
35
36
# CRC32, ASM version
37
7zCrcT8.o : ../../../../C/7zCrcT8.c
38
	$(CC) $(CFLAGS) ../../../../C/7zCrcT8.c
39
40
7zCrcT8U.o : ../../../../Asm/$(CPU)/7zCrcT8U.asm
41
	$(ASM) ../../../../Asm/$(CPU)/7zCrcT8U.asm -o 7zCrcT8U.o
42