~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to gdchart0.94c/Makefile.mingw

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CC = gcc
2
 
GDC_INCL = .
3
 
GD_INCL  = gd-1.8.3
4
 
GD_LIB   = gd-1.8.3
5
 
 
6
 
SHELL = c:/scott/bin/sh.exe
7
 
AR=ar
8
 
CFLAGS = -g
9
 
RANLIB = ranlib
10
 
 
11
 
all: libgdchart.a $(GD_LIB)/libgd.a
12
 
 
13
 
# --- compile the lib ---
14
 
price_conv.o: price_conv.c
15
 
        $(CC) -g -c price_conv.c
16
 
 
17
 
gdc.o: gdc.c gdc.h
18
 
        $(CC) -I$(GD_INCL) -I$(GDC_INCL) -g -c gdc.c
19
 
 
20
 
gdc_pie.o: $(GDC_INCL)/gdc.h $(GDC_INCL)/gdcpie.h gdc_pie.c
21
 
        $(CC) -I$(GD_INCL) -I$(GDC_INCL) -g -c gdc_pie.c
22
 
 
23
 
gdchart.o: $(GDC_INCL)/gdc.h $(GDC_INCL)/gdchart.h gdchart.c
24
 
        $(CC) -I$(GD_INCL) -I$(GDC_INCL) -g -c gdchart.c
25
 
 
26
 
$(GD_LIB)/libgd.a:
27
 
        cd $(GD_LIB) ; $(MAKE) -f Makefile libgd.a
28
 
        /bin/rm -f $(GD_LIB)/libpng-1.0.8/*.so*
29
 
 
30
 
libgdchart.a: gdc.o gdc_pie.o gdchart.o price_conv.o
31
 
        rm -f libgdchart.a
32
 
        $(AR) rc libgdchart.a gdc.o gdc_pie.o gdchart.o price_conv.o
33
 
        $(RANLIB) libgdchart.a
34
 
 
35
 
install:
36
 
 
37
 
# --- clean ---
38
 
clean:
39
 
        rm -f *.o gdc_samp1 gdc_samp2 gdc_pie_samp
40
 
        cd $(GD_LIB) ; $(MAKE) -f Makefile clean
41
 
 
42
 
distclean: clean