Debian Codegraph @

src/Makefile

raw ◀ ▶
2 Debian patches touch this file
•1 PLATFORM=$(shell uname)
2 ifeq (GNU/kFreeBSD,$(PLATFORM))
3 PLATFORM=Linux
4 endif
5
•6 ifeq (GNU,$(PLATFORM))
7 PLATFORM=Linux
8 endif
9
10 include ../Makefile.in.$(PLATFORM)
11
12 CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./
13
14 SRC_CXX=\
15 agg_arc.cpp \
16 agg_arrowhead.cpp \
17 agg_bezier_arc.cpp \
18 agg_bspline.cpp \
19 agg_color_rgba.cpp \
20 agg_curves.cpp \
21 agg_vcgen_contour.cpp \
22 agg_vcgen_dash.cpp \
23 agg_vcgen_markers_term.cpp \
24 agg_vcgen_smooth_poly1.cpp \
25 agg_vcgen_stroke.cpp \
26 agg_vcgen_bspline.cpp \
27 agg_gsv_text.cpp \
28 agg_image_filters.cpp \
29 agg_line_aa_basics.cpp \
30 agg_line_profile_aa.cpp \
31 agg_rounded_rect.cpp \
32 agg_sqrt_tables.cpp \
33 agg_embedded_raster_fonts.cpp \
34 agg_trans_affine.cpp \
35 agg_trans_warp_magnifier.cpp \
36 agg_trans_single_path.cpp \
37 agg_trans_double_path.cpp \
38 agg_vpgen_clip_polygon.cpp \
39 agg_vpgen_clip_polyline.cpp \
40 agg_vpgen_segmentator.cpp \
41 ctrl/agg_cbox_ctrl.cpp \
42 ctrl/agg_gamma_ctrl.cpp \
43 ctrl/agg_gamma_spline.cpp \
44 ctrl/agg_rbox_ctrl.cpp \
45 ctrl/agg_slider_ctrl.cpp \
46 ctrl/agg_spline_ctrl.cpp \
47 ctrl/agg_scale_ctrl.cpp \
48 ctrl/agg_polygon_ctrl.cpp \
49 ctrl/agg_bezier_ctrl.cpp
50
51 SRC_C=\
52 ../gpc/gpc.c
53
54
55 OBJ=$(SRC_CXX:.cpp=.o) $(SRC_C:.c=.o)
56
57 all: $(OBJ)
58 $(LIB) libagg.a $(OBJ)
59
60 clean:
61 rm -f *.o *.a ctrl/*.o ../gpc/*.o
62 rm -rf SunWS_cache
63 rm -rf ctrl/SunWS_cache
64
65 %.o: %.cpp
66 $(CXX) -c $(CXXFLAGS) $*.cpp -o $@
67
68 %.o: %.c
69 $(C) -c $(CXXFLAGS) $*.c -o $@