Changeset 7746 for MashMyData/trunk


Ignore:
Timestamp:
24/11/10 10:58:53 (9 years ago)
Author:
pjkersha
Message:

Added install target for Makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MashMyData/trunk/pam_credential_translation/Makefile

    r7745 r7746  
    2525LIBS =          -L. -Wl,-R. $(SHARED) -lpam -lpam_misc -lssl 
    2626 
     27# This location may vary with different Linux distros 
     28PAM_LIB_DIR =   /lib/security/ 
     29PAM_LIB_FILEMASK = 644 
     30 
    2731$(SHARED):      $(OBJS) 
    2832        $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ 
     
    3135        $(CC) $(CFLAGS) $(LIBS) $(TEST_OBJS) -o $@ 
    3236 
     37install:        $(SHARED) 
     38        cp $(SHARED) $(PAM_LIB_DIR) 
     39        chmod $(PAM_LIB_FILEMASK) $(PAM_LIB_DIR)$(SHARED)  
     40 
    3341clean: 
    3442        rm -f $(OBJS) $(SHARED) 
Note: See TracChangeset for help on using the changeset viewer.