Changeset 87


Ignore:
Timestamp:
Jan 20, 2007, 8:53:56 PM (15 years ago)
Author:
tabbott
Message:
Makefile.in changes to make things more portable.  Added install,
clean, distclean targets so that one can easily build and install on
non-Fedora systems, and removed unecessary targets (those that are
already default make rules).  

Location:
server/common/oursrc
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/accountadm/Makefile.in

    r36 r87  
    22CFLAGS = @CFLAGS@
    33prefix = @prefix@
     4exec_prefix = @exec_prefix@
     5sbindir = @sbindir@
     6bindir = @bindir@
     7sysconfdir = @sysconfdir@
    48
    59all-local: signup-scripts-frontend
    610
    7 signup-scripts-frontend:
    8         $(CC) $(CFLAGS) -o $@ signup-scripts-frontend.c
     11install:
     12        install -p -m755 -D modbashrc $(DESTDIR)$(sysconfdir)/modbashrc
     13        install -p -m755 -D modbash $(DESTDIR)$(bindir)/modbash
     14        install -p -m755 -D admof $(DESTDIR)$(bindir)/admof
     15        install -p -m755 -D signup-scripts-frontend $(DESTDIR)$(sbindir)/signup-scripts-frontend
     16        install -p -m755 -D signup-scripts-backend $(DESTDIR)$(sbindir)/signup-scripts-backend
    917
    1018clean:
    1119        rm -f signup-scripts-frontend
     20
     21distclean: clean
     22        rm -f configure config.* Makefile
     23        rm -rf auto*.cache
  • server/common/oursrc/execsys/Makefile.in

    r36 r87  
    11CC = @CC@
    22CFLAGS = @CFLAGS@
     3prefix = @prefix@
     4exec_prefix = @exec_prefix@
     5libexecdir = @libexecdir@
     6sysconfdir = @sysconfdir@
     7APACHEDIR = /etc/httpd
     8SYSCATPATH = /usr/local/sbin
    39
    4 all-local: staticsys-cat update
     10all-local: staticsys-cat execsys-binfmt
    511
    6 staticsys-cat: update
    7         $(CC) $(CFLAGS) -o $@ staticsys-cat.c
     12staticsys-cat.c execsys-binfmt: staticsys-cat.c.pre execsys-binfmt.pre
     13        @UPD_VARS@ syscat_path=$(SYSCATPATH) perl upd-execsys
    814
    9 update:
    10         @UPD_VARS@ perl upd-execsys
     15install: all-local
     16        install -D -p -m644 execsys.conf $(DESTDIR)$(APACHEDIR)/conf.d/execsys.conf
     17        install -D -p -m755 execsys-binfmt $(DESTDIR)$(sysconfdir)/init.d/execsys-binfmt
     18        install -D -p -m755 staticsys-cat $(DESTDIR)$(SYSCATPATH)/staticsys-cat
    1119
    1220clean:
    1321        rm -f staticsys-cat
     22
     23distclean: clean
     24        rm -f configure config.* Makefile
     25        rm -rf auto*.cache
  • server/common/oursrc/execsys/configure.in

    r1 r87  
    22
    33AC_PROG_CC
    4 
    5 AC_ARG_WITH(syscat,
    6 [  --with-syscat[=DIR]        staticsys-cat will be located in DIR],[
    7   if test "$withval" != "no" -a "$withval" != "yes"; then
    8     UPD_VARS="syscat_path=$withval/staticsys-cat $UPD_VARS"
    9   fi
    10 ])
    114
    125AC_ARG_WITH(afsagent,
  • server/common/oursrc/sqladm/Makefile.in

    r36 r87  
    22CFLAGS = @CFLAGS@
    33prefix = @prefix@
     4exec_prefix = @exec_prefix@
     5sbindir = @sbindir@
     6
    47
    58all-local: signup-sql
    69
    7 signup-sql:
    8         $(CC) $(CFLAGS) -o $@ signup-sql.c     
     10install:
     11        install -p -m755 -D signup-sql $(DESTDIR)$(sbindir)/signup-sql
    912
    1013clean:
    1114        rm -f signup-sql
     15
     16distclean: clean
     17        rm -f configure config.* Makefile
     18        rm -rf auto*.cache
  • server/common/oursrc/tokensys/Makefile.in

    r36 r87  
    1 CC = @CC@
    2 CFLAGS = @CFLAGS@
    31prefix = @prefix@
     2exec_prefix = @exec_prefix@
     3libdir = @libdir@
     4
     5all:
     6
     7install:
     8        mkdir -p $(DESTDIR)$(libdir)
     9        install -m a=rx,u+w -p renew $(DESTDIR)$(libdir)/
     10
     11clean:
     12        rm -f renew
     13
     14distclean: clean
     15        rm -f configure config.* Makefile
     16        rm -rf auto*.cache
Note: See TracChangeset for help on using the changeset viewer.