77 ssh-rsa.o \
78 tildexpand.o \
79 ttymodes.o \
80 uidswap.o \
81 uuencode.o \
82 xlist.o \
83 xmalloc.o
84
85 include $(SRC)/lib/Makefile.lib
86
87 BUILD.AR = $(RM) $@ ; $(AR) $(ARFLAGS) $@ $(AROBJS)
88
89 SRCDIR = ../common
90 SRCS = $(OBJECTS:%.o=../common/%.c)
91
92 LIBS = $(LIBRARY) $(LINTLIB)
93
94 # Define LDLIBS conditionally for lintcheck, rather than in general, since
95 # we're building an archive library which itself links to nothing, we just
96 # want lint to know about these libraries.
97 lintcheck := LDLIBS += -lcrypto -lz -lsocket -lnsl -lc
98 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
99
100 POFILE_DIR = ../..
101
102 .KEEP_STATE:
103
104 all: $(LIBS)
105
106 # lint requires the (not installed) lint library
107 lint: $(LINTLIB) .WAIT lintcheck
108
109 include $(SRC)/lib/Makefile.targ
110
111 objs/%.o: $(SRCDIR)/%.c
112 $(COMPILE.c) -o $@ $<
113 $(POST_PROCESS_O)
114
115 include ../../Makefile.ssh-common
116 include ../../Makefile.msg.targ
|
77 ssh-rsa.o \
78 tildexpand.o \
79 ttymodes.o \
80 uidswap.o \
81 uuencode.o \
82 xlist.o \
83 xmalloc.o
84
85 include $(SRC)/lib/Makefile.lib
86
87 BUILD.AR = $(RM) $@ ; $(AR) $(ARFLAGS) $@ $(AROBJS)
88
89 SRCDIR = ../common
90 SRCS = $(OBJECTS:%.o=../common/%.c)
91
92 LIBS = $(LIBRARY) $(LINTLIB)
93
94 # Define LDLIBS conditionally for lintcheck, rather than in general, since
95 # we're building an archive library which itself links to nothing, we just
96 # want lint to know about these libraries.
97 lintcheck := LDLIBS += -lz -lsocket -lnsl -lc
98 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
99
100 POFILE_DIR = ../..
101
102 .KEEP_STATE:
103
104 all: $(LIBS)
105
106 # lint requires the (not installed) lint library
107 lint: $(LINTLIB) .WAIT lintcheck
108
109 include $(SRC)/lib/Makefile.targ
110
111 objs/%.o: $(SRCDIR)/%.c
112 $(COMPILE.c) -o $@ $<
113 $(POST_PROCESS_O)
114
115 include ../../Makefile.ssh-common
116 include ../../Makefile.msg.targ
|