13 include $(PATH_TO_TOP)/config
21 TARGET_CFLAGS = $(CFLAGS_DBG) -Iinclude -Wall -Werror
23 # require os code to explicitly request A/W version of structs/functions
24 TARGET_CFLAGS += -D_DISABLE_TIDENTS
26 ROS_OBJECTS = rosglue.o i386/setjmplongjmp.o
28 TARGET_OBJECTS = objs/*.o $(ROS_OBJECTS)
30 include $(PATH_TO_TOP)/rules.mak
32 include $(TOOLS_PATH)/helper.mk
36 all: $(MK_FULLNAME) $(MK_NOSTRIPNAME)
38 objs/*.o objs/libfreetype.a:
40 @$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall" CC:=$(CC)
42 @$(MAKE) -f Makefile.freetype CFLAGS="-c -Wall -O3" CC:=$(CC)
45 # Automatic dependency tracking
46 DEP_OBJECTS := $(ROS_OBJECTS)
47 include $(PATH_TO_TOP)/tools/depend.mk
49 freetype_def: objs/libfreetype.a
50 nm objs/libfreetype.a | gawk 'BEGIN { printf "LIBRARY freetype\r\nEXPORTS\r\n"; } 3 == NF && $$2 == "T" { printf "%s\r\n", substr($$3, 2, length($$3) - 2); }' > freetype.def
55 etags $(@D)/\*.c -o $(@D)/TAGS