38
39 # SLP jar file, its ultimate destination, and packaging details
40 SLPJAR=slp.jar
41 SLPDJAR=slpd.jar
42 JARDESTDIR=$(ROOT)/usr/share/lib/slp
43 INSJARS=$(JARDESTDIR)/$(SLPJAR) $(JARDESTDIR)/$(SLPDJAR)
44
45 $(JARDESTDIR)/%: $(CLASSES)/%
46 $(INS.file)
47
48 # Manifest files
49 SLPMANI= $(CLASSES)/manifest.slp
50 SLPDMANI= $(CLASSES)/manifest.slpd
51
52 MANIFESTS= $(SLPMANI) $(SLPDMANI)
53
54 # Controlled CLASSPATH for making
55 SLPCLASSPATH=$(CLASSES):$(SLPJAVASRC)
56
57 # javac flags
58 JFLAGS= -O -d $(CLASSES) -sourcepath $(SLPCLASSPATH) -deprecation
59
60 # The default make rule for Java files
61 COMPILE.java=$(JAVAC) $(JFLAGS)
62
63 $(CLASSES)/$(PKGPATH)/%.class: $(SLPJAVASRC)/$(PKGPATH)/%.java
64 $(COMPILE.java) $<
65
66 # Where to put the message files
67 MSGDIR = $(ROOT)/usr/share/lib/locale/$(PKGPATH)
68 MSGDIRS = $(ROOT)/usr/share/lib/locale \
69 $(ROOT)/usr/share/lib/locale/com \
70 $(ROOT)/usr/share/lib/locale/com/sun \
71 $(MSGDIR)
72 CLIENT_MSGS=ClientLib_en.properties
73 SERVER_MSGS=Server_en.properties
74 MSGFILES=$(MSGDIR)/$(CLIENT_MSGS) $(MSGDIR)/$(SERVER_MSGS)
75
76 $(JARDESTDIR)/$(SLPDJAR) := FILEMODE = 600
77
78
|
38
39 # SLP jar file, its ultimate destination, and packaging details
40 SLPJAR=slp.jar
41 SLPDJAR=slpd.jar
42 JARDESTDIR=$(ROOT)/usr/share/lib/slp
43 INSJARS=$(JARDESTDIR)/$(SLPJAR) $(JARDESTDIR)/$(SLPDJAR)
44
45 $(JARDESTDIR)/%: $(CLASSES)/%
46 $(INS.file)
47
48 # Manifest files
49 SLPMANI= $(CLASSES)/manifest.slp
50 SLPDMANI= $(CLASSES)/manifest.slpd
51
52 MANIFESTS= $(SLPMANI) $(SLPDMANI)
53
54 # Controlled CLASSPATH for making
55 SLPCLASSPATH=$(CLASSES):$(SLPJAVASRC)
56
57 # javac flags
58 JFLAGS= -O -d $(CLASSES) -sourcepath $(SLPCLASSPATH)
59 JFLAGS += -source 1.6 -target 1.6 -Xlint:deprecation,-options
60
61 # The default make rule for Java files
62 COMPILE.java=$(JAVAC) $(JFLAGS)
63
64 $(CLASSES)/$(PKGPATH)/%.class: $(SLPJAVASRC)/$(PKGPATH)/%.java
65 $(COMPILE.java) $<
66
67 # Where to put the message files
68 MSGDIR = $(ROOT)/usr/share/lib/locale/$(PKGPATH)
69 MSGDIRS = $(ROOT)/usr/share/lib/locale \
70 $(ROOT)/usr/share/lib/locale/com \
71 $(ROOT)/usr/share/lib/locale/com/sun \
72 $(MSGDIR)
73 CLIENT_MSGS=ClientLib_en.properties
74 SERVER_MSGS=Server_en.properties
75 MSGFILES=$(MSGDIR)/$(CLIENT_MSGS) $(MSGDIR)/$(SERVER_MSGS)
76
77 $(JARDESTDIR)/$(SLPDJAR) := FILEMODE = 600
78
79
|