Print this page
10051 cw(1) shouldn't have to translate -g


1305 #       $(CC) $(CPPFLAGS) -O -S -K pic crt/_rtld.c -o crt/_rtld.s
1306 #       $(CAT) crt/_rtboot.s crt/_rtld.s > $@
1307 #       $(RM) crt/_rtld.s
1308 
1309 ASSYMDEP_OBJS=                  \
1310         _lwp_mutex_unlock.o     \
1311         _stack_grow.o           \
1312         asm_subr.o              \
1313         setjmp.o                \
1314         smt_pause.o             \
1315         tls_get_addr.o          \
1316         unwind_frame.o          \
1317         vforkx.o
1318 
1319 $(ASSYMDEP_OBJS:%=pics/%)       :=      CPPFLAGS += -I.
1320 
1321 $(ASSYMDEP_OBJS:%=pics/%): assym.h
1322 
1323 # assym.h build rules
1324 
1325 assym.h := CFLAGS64 += -g
1326 
1327 GENASSYM_C = $(LIBCDIR)/$(MACH)/genassym.c
1328 
1329 genassym: $(GENASSYM_C)
1330         $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1331                 $(CPPFLAGS.native) -o $@ $(GENASSYM_C)
1332 
1333 OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1334 
1335 assym.h: $(OFFSETS) genassym
1336         $(OFFSETS_CREATE) <$(OFFSETS) >$@
1337         ./genassym >>$@
1338 
1339 # derived C source and related explicit dependencies
1340 $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1341         cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1342 
1343 pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c


1305 #       $(CC) $(CPPFLAGS) -O -S -K pic crt/_rtld.c -o crt/_rtld.s
1306 #       $(CAT) crt/_rtboot.s crt/_rtld.s > $@
1307 #       $(RM) crt/_rtld.s
1308 
1309 ASSYMDEP_OBJS=                  \
1310         _lwp_mutex_unlock.o     \
1311         _stack_grow.o           \
1312         asm_subr.o              \
1313         setjmp.o                \
1314         smt_pause.o             \
1315         tls_get_addr.o          \
1316         unwind_frame.o          \
1317         vforkx.o
1318 
1319 $(ASSYMDEP_OBJS:%=pics/%)       :=      CPPFLAGS += -I.
1320 
1321 $(ASSYMDEP_OBJS:%=pics/%): assym.h
1322 
1323 # assym.h build rules
1324 
1325 assym.h := CFLAGS64 += $(CCGDEBUG)
1326 
1327 GENASSYM_C = $(LIBCDIR)/$(MACH)/genassym.c
1328 
1329 genassym: $(GENASSYM_C)
1330         $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1331                 $(CPPFLAGS.native) -o $@ $(GENASSYM_C)
1332 
1333 OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1334 
1335 assym.h: $(OFFSETS) genassym
1336         $(OFFSETS_CREATE) <$(OFFSETS) >$@
1337         ./genassym >>$@
1338 
1339 # derived C source and related explicit dependencies
1340 $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1341         cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1342 
1343 pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c