97
98 SRCDIR = ../src
99
100 SRCS= $(XCURSES:%.o=../src/libc/xcurses/%.c) \
101 $(GEN:%.o=../src/libc/gen/%.c) \
102 $(I18N:%.o=../src/libc/i18n/%.c) \
103 $(MKS:%.o=../src/libc/mks/%.c) \
104 $(STDIO:%.o=../src/libc/stdio/%.c) \
105 $(WIDE:%.o=../src/libc/wide/%.c)
106
107 LIBS = $(DYNLIB)
108
109 # definitions for install target
110 ROOTLIBDIR= $(ROOT)/usr/xpg4/lib
111 ROOTLIBDIR64= $(ROOT)/usr/xpg4/lib/$(MACH64)
112 ROOTLIBS= $(LIBS:%=$(ROOTLIBDIR)/%)
113
114 $(LINTLIB):= SRCS=../src/libc/llib-lcurses
115 $(LINTLIB):= CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED
116
117 CERRWARN += -_gcc=-Wno-uninitialized
118 CERRWARN += -_gcc=-Wno-unused-variable
119 CERRWARN += -_gcc=-Wno-unused-label
120 CERRWARN += -_gcc=-Wno-unused-function
121
122 # not linted
123 SMATCH=off
124
125 LINTSRC= $(LINTLIB:%.ln=%)
126
127 LDLIBS += -lc
128
129 CPPFLAGS = -I../h -I../h/solaris2 -I../src/libc/xcurses $(CPPFLAGS.master)
130
131 #
132 # If and when somebody gets around to messaging this, CLOBBERFILE should not
133 # be cleared (so that any .po file will be clobbered.
134 #
135 CLOBBERFILES= libcurses.so libcurses.so$(VERS)
136
137 .KEEP_STATE:
|
97
98 SRCDIR = ../src
99
100 SRCS= $(XCURSES:%.o=../src/libc/xcurses/%.c) \
101 $(GEN:%.o=../src/libc/gen/%.c) \
102 $(I18N:%.o=../src/libc/i18n/%.c) \
103 $(MKS:%.o=../src/libc/mks/%.c) \
104 $(STDIO:%.o=../src/libc/stdio/%.c) \
105 $(WIDE:%.o=../src/libc/wide/%.c)
106
107 LIBS = $(DYNLIB)
108
109 # definitions for install target
110 ROOTLIBDIR= $(ROOT)/usr/xpg4/lib
111 ROOTLIBDIR64= $(ROOT)/usr/xpg4/lib/$(MACH64)
112 ROOTLIBS= $(LIBS:%=$(ROOTLIBDIR)/%)
113
114 $(LINTLIB):= SRCS=../src/libc/llib-lcurses
115 $(LINTLIB):= CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED
116
117 CERRWARN += $(CNOWARN_UNINIT)
118 CERRWARN += -_gcc=-Wno-unused-variable
119 CERRWARN += -_gcc=-Wno-unused-label
120 CERRWARN += -_gcc=-Wno-unused-function
121
122 # not linted
123 SMATCH=off
124
125 LINTSRC= $(LINTLIB:%.ln=%)
126
127 LDLIBS += -lc
128
129 CPPFLAGS = -I../h -I../h/solaris2 -I../src/libc/xcurses $(CPPFLAGS.master)
130
131 #
132 # If and when somebody gets around to messaging this, CLOBBERFILE should not
133 # be cleared (so that any .po file will be clobbered.
134 #
135 CLOBBERFILES= libcurses.so libcurses.so$(VERS)
136
137 .KEEP_STATE:
|