diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-02-06 22:01:30 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-02-06 22:01:30 +0000 |
commit | fb7331e34c33284b4be9d41a890b8e057a53e812 (patch) | |
tree | a5b56ddd7657084829c9325c8c5bafc43bdf099c /winsup/cygserver/Makefile.in | |
parent | 4b65f190450f70bd5819bb5c18e3370d75ffebde (diff) | |
download | cygnal-fb7331e34c33284b4be9d41a890b8e057a53e812.tar.gz cygnal-fb7331e34c33284b4be9d41a890b8e057a53e812.tar.bz2 cygnal-fb7331e34c33284b4be9d41a890b8e057a53e812.zip |
Remove dependency from Cygwin internal code.
* Makefile.in (CYGWIN_OBJS): Remove smallprint.o.
(cygserver.exe): Remove strfuncs.o
(strfuncs.o): Drop rule.
* bsd_log.cc (_vlog): Use snprintf/vsnprintf instead of
__small_sprintf/__small_vsprintf.
* sysv_sem.cc (seminit): Use sys_malloc instead of malloc. Use
snprintf instead of __small_sprintf.
(semunload): Free the above allocated sema_mtx names here.
Diffstat (limited to 'winsup/cygserver/Makefile.in')
-rw-r--r-- | winsup/cygserver/Makefile.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/winsup/cygserver/Makefile.in b/winsup/cygserver/Makefile.in index cea7bcd52..a57e7b6b6 100644 --- a/winsup/cygserver/Makefile.in +++ b/winsup/cygserver/Makefile.in @@ -43,7 +43,7 @@ OBJS:= cygserver.o client.o process.o msg.o sem.o shm.o threaded_queue.o \ sysv_msg.o sysv_sem.o sysv_shm.o LIBOBJS:=${patsubst %.o,lib%.o,$(OBJS)} -CYGWIN_OBJS:=$(cygwin_build)/smallprint.o $(cygwin_build)/version.o +CYGWIN_OBJS:=$(cygwin_build)/version.o CYGWIN_LIB:=$(cygwin_build)/libcygwin.a @@ -67,7 +67,7 @@ libclean: fullclean: clean libclean -cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS) strfuncs.o +cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS) $(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build) -lntdll $(cygwin_build)/%.o: $(cygwin_source)/%.cc @@ -81,9 +81,6 @@ Makefile: Makefile.in configure lib%.o: %.cc ${filter-out -D__OUTSIDE_CYGWIN__, $(COMPILE_CXX)} -I$(updir)/cygwin -o $(@D)/${basename $(@F)}$o $< -strfuncs.o: $(cygwin_source)/strfuncs.cc - $(COMPILE_CXX) -I$(updir)/cygwin -o $(@D)/$(*F)$o $< - libcygserver.a: $(LIBOBJS) $(AR) crus $@ $? |