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
|
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 LDFLAGS.native = $(LDCHECKS) -zassert-deflib=libc.so -Bdirect
1329
1330 genassym: $(GENASSYM_C)
1331 $(NATIVECC) $(NATIVE_CFLAGS) -I$(LIBCBASE)/inc -I$(LIBCDIR)/inc \
1332 $(CPPFLAGS.native) $(LDFLAGS.native) -o $@ $(GENASSYM_C)
1333
1334 OFFSETS = $(LIBCDIR)/$(MACH)/offsets.in
1335
1336 assym.h: $(OFFSETS) genassym
1337 $(OFFSETS_CREATE) <$(OFFSETS) >$@
1338 ./genassym >>$@
1339
1340 # derived C source and related explicit dependencies
1341 $(LIBCDIR)/port/gen/new_list.c: $(LIBCDIR)/port/gen/errlist $(LIBCDIR)/port/gen/errlist.awk
1342 cd $(LIBCDIR)/port/gen; pwd; $(AWK) -f errlist.awk < errlist
1343
1344 pics/new_list.o: $(LIBCDIR)/port/gen/new_list.c
|