1 # $Id: Makefile,v 1.11 2004/08/20 15:19:38 navaraf Exp $
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 TARGET_CLEAN
= objs
/libfreetype.a
32 include $(PATH_TO_TOP
)/rules.mak
34 include $(TOOLS_PATH
)/helper.mk
38 all: $(MK_FULLNAME
) $(MK_NOSTRIPNAME
)
40 objs
/*.o objs
/libfreetype.a
:
42 @
$(MAKE
) -f Makefile.freetype CFLAGS
="-c -g -Wall -fno-strict-aliasing" CC
:=$(CC
)
44 @
$(MAKE
) -f Makefile.freetype CFLAGS
="-c -Wall -O3 -fno-strict-aliasing" CC
:=$(CC
)
47 # Automatic dependency tracking
48 DEP_OBJECTS
:= $(ROS_OBJECTS
)
49 include $(PATH_TO_TOP
)/tools
/depend.mk
51 freetype_def
: objs
/libfreetype.a
52 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
57 etags
$(@D
)/\
*.c
-o
$(@D
)/TAGS