Makefile revision 0ad2061eab39cb8631cb8f2e91ce483699f50425
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4b6dc226f78862286daa69fba761eac9fd5da16aAutomatic Updater# or http://www.opensolaris.org/os/licensing.
940e4ef72b64a8a82a1038fdf08b324eec6e43a9Michael Graff# See the License for the specific language governing permissions
940e4ef72b64a8a82a1038fdf08b324eec6e43a9Michael Graff# and limitations under the License.
3761c433912beabe43abeed2c3513b6201c59f64Mark Andrews#
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff# fields enclosed by brackets "[]" replaced with your own identifying
6324997211a5e2d82528dcde98e8981190a35faeMichael Graff# information: Portions Copyright [yyyy] [name of copyright owner]
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff#
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence# CDDL HEADER END
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Use is subject to license terms.
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellingtoninclude ../Makefile.lib
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellington
bddfe77128b0f16af263ff149db40f0d885f43d0Mark AndrewsSUBDIRS = $(MACH)
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellington$(BUILD64)SUBDIRS += $(MACH64)
add4043305ca411202ed9cf1929a4179016515ceBrian Wellington
add4043305ca411202ed9cf1929a4179016515ceBrian WellingtonXGETFLAGS_ADT += -a
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsall := TARGET= all
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrenceclean := TARGET= clean
e0a30050c8516a3d54a4f8dcdd88435704a8a3edMark Andrewsclobber := TARGET= clobber
e0a30050c8516a3d54a4f8dcdd88435704a8a3edMark Andrewsdelete := TARGET= delete
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrewsinstall := TARGET= install
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrewslint := TARGET= lint
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrewspackage := TARGET= package
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews.KEEP_STATE:
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark AndrewsCOMMONDIR = common
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews#
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews# Macros for libbsm header files. These define user-level only interfaces.
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews#
9ac7076ebad044afb15e9e2687e3696868778538Mark AndrewsGENHDRS = audit_uevents.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsHDRS = libbsm.h devices.h devalloc.h adt.h adt_event.h audit_private.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsGENSRCS = $(COMMONDIR)/adt_xlate.c $(COMMONDIR)/adt_event.h
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael GraffCOMMONHDRS = $(HDRS:%=$(COMMONDIR)/%)
6d12fdf96621801e80f3f4c2a8a569fe48766a20David LawrenceROOTHDRDIR = $(ROOT)/usr/include/bsm
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsROOTCHDRS = $(HDRS:%=$(ROOTHDRDIR)/%)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsROOTHDRS = $(GENHDRS:%=$(ROOTHDRDIR)/%)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsCHECKCHDRS = $(COMMONHDRS:%.h=%.check)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsCHECKHDRS = $(GENHDRS:%.h=%.check)
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman
b589e90689c6e87bf9608424ca8d99571c18bc61Mark Andrews$(ROOTHDRS) := FILEMODE = 0644
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(ROOTCHDRS) := FILEMODE = 0644
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsall install lint package: $(GENSRCS) $(SUBDIRS)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsclean clobber delete: $(SUBDIRS)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Macros for libbsm database files. These should probably be installed
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# from somewhere else. Until we find that better place, install them
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# from here.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsROOTETCSECURITY = $(ROOT)/etc/security
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff$(ROOTETCSECURITY) := DIRMODE = 0755
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence$(ROOTETCSECURITY) := OWNER = root
4b6dc226f78862286daa69fba761eac9fd5da16aAutomatic Updater$(ROOTETCSECURITY) := GROUP = sys
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund SivaramanESFILES = audit_class audit_control audit_event audit_user
1ef8965366d91e02a4672c35a187d30aa4a4c72cMark AndrewsESSRC = $(ESFILES:%=%.txt)
ae114ded82e773a4d9058f833f964a17514712a8Brian WellingtonETCSECURITYFILES = $(ESFILES:%=$(ROOTETCSECURITY)/%)
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellington$(ETCSECURITYFILES) := FILEMODE = 0644
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellington$(ETCSECURITYFILES) := OWNER = root
94a08e09db3dc844b6ee4841c368a2d7074a9c3fAndreas Gustafsson$(ETCSECURITYFILES) := GROUP = sys
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
4b6dc226f78862286daa69fba761eac9fd5da16aAutomatic UpdaterEESFILES = audit_startup
4b6dc226f78862286daa69fba761eac9fd5da16aAutomatic UpdaterEESSRC = $(EESFILES:%=%.txt)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsEETCSECURITYFILES = $(EESFILES:%=$(ROOTETCSECURITY)/%)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(EETCSECURITYFILES) := FILEMODE = 0744
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff$(EETCSECURITYFILES) := OWNER = root
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence$(EETCSECURITYFILES) := GROUP = sys
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
cdc50af0bff41accc02c613b9c6d8cd41b171ffeBrian Wellington#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# /etc/security/audit/localhost/files is a symbolic link to /var/audit.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# This is provided so that auditreduce will work in the default configuration.
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman#
b589e90689c6e87bf9608424ca8d99571c18bc61Mark AndrewsRESA=$(ROOTETCSECURITY)/audit
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsRESAL=$(RESA)/localhost
94a08e09db3dc844b6ee4841c368a2d7074a9c3fAndreas GustafssonVARAUDIT=$(ROOT)/var/audit
52637f592f705ca93fadc218e403fd55e8ce4aeaMark AndrewsAUDITDIRS=$(RESA) $(RESAL) $(VARAUDIT)
cdc50af0bff41accc02c613b9c6d8cd41b171ffeBrian Wellington$(AUDITDIRS) := FILEMODE = 0750
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(AUDITDIRS) := OWNER = root
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(AUDITDIRS) := GROUP = sys
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsARSYMLNK=$(RESAL)/files
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
4529cdaedaf1a0a5f8ff89aeca510b7a4475446cBob Halley# message catalogue file
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsMSGFILES = `$(GREP) -l gettext $(COMMONDIR)/*.c`
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsPOFILE = libbsm.po
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# Definitions for XML (DTD AND XSL)
3d5cad69ec20157912e95cf3b79316dfb0a314f3Mark Andrews#
d981ca645597116d227a48bf37cc5edc061c854dBob HalleyDTD = adt_record.dtd.1
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund SivaramanXSL = adt_record.xsl.1
b589e90689c6e87bf9608424ca8d99571c18bc61Mark AndrewsROOTXMLDIR = $(ROOT)/usr/share/lib/xml
b589e90689c6e87bf9608424ca8d99571c18bc61Mark AndrewsROOTDTDDIR= $(ROOTXMLDIR)/dtd
f7b99290c31abeb20c55fc55391510450ce60423Mark AndrewsROOTXSLDIR= $(ROOTXMLDIR)/style
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsROOTDTD= $(DTD:%=$(ROOTDTDDIR)/%)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsROOTXSL= $(XSL:%=$(ROOTXSLDIR)/%)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsROOTXMLDIRS = $(ROOTXMLDIR) $(ROOTDTDDIR) $(ROOTXSLDIR)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark AndrewsROOTXMLFILES = $(ROOTDTD) $(ROOTXSL)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(ROOTXMLDIRS) := FILEMODE = 755
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(ROOTXMLDIRS) := OWNER = root
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(ROOTXMLDIRS) := GROUP = sys
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
7c0539bea56022274da04263eb41fbb5b8835c38Mark Andrews$(ROOTXMLFILES) := FILEMODE = 444
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(ROOTXMLFILES) := OWNER = root
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(ROOTXMLFILES) := GROUP = bin
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence
373ce67419680a398ba3dc51a14a486caaf0afb0Mark AndrewsCPPFLAGS += -I$(COMMONDIR)
373ce67419680a398ba3dc51a14a486caaf0afb0Mark AndrewsCPPFLAGS += -D_REENTRANT
82ca33427bdd4f3bc4ed3431e86bd810fe751674Andreas Gustafsson
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund SivaramanCLEANFILES += $(GENSRCS) $(GENHDRS)
373ce67419680a398ba3dc51a14a486caaf0afb0Mark Andrews
373ce67419680a398ba3dc51a14a486caaf0afb0Mark AndrewsADTXMLFILE = $(COMMONDIR)/adt.xml
373ce67419680a398ba3dc51a14a486caaf0afb0Mark AndrewsADTXSDFILE = $(COMMONDIR)/adt.xsd
f7b99290c31abeb20c55fc55391510450ce60423Mark AndrewsAUDITXML = auditxml
ae114ded82e773a4d9058f833f964a17514712a8Brian Wellington
63cef8bde8b92aeb30ccdcf21d4e44c9be9cc6e3Andreas Gustafsson.KEEP_STATE:
63cef8bde8b92aeb30ccdcf21d4e44c9be9cc6e3Andreas Gustafsson
373ce67419680a398ba3dc51a14a486caaf0afb0Mark Andrewsinstall: install_dirs install_data
373ce67419680a398ba3dc51a14a486caaf0afb0Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews# $(ROOTUSRLIB) $(ROOTLIBS) $(ROOTLINKS)
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffinstall_h: $(ROOTHDRDIR) $(ROOTHDRS) $(ROOTCHDRS)
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence
9281e7aa775026dc47c01745fdcc438645146877Mark Andrewscheck: $(CHECKHDRS) $(CHECKCHDRS)
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews xmllint --schema $(ADTXSDFILE) --noout $(ADTXMLFILE)
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
9281e7aa775026dc47c01745fdcc438645146877Mark Andrewsinstall_data: $(ESSRC) $(RESSRC) $(ROOTETCSECURITY) $(ETCSECURITYFILES) \
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman $(EETCSECURITYFILES) $(ROOTXMLFILES)
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
b589e90689c6e87bf9608424ca8d99571c18bc61Mark Andrewsinstall_dirs: $(AUDITDIRS) $(ARSYMLNK) $(ROOTXMLDIRS)
82ca33427bdd4f3bc4ed3431e86bd810fe751674Andreas Gustafsson
9281e7aa775026dc47c01745fdcc438645146877Mark Andrewsaudit_uevents.h: mkhdr.sh audit_event.txt
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews sh mkhdr.sh
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
f7b99290c31abeb20c55fc55391510450ce60423Mark Andrews$(COMMONDIR)/adt_event.check: $(COMMONDIR)/adt_event.h
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews $(DOT_C_CHECK) $<
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
9281e7aa775026dc47c01745fdcc438645146877Mark Andrewsclean clobber: clean_files
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
9281e7aa775026dc47c01745fdcc438645146877Mark Andrewsclean_files:
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews -$(RM) $(CLEANFILES)
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews$(GENSRCS): $(ADTXMLFILE) $(AUDITXML)
94a3bcd132e515b4baa0884ba9dd0f361d2e17bcMark Andrews $(PERL) $(AUDITXML) -o $(COMMONDIR) $(ADTXMLFILE)
4529cdaedaf1a0a5f8ff89aeca510b7a4475446cBob Halley
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence$(ETCSECURITYFILES) $(EETCSECURITYFILES) $(RESA): \
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews $(ETCSECURITY) \
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews $(ROOTETCSECURITY)
94a3bcd132e515b4baa0884ba9dd0f361d2e17bcMark Andrews
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman$(RESAL): $(RESA)
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews$(ARSYMLNK): $(RESAL)
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews$(ROOTHDRDIR):
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews $(INS.dir)
9281e7aa775026dc47c01745fdcc438645146877Mark Andrews
94a3bcd132e515b4baa0884ba9dd0f361d2e17bcMark Andrews$(ROOTHDRDIR)/%:%
d981ca645597116d227a48bf37cc5edc061c854dBob Halley $(INS.file)
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence$(ROOTHDRDIR)/%:$(COMMONDIR)/%
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman $(INS.file)
82ca33427bdd4f3bc4ed3431e86bd810fe751674Andreas Gustafsson
82ca33427bdd4f3bc4ed3431e86bd810fe751674Andreas Gustafsson$(ROOTXMLDIRS):
940e4ef72b64a8a82a1038fdf08b324eec6e43a9Michael Graff $(INS.dir)
940e4ef72b64a8a82a1038fdf08b324eec6e43a9Michael Graff
d981ca645597116d227a48bf37cc5edc061c854dBob Halley$(ROOTDTDDIR)/% $(ROOTXSLDIR)/%: %
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff $(INS.file)
d981ca645597116d227a48bf37cc5edc061c854dBob Halley
d981ca645597116d227a48bf37cc5edc061c854dBob Halley$(AUDITDIRS):
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff $(INS.dir)
6d12fdf96621801e80f3f4c2a8a569fe48766a20David Lawrence
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley$(ARSYMLNK):
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley $(RM) $@
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley $(SYMLINK) ../../../../var/audit $@
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley$(ETCSECURITY)/%: %.txt
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley $(INS.rename)
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley$(ROOTETCSECURITY):
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley $(INS.dir)
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley$(ROOTETCSECURITY)/%: %.txt
e27a69f8bd9538e08f775265167ba6cc5f47c587Bob Halley $(INS.rename)
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews$(POFILE): pofile_MSGFILES
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
b0ba1a6059b6d6c4b3aa77d8bc84cc443b981e01Mukund Sivaraman_msg: $(MSGDOMAINPOFILE)
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews# has strings but doesn't use gettext
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrewsadt_xlate.po: $(COMMONDIR)/adt_xlate.c
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews $(RM) adt_xlate.po
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews $(XGETTEXT) $(XGETFLAGS_ADT) $(COMMONDIR)/adt_xlate.c
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews $(SED) "/^domain/d" < messages.po > adt_xlate.po
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews $(RM) messages.po
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews$(SUBDIRS): FRC
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews @cd $@; pwd; $(MAKE) $(TARGET)
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark AndrewsFRC:
ce37f22724353fb80d6b60da530b95b8c29da35cMark Andrews
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrewsinclude ../Makefile.targ
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrewsinclude ../../Makefile.msg.targ
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews