265
|
1 # NOTE!!
|
|
2 # The use of BLDDIR here is _BOGUS_.
|
|
3 # What really needs to happen is that we should install config.h into
|
|
4 # the architecture dependent directory when we really hash all this
|
|
5 # out.
|
|
6
|
|
7 blddir=@blddir@
|
|
8 dll_cflags=@dll_cflags@
|
|
9 dll_oflags=@dll_oflags@
|
|
10 dll_lflags=@dll_lflags@
|
|
11 dll_ld=@dll_ld@
|
|
12
|
|
13 INCLUDES=-I$(blddir)/src
|
|
14 CFLAGS=@CFLAGS@ $(INCLUDES)
|
|
15 CC=@CC@
|
|
16 RM=@RM@
|
|
17
|
|
18 TARGET=zlib
|
|
19
|
|
20 .PHONY: clean mostlyclean distclean realclean install
|
|
21
|
|
22 all: $(TARGET).ell
|
|
23
|
|
24 $(TARGET).ell: $(TARGET).o
|
|
25 $(dll_ld) $(dll_oflags) $@ $(dll_lflags) $^
|
|
26
|
|
27 install:
|
|
28 echo "Don't know how to install yet"
|
|
29
|
|
30 clean mostlyclean:
|
|
31 $(RM) *.o $(TARGET).ell
|
|
32
|
|
33 distclean: clean
|
|
34 $(RM) Makefile
|
|
35
|
|
36 realclean extraclean: distclean
|
|
37 $(RM) *~ \#*
|