68 # There should be a mapfile here
69 MAPFILES =
70
71 CLASSPATH= $(SRC)/cmd/print/printmgr
72
73 JAVAFILES = $(CLASSFILES:.class=.java)
74
75 ROOTDIRS = $(ROOT)/usr/sadm/admin \
76 $(ROOT)/usr/sadm/admin/printmgr \
77 $(ROOT)/usr/sadm/admin/printmgr/lib
78
79 # override ROOTLIBDIR and ROOTLINKS
80 ROOTLIBDIR = $(ROOT)/usr/sadm/admin/printmgr/lib
81 ROOTLIBS= $(LIBS:%=$(ROOTLIBDIR)/%)
82
83
84 # Following variables define where to find header files
85 CPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris -I.
86
87 CERRWARN += -_gcc=-Wno-unused-variable
88 CERRWARN += -_gcc=-Wno-uninitialized
89
90 # not linted
91 SMATCH=off
92
93 LDLIBS += -lprint -lnsl -lsocket -lc
94
95 CLEANFILES= *.class $(LINTLIB) $(LINTOUT)
96 CLOBBERFILES= $(JNIHDR_FILES) $(LIBLINKS)
97
98 all: $(CLASSFILES) $(JNIHDR_FILES) $(DYNLIB)
99
100 install: all $(ROOTDIRS) $(ROOTLINKS)
101
102 #
103 # Build jni header file
104 # Use $@ instead of the "unreliable" $*
105 #
106 $(JNIHDR_FILES): $(JNICLASSFILES)
107 $(JAVAH) -jni -classpath $(CLASSPATH) \
108 `echo $@ | sed 's/.h$$//' | tr _ .`
|
68 # There should be a mapfile here
69 MAPFILES =
70
71 CLASSPATH= $(SRC)/cmd/print/printmgr
72
73 JAVAFILES = $(CLASSFILES:.class=.java)
74
75 ROOTDIRS = $(ROOT)/usr/sadm/admin \
76 $(ROOT)/usr/sadm/admin/printmgr \
77 $(ROOT)/usr/sadm/admin/printmgr/lib
78
79 # override ROOTLIBDIR and ROOTLINKS
80 ROOTLIBDIR = $(ROOT)/usr/sadm/admin/printmgr/lib
81 ROOTLIBS= $(LIBS:%=$(ROOTLIBDIR)/%)
82
83
84 # Following variables define where to find header files
85 CPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris -I.
86
87 CERRWARN += -_gcc=-Wno-unused-variable
88 CERRWARN += $(CNOWARN_UNINIT)
89
90 # not linted
91 SMATCH=off
92
93 LDLIBS += -lprint -lnsl -lsocket -lc
94
95 CLEANFILES= *.class $(LINTLIB) $(LINTOUT)
96 CLOBBERFILES= $(JNIHDR_FILES) $(LIBLINKS)
97
98 all: $(CLASSFILES) $(JNIHDR_FILES) $(DYNLIB)
99
100 install: all $(ROOTDIRS) $(ROOTLINKS)
101
102 #
103 # Build jni header file
104 # Use $@ instead of the "unreliable" $*
105 #
106 $(JNIHDR_FILES): $(JNICLASSFILES)
107 $(JAVAH) -jni -classpath $(CLASSPATH) \
108 `echo $@ | sed 's/.h$$//' | tr _ .`
|