11 include $(PATH_TO_TOP
)/config
19 TARGET_CFLAGS
= $(CFLAGS_DBG
) -Iinclude
-Wall
-Werror
21 # require os code to explicitly request A/W version of structs/functions
22 TARGET_CFLAGS
+= -D_DISABLE_TIDENTS
24 ROS_OBJECTS
= rosglue.o i386
/setjmplongjmp.o
26 TARGET_OBJECTS
= objs
/*.o
$(ROS_OBJECTS
)
28 TARGET_CLEAN
= objs
/libfreetype.a
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 -fno-strict-aliasing" CC
:=$(CC
)
42 @
$(MAKE
) -f Makefile.freetype CFLAGS
="-c -Wall -O3 -fno-strict-aliasing" 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