* Makefile.in: Add -lntdll to link line.

(CYGWIN_OBJS): Include strfuncs.o.
This commit is contained in:
Christopher Faylor 2007-08-02 14:23:22 +00:00
parent 7e4f1942e4
commit de16566998
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-08-02 Christopher Faylor <me+cygwin@cgf.cx>
* Makefile.in: Add -lntdll to link line.
(CYGWIN_OBJS): Include strfuncs.o.
2007-08-02 Corinna Vinschen <corinna@vinschen.de> 2007-08-02 Corinna Vinschen <corinna@vinschen.de>
* smallprint.c: New file. * smallprint.c: New file.

View File

@ -38,12 +38,12 @@ override CXXFLAGS+=-MMD -DHAVE_DECL_GETOPT=0 -D__OUTSIDE_CYGWIN__ -DSYSCONFDIR="
.SUFFIXES: .c .cc .a .o .d .SUFFIXES: .c .cc .a .o .d
OBJS:= cygserver.o client.o process.o msg.o sem.o shm.o threaded_queue.o \ OBJS:= cygserver.o client.o process.o msg.o sem.o shm.o threaded_queue.o \
transport.o transport_pipes.o smallprint.o \ transport.o transport_pipes.o \
bsd_helper.o bsd_log.o bsd_mutex.o \ bsd_helper.o bsd_log.o bsd_mutex.o \
sysv_msg.o sysv_sem.o sysv_shm.o sysv_msg.o sysv_sem.o sysv_shm.o
LIBOBJS:=${patsubst %.o,lib%.o,$(OBJS)} LIBOBJS:=${patsubst %.o,lib%.o,$(OBJS)}
CYGWIN_OBJS:=$(cygwin_build)/version.o CYGWIN_OBJS:=$(cygwin_build)/smallprint.o $(cygwin_build)/strfuncs.o $(cygwin_build)/version.o
CYGWIN_LIB:=$(cygwin_build)/libcygwin.a CYGWIN_LIB:=$(cygwin_build)/libcygwin.a
@ -68,7 +68,7 @@ libclean:
fullclean: clean libclean fullclean: clean libclean
cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS) cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS)
$(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build) $(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build) -lntdll
$(cygwin_build)/%.o: $(cygwin_source)/%.cc $(cygwin_build)/%.o: $(cygwin_source)/%.cc
@$(MAKE) -C $(@D) $(@F) @$(MAKE) -C $(@D) $(@F)