Debian Codegraph @

src/Makefile

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