80 SRCDIR = ../src
81
82 SRCS= $(XCURSES:%.o=../src/libc/xcurses/%.c) \
83 $(MKS:%.o=../src/libc/mks/%.c) \
84 $(WIDE:%.o=../src/libc/wide/%.c)
85
86 LIBS = $(DYNLIB) $(LINTLIB)
87
88 # definitions for install target
89 ROOTLIBDIR= $(ROOT)/usr/xpg4/lib
90 ROOTLIBDIR64= $(ROOT)/usr/xpg4/lib/$(MACH64)
91 ROOTLIBS= $(LIBS:%=$(ROOTLIBDIR)/%)
92
93 $(LINTLIB):= SRCS=../src/libc/llib-lcurses
94
95 LINTSRC= $(LINTLIB:%.ln=%)
96
97 LDLIBS += -lc
98
99 CPPFLAGS = -I../h -I../src/libc/xcurses $(CPPFLAGS.master)
100 CERRWARN += -_gcc=-Wno-uninitialized
101 CERRWARN += -_gcc=-Wno-unused-value
102
103 # not linted
104 SMATCH=off
105
106 #
107 # If and when somebody gets around to messaging this, CLOBBERFILE should not
108 # be cleared (so that any .po file will be clobbered.
109 #
110 CLOBBERFILES= libcurses.so libcurses.so$(VERS)
111
112 .KEEP_STATE:
113
114 all: $(LIBS)
115
116 lint: lintcheck
117
118 #
119 # Include library targets
120 #
|
80 SRCDIR = ../src
81
82 SRCS= $(XCURSES:%.o=../src/libc/xcurses/%.c) \
83 $(MKS:%.o=../src/libc/mks/%.c) \
84 $(WIDE:%.o=../src/libc/wide/%.c)
85
86 LIBS = $(DYNLIB) $(LINTLIB)
87
88 # definitions for install target
89 ROOTLIBDIR= $(ROOT)/usr/xpg4/lib
90 ROOTLIBDIR64= $(ROOT)/usr/xpg4/lib/$(MACH64)
91 ROOTLIBS= $(LIBS:%=$(ROOTLIBDIR)/%)
92
93 $(LINTLIB):= SRCS=../src/libc/llib-lcurses
94
95 LINTSRC= $(LINTLIB:%.ln=%)
96
97 LDLIBS += -lc
98
99 CPPFLAGS = -I../h -I../src/libc/xcurses $(CPPFLAGS.master)
100 CERRWARN += $(CNOWARN_UNINIT)
101 CERRWARN += -_gcc=-Wno-unused-value
102
103 # not linted
104 SMATCH=off
105
106 #
107 # If and when somebody gets around to messaging this, CLOBBERFILE should not
108 # be cleared (so that any .po file will be clobbered.
109 #
110 CLOBBERFILES= libcurses.so libcurses.so$(VERS)
111
112 .KEEP_STATE:
113
114 all: $(LIBS)
115
116 lint: lintcheck
117
118 #
119 # Include library targets
120 #
|