source: branches/help/GL/glAW/Makefile

Last change on this file was 16961, checked in by westram, 7 years ago
  • partial merge from 'fix' into 'trunk'
    • refactored AW_device text output
      • reduces calls to strlen (using SizedCstr)
      • eliminated/modernized several parameters/functions (esp. in TextOverlayCallbacks)
  • adds: log:branches/fix@16939:16960
File size: 2.7 KB
Line 
1# for variables passed from parent makefile see ../../SOURCE_TOOLS/parent_make.txt
2
3.SUFFIXES: .o .c .cxx .depend
4
5C_OBJECTS = GLwMDrawA.o
6CPP_OBJECTS = $(subst .cxx,.o,$(wildcard *.cxx))
7
8OBJECTS = $(C_OBJECTS) $(CPP_OBJECTS)
9
10EXTENDED_CPPINCLUDES = $(CXX_INCLUDES) -I$(ARBHOME)/WINDOW
11
12$(MAIN): $(OBJECTS)
13        $(LINK_STATIC_LIB) $(MAIN) $(OBJECTS)
14
15.cxx.o:
16        $(A_CXX) $(cflags) $(cxxflags) -c $< $(EXTENDED_CPPINCLUDES) $(POST_COMPILE) $<
17
18.c.o:
19        $(A_CC) $(cflags) -c $< $(CC_INCLUDES) $(POST_COMPILE) $<
20
21clean:
22        rm -f $(OBJECTS) *.a
23
24DEPENDS = $(OBJECTS:.o=.depend)
25depends: $(DEPENDS)
26        @cat $(DEPENDS) | grep -v '^#' >>Makefile
27        @rm $(DEPENDS)
28$(DEPENDS): depend.init
29depend.init:
30        $(MAKEDEPEND) $(MAKEDEPENDFLAGS) 2>/dev/null # remove dependencies
31.c.depend:
32        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $< 2>/dev/null >$@
33.cxx.depend:
34        $(MAKEDEPEND) -f- $(MAKEDEPENDFLAGS) $(EXTENDED_CPPINCLUDES) $< 2>/dev/null >$@
35
36# DO NOT DELETE
37
38# Do not add dependencies manually - use 'make depend' in $ARBHOME
39# For formatting issues see SOURCE_TOOLS/fix_depends.pl (from GL)
40
41AW_window_ogl.o: aw_window_ogl.hxx
42AW_window_ogl.o: GLwDrawA.h
43AW_window_ogl.o: GLwMDrawA.h
44AW_window_ogl.o: $(ARBHOME)/INCLUDE/ad_prot.h
45AW_window_ogl.o: $(ARBHOME)/INCLUDE/arb_assert.h
46AW_window_ogl.o: $(ARBHOME)/INCLUDE/arb_core.h
47AW_window_ogl.o: $(ARBHOME)/INCLUDE/arb_error.h
48AW_window_ogl.o: $(ARBHOME)/INCLUDE/arb_mem.h
49AW_window_ogl.o: $(ARBHOME)/INCLUDE/arb_msg.h
50AW_window_ogl.o: $(ARBHOME)/INCLUDE/arb_string.h
51AW_window_ogl.o: $(ARBHOME)/INCLUDE/arbdb.h
52AW_window_ogl.o: $(ARBHOME)/INCLUDE/arbdb_base.h
53AW_window_ogl.o: $(ARBHOME)/INCLUDE/arbtools.h
54AW_window_ogl.o: $(ARBHOME)/INCLUDE/attributes.h
55AW_window_ogl.o: $(ARBHOME)/INCLUDE/aw_base.hxx
56AW_window_ogl.o: $(ARBHOME)/INCLUDE/aw_device.hxx
57AW_window_ogl.o: $(ARBHOME)/INCLUDE/aw_font_limits.hxx
58AW_window_ogl.o: $(ARBHOME)/INCLUDE/aw_keysym.hxx
59AW_window_ogl.o: $(ARBHOME)/INCLUDE/aw_position.hxx
60AW_window_ogl.o: $(ARBHOME)/INCLUDE/aw_root.hxx
61AW_window_ogl.o: $(ARBHOME)/INCLUDE/aw_window.hxx
62AW_window_ogl.o: $(ARBHOME)/INCLUDE/cb.h
63AW_window_ogl.o: $(ARBHOME)/INCLUDE/cb_base.h
64AW_window_ogl.o: $(ARBHOME)/INCLUDE/cbtypes.h
65AW_window_ogl.o: $(ARBHOME)/INCLUDE/cxxforward.h
66AW_window_ogl.o: $(ARBHOME)/INCLUDE/dupstr.h
67AW_window_ogl.o: $(ARBHOME)/INCLUDE/gccver.h
68AW_window_ogl.o: $(ARBHOME)/INCLUDE/sized_cstr.h
69AW_window_ogl.o: $(ARBHOME)/INCLUDE/smartptr.h
70AW_window_ogl.o: $(ARBHOME)/INCLUDE/static_assert.h
71AW_window_ogl.o: $(ARBHOME)/INCLUDE/test_global.h
72AW_window_ogl.o: $(ARBHOME)/INCLUDE/ttypes.h
73AW_window_ogl.o: $(ARBHOME)/WINDOW/aw_scalar.hxx
74AW_window_ogl.o: $(ARBHOME)/WINDOW/aw_window_Xm.hxx
75
76GLwMDrawA.o: GLwDrawA.c
77GLwMDrawA.o: GLwDrawA.h
78GLwMDrawA.o: GLwDrawAP.h
79GLwMDrawA.o: GLwMDrawA.h
80GLwMDrawA.o: GLwMDrawAP.h
Note: See TracBrowser for help on using the repository browser.