~ubuntu-branches/ubuntu/wily/389-ds-console/wily-proposed

« back to all changes in this revision

Viewing changes to src/com/netscape/admin/dirserv/logging/Makefile

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-03-15 19:58:37 UTC
  • Revision ID: package-import@ubuntu.com-20120315195837-296zyft51thld8q7
Tags: upstream-1.2.6
ImportĀ upstreamĀ versionĀ 1.2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# BEGIN COPYRIGHT BLOCK
 
3
# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
 
4
# Copyright (C) 2005 Red Hat, Inc.
 
5
# All rights reserved.
 
6
 
7
# This program is free software; you can redistribute it and/or modify
 
8
# it under the terms of the GNU General Public License as published by
 
9
# the Free Software Foundation version 2 of the License.
 
10
 
11
# This program is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
# GNU General Public License for more details.
 
15
 
16
# You should have received a copy of the GNU General Public License
 
17
# along with this program; if not, write to the Free Software
 
18
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
19
# END COPYRIGHT BLOCK
 
20
#
 
21
#   Name: 
 
22
#   Platform: gmake
 
23
# --------------------------------------------------------------------------
 
24
override BUILD_MODULE=HTTP_ADMIN
 
25
 
 
26
NOSTDCLEAN=true
 
27
NO_BUILD_NUM=true
 
28
 
 
29
BUILD_ROOT=../../../../../../../../..
 
30
 
 
31
include $(BUILD_ROOT)/nsconfig.mk
 
32
include $(BUILD_ROOT)/ldap/javarules.mk
 
33
 
 
34
PACK_DIR=dirserv/logging
 
35
DEST_DIR=$(DSADMIN_DIR)/$(PACK_DIR)
 
36
 
 
37
#
 
38
# programs list
 
39
#
 
40
source = \
 
41
                $(DEST_DIR)/DSLogViewerModel.class \
 
42
                $(DEST_DIR)/LogDataClient.class \
 
43
                $(DEST_DIR)/AccessLogViewerModel.class \
 
44
                $(DEST_DIR)/AuditLogViewerModel.class \
 
45
                $(DEST_DIR)/ErrorLogViewerModel.class 
 
46
 
 
47
package = com/netscape/admin/$(PACK_DIR)
 
48
 
 
49
all: $(DEST_DIR) $(source)
 
50
 
 
51
run: all
 
52
        java KFrame
 
53
 
 
54
clean:
 
55
        rm -f  $(DEST_DIR)/*.class;
 
56
 
 
57
fresh: $(clean) $(all)
 
58
 
 
59
javadoc:
 
60
        $(JAVADOC) -d $(DSADMIN_DOC_DIR) *.java $(package)
 
61
 
 
62
cleandoc:
 
63
        rm $(DSADMIN_DOC_DIR)/*.html
 
64
 
 
65
$(DEST_DIR)/%.class : %.java
 
66
        $(JAVAC) -deprecation -classpath "$(CLASSPATH)$(PATH_SEP)$(CLASS_DIR)" -d $(CLASS_DIR) $<
 
67
 
 
68
$(DEST_DIR):    
 
69
        mkdir -p $(DEST_DIR)
 
70